i2c_hid_set_or_send_report(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i2c_hid_set_or_send_report(9) πŸ’–

hii bestie, welcome to the Kernel API Manual page for i2c_hid_set_or_send_report(9) β€” manual name folded in right here, cute and cozy ✨. This one is lowkey all about forwarding an incoming report to the device, and the arg list is the main character, so let’s get into it 🫢.

✨ NAME ✨

i2c_hid_set_or_send_report β€” forward an incoming report to the device πŸ’Œ

πŸŽ€ SYNOPSIS πŸŽ€

int i2c_hid_set_or_send_report (struct i2c_hid *ihid , u8 report_type ,
       u8 report_id , const u8 *buf , size_t data_len , bool do_set );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ihid β€” the i2c hid device πŸ‘‘
  • report_type β€” 0x03 for HID_FEATURE_REPORT; 0x02 for HID_OUTPUT_REPORT ⭐
  • report_id β€” the report ID πŸŽ€
  • buf β€” the actual data to transfer, without the report ID πŸ’…
  • data_len β€” size of buf πŸ“
  • do_set β€” true: use SET_REPORT HID command, false: send plain OUTPUT report πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/hid/i2c-hid/i2c-hid-core.c πŸ‘€

bye bestie 🫢 this page’s source/version is ./drivers/hid/i2c-hid, it’s dated October 2026, and it’s the i2c_hid_set_or_send_report(9) page β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from