New: No way to get user buffer in ll_driver->raw_request of hid driver sent via hidraw HIDIOCGFEATURE
https://bugzilla.kernel.org/show_bug.cgi?id=215945
Bug ID: 215945
Summary: No way to get user buffer in ll_driver->raw_request of
hid driver sent via hidraw HIDIOCGFEATURE
Product: Drivers
Version: 2.5
Kernel Version: 5.17.5
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: USB
Assignee: [email protected]
Reporter: [email protected]
Regression: NoI am writing support in the custom hid driver for the screen built into the Thrustmaster T248 steering wheel.
Unfortunately, I can't send what I want in any way and I have to repeat the flow of their Windows Kernel Driver.
They use a dll to communicate with the screen, which sends a feature report via HidD_GetFeature, which is sent to their kernel driver and they use one report id per bunch of actions:
ef 75 .. .. ..
ef 17 .. .. ..
ef 7d .. .. ..
And unfortunately (as I understood from the source code) hidraw_get_report sends an empty buffer to my raw_request and I can't understand what this report about.
It would be nice if it was possible to take the user buffer from somewhere.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.