public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 215945] New: No way to get user buffer in ll_driver->raw_request of hid driver sent via hidraw HIDIOCGFEATURE
@ 2022-05-05 14:15 bugzilla-daemon
  0 siblings, 0 replies; only message in thread
From: bugzilla-daemon @ 2022-05-05 14:15 UTC (permalink / raw)
  To: linux-usb

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: drivers_usb@kernel-bugs.kernel.org
          Reporter: ga2mer@yandex.ru
        Regression: No

I 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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-05 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-05 14:15 [Bug 215945] New: No way to get user buffer in ll_driver->raw_request of hid driver sent via hidraw HIDIOCGFEATURE bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox