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

Mohamed Ait Ouaziz wa3ziz at gmail.com
Fri Feb 25 21:04:23 UTC 2011


2011/2/25 Peter Stuge <peter at stuge.se>

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

Actually i don't. My understanding is that  i after opening the device i
will send and receive reports!!


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

I will look at this and come back to you.


>
> //Peter
>
> _______________________________________________
> libhid-discuss mailing list
> libhid-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
> http://libhid.alioth.debian.org/
>

Thank you for your time.

Mohamed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20110225/92d04a8a/attachment.htm>


More information about the libhid-discuss mailing list