[libhid-discuss] libhid::error sending control message: Protocol error !!

Peter Stuge peter at stuge.se
Fri Feb 25 20:51:59 UTC 2011


Mohamed Ait Ouaziz wrote:
> > > I try to write a user-space driver to control a usb device.
> >
> > Do you know how you will communicate with the device on top of USB?

Do you?


> > Separate from that, could you post lsusb -v output for the device?

Thanks for posting this. Indeed the device has a HID class interface,
but possibly libhid is sending some HID class request to the device,
which could legitimately fail.

Strongly recommend using HIDAPI. http://www.signal11.us/oss/hidapi/


//Peter



More information about the libhid-discuss mailing list