[libhid-discuss] How to use libhid-detach-device to detach kernel hid driver for a composite device

Xiaofan Chen xiaofanc at gmail.com
Fri Oct 24 15:41:32 UTC 2008


I have a keyboard which posts as a USB composite device. To dump
the hid report descriptor under Linux, I need to detach the kernel hid driver
in order to use "lsusb -vvv" to dump the HID report descriptor. Somehow
libhid-detach-device can only detach the first interface (interface 0).

Is it possible to patch it to be able to detach other interfaces?
I am not a real programmer though...


More information about the libhid-discuss mailing list