ishtp_hid_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ishtp_hid_request(9) β€” straight out of the Kernel API Manual, bestie

Okay so picture this: you're deep in the kernel, the vibes are immaculate, and the HID core needs a callback. That's this function. Welcome to the group chat 🫢


✨ NAME ✨

ishtp_hid_request β€” the hid-core .request() callback. That's literally the whole personality. It's the function the HID core calls when it wants something requested, and it does not miss πŸ’…


🌸 SYNOPSIS 🌸

void ishtp_hid_request (struct hid_device *hid , struct hid_report *rep
, int reqtype );

Void return, so like… no drama, no return value, it just does the thing and leaves. Iconic behavior honestly ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • hid β€” the hid device instance. Your main character πŸ¦‹ this is the device in question, the one we're doing the request for.
  • rep β€” pointer to hid_report. A little pointer bestie pointing right at the report we care about πŸ‘‘
  • reqtype β€” type of req., and the options are [GET|SET]_REPORT. So either a GET or a SET, no in-between, we don't do ambiguity here πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

So what does it actually do? This function is used to set/get feature/input report β€” note the original spelling was "feaure" and I'm not gonna pretend that didn't happen 😭 but the facts stand: feature report or input report, and you're either getting it or setting it, depending on reqtype.

That's it. That's the function. Lowkey simple, highkey essential. Periodt πŸ”₯


🌈 SEE ALSO 🌈

Read these next, iykyk β€” and bestie I mean it, they're all literally right there in the kernel file ./drivers/hid/intel-ish-hid/ishtp-hid.c:

Go read all five. Not me assigning you homework, but like… it's giving "you'll need them" πŸ’€


Pro tip from me to you: reqtype only takes GET or SET report types. Don't get creative, bestie β€” the manpage said [GET|SET]_REPORT and that's the whole menu πŸ“

Anyways, that's the whole page! Credit where it's due: this one lives in ./drivers/hid/intel-ish-hid, dated October 2026, and it's the ishtp_hid_request(9) entry from the Kernel API Manual β€” mwah, love that for us πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from