On May 4, 2007, at 4:41 AM, Anmol Ranka wrote:

While trying to get read report from the device I get a error code 20. What
does this error code mean?

http://www.ghz.cc/~clepple/libhid/doc/html/ hid_8h.html#ce983c54fd45ac9913faa7d0cb730090

It's a generic error: HID_RET_FAIL_GET_REPORT

You can also use hid_strerror() to decode the error numbers in your code:

http://www.ghz.cc/~clepple/libhid/doc/html/hid__presentation_8c- source.html#l00102

Set the USB_DEBUG environment variable to see the errors from libusb.

--
Charles Lepple
[EMAIL PROTECTED]



_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

Reply via email to