goodix_hid_get_raw_report(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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