[libhid-discuss] Installation problems with libhid-0.2.16

Charles Lepple clepple at ghz.cc
Fri May 4 11:27:29 UTC 2007


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
clepple at ghz.cc





More information about the libhid-discuss mailing list