hid_hw_request(9)
β¨ hid_hw_request π
okay bestie, welcome to the Kernel API Manual π«Ά β yes we're literally in the kernel docs and no, it's not scary, i promise. today's main character is hid_hw_request, and she does exactly one (1) thing but she does it iconically.
πΈ NAME πΈ
hid_hw_request β sends a report request to the device, no cap π
π SYNOPSIS π
void hid_hw_request (struct hid_device *hdev , struct hid_report *report
, enum hid_class_request reqtype );
like, that's the whole signature. three args, void return, she's not giving you anything back β she just does it. periodt. π₯
π¦ ARGUMENTS π¦
hdevβ the hid device. your guy. the one you're talking to. π«Άreportβ the report you want to send. this is the actual thing going out the door. πreqtypeβ the hid request type. yes, like which kind of request. the vibe check of the whole call, honestly. β¨
ngl, all three are required β there's no "just vibes" overload here, bestie. you pass all three or you pass nothing. π
β SEE ALSO β
so there's a whole friend group and they all live in the kernel file ./drivers/hid/hid-core.c β like a little group chat of functions, and honestly? obsessed. go say hi to:
hid_parse_report(9)hid_validate_values(9)hid_open_report(9)hid_match_report(9)hid_match_usage(9)hid_input_report(9)hid_safe_input_report(9)hid_hw_start(9)hid_hw_stop(9)hid_hw_open(9)hid_hw_close(9)hid_hw_raw_request(9)hid_hw_output_report(9)new_id_store(9)hid_compare_device_paths(9)hid_allocate_device(9)hid_destroy_device(9)
iykyk π
and that's the page, bestie π§ β brought to you by ./drivers/hid, October 2026 edition, straight from the Kernel API Manual. slay, read responsibly, and don't forget to close your devices π
π
π¦ 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