[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


Reference:
http://forum.microchip.com/tm.aspx?m=364987

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

Regards,
Xiaofan



More information about the libhid-discuss mailing list