[libhid-discuss] error sending control message

Xiaofan Chen xiaofanc at gmail.com
Wed Feb 4 03:46:03 UTC 2009


On Wed, Feb 4, 2009 at 9:44 AM, Charles Lepple <clepple at ghz.cc> wrote:
> On Feb 3, 2009, at 3:25 PM, Brent Bushnell wrote:
>
>> For what it's worth, we're having the same issue with a magnetic
>> stripe reader from ID Innovations.    Of special interest also, is
>> that the report descriptors are unavailable.
>
> Apologies if you've been down this road already, but lsusb won't be
> able to see the report descriptors unless you have detached the
> kernel's usbhid driver from the interface(s). This is done
> automatically in usb_force_open(), and only stays in effect until you
> unplug the device. There is also a libhid-detach-device program in
> libhid*/src/ that will do just that.
>

I believe libhid-detach-device only detaches the first interface.

Here is a better method by Alan Stern.
http://www.nabble.com/How-to-dump-HID-report-descriptor-under-Linux-td19609562.html

Regards,
Xiaofan



More information about the libhid-discuss mailing list