uclogic_par...init_battery(9)
π NAME: uclogic_par...init_battery(9) π
okay so this is from the Kernel API Manual, and the actual function name is uclogic_params_ugee_v2_init_battery β it initializes UGEE v2 battery reporting. that's the whole main-character job, no cap. π«Άβ¨
β¨ SYNOPSIS β¨
int uclogic_params_ugee_v2_init_battery (struct hid_device *hdev ,
struct uclogic_params *p );
π ARGUMENTS π
hdevβ the HID device of the tablet interface. bestie, it cannot be NULL β like, do not even try it πpβ parameters to fill in. also cannot be NULL. literally cannot. π
β RETURN β
Returns zero if successful. on error, you get a negative errno code β not the slayest outcome, but that's the contract. π
π SEE ALSO π
Kernel file: ./drivers/hid/hid-uclogic-params.c
and here's the whole bestie squad you can peek at:
uclogic_params_pen_inrange_to_str(9)uclogic_params_pen_hid_dbg(9)uclogic_params_frame_hid_dbg(9)uclogic_params_hid_dbg(9)uclogic_params_get_str_desc(9)uclogic_params_pen_cleanup(9)uclogic_params_pen_init_v1(9)uclogic_params_get_le24(9)uclogic_params_pen_init_v2(9)uclogic_params_frame_cleanup(9)uclogic_params_frame_init_with_desc(9)uclogic_params_frame_init_v1(9)uclogic_params_cleanup_event_hooks(9)uclogic_params_cleanup(9)uclogic_params_get_desc(9)uclogic_params_init_invalid(9)uclogic_params_init_with_opt_desc(9)uclogic_params_huion_init(9)uclogic_probe_interface(9)uclogic_params_parse_ugee_v2_desc(9)uclogic_params_ugee_v2_init_frame_buttons(9)uclogic_params_ugee_v2_init_frame_dial(9)uclogic_params_ugee_v2_init_frame_mouse(9)uclogic_params_ugee_v2_has_battery(9)uclogic_params_ugee_v2_reconnect_work(9)uclogic_params_ugee_v2_init_event_hooks(9)uclogic_params_ugee_v2_init(9)uclogic_params_init(9)
that's the page, bestie π
source/version: ./drivers/hid Β· date: October 2026 Β· page: uclogic_par...init_battery(9) Β· mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms