uclogic_par...ugee_v2_desc(9)
π NAME π
uclogic_params_parse_ugee_v2_desc β bestie, this one parses the string descriptor that carries the pen and frame parameters, the ones UGEE v2 devices hand back to you ποΈπ
Oh and for the record, this page lives in the Kernel API Manual β that's the manual name, keep it in your notes πβ¨
β¨ SYNOPSIS β¨
int uclogic_params_parse_ugee_v2_desc (const __u8 *str_desc , size_t
str_desc_size , s32 *desc_params , size_t desc_params_size , enum
uclogic_params_frame_type *frame_type );
π«Ά ARGUMENTS π«Ά
str_descβ the string descriptor itself. It cannot beNULL, like genuinely do not do that to me πstr_desc_sizeβ how big that string descriptor is. Size of it. That's the vibe πdesc_paramsβ the output description params list, where the good stuff gets written πdesc_params_sizeβ the size of that output description params list. Gotta know how much room you're working with π§frame_typeβ the output frame type. It comes out of here, it's giving very "output parameter" energy π
πΈ RETURN πΈ
Zero if everything slayed β β but a negative errno code on error π (so like, check it, fr fr).
π¦ SEE ALSO π¦
The kernel file that started it all: ./drivers/hid/hid-uclogic-params.c β¨
And the whole friend group π―ββοΈ:
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_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_init_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 whole page, bestie, no notes π This little number comes from ./drivers/hid, dated October 2026, and it's filed under uclogic_par...ugee_v2_desc(9) β go off, kernel docs ππ
π¦ 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