ishtp_hid_request(9)
π
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 tohid_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:
ishtp_hid_parse(9)πΈishtp_wait_for_response(9)βishtp_hid_wakeup(9)πishtp_hid_probe(9)π¦ishtp_hid_remove(9)π
Go read all five. Not me assigning you homework, but likeβ¦ it's giving "you'll need them" π
Pro tip from me to you:reqtypeonly takesGETorSETreport types. Don't get creative, bestie β the manpage said[GET|SET]_REPORTand 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
- 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