goodix_hid_get_raw_report(9)
π NAME π
okay bestie, welcome to the goodix_hid_get_raw_report(9) page in the Kernel API Manual β this is all about goodix_hid_get_raw_report, the function that processes the hidraw GET REPORT operation. periodt π
β¨ SYNOPSIS β¨
int goodix_hid_get_raw_report (struct hid_device *hid , unsigned char
reportnum , u8 *buf , size_t len , unsigned char report_type );
π ARGUMENTS π
hidβ the hid device instance. your device, your main character energy.reportnumβ the Report ID. it's giving βwhich report, bestie?β.bufβ buffer for storing the report data. the page says βreport dateβ, and honestly? iconic typo π but this is the report data spot.lenβ the length of report data. the page says βLength fo report dataβ, spelling and all, iykyk.report_typeβ the Report type.
π¦ DESCRIPTION π¦
okay so this is the function for hid_ll_driver.get_raw_report to handle the HIDRAW ioctl get report request. the transmitted data follows the standard i2c-hid protocol with a specified header. no cap, that's the whole vibe of it π«Ά
β RETURN β
on success, you get the length of the data in the buf. on failure, you get a negative error code. that's the vibe check β¨
π₯ SEE ALSO π₯
Kernel file ./drivers/hid/hid-goodix-spi.c, plus goodix_hid_parse(9) and goodix_hid_set_raw_report(9). go read those too, bestie π§
byeee π«Ά β source path ./drivers/hid, dated October 2026, from the goodix_hid_get_raw_report(9) manual. no cap, that's the page π
π¦ 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