[libhid-discuss] unable to get input report
stdht.inbox at gmail.com
stdht.inbox at gmail.com
Wed Jan 14 09:20:47 UTC 2009
Hello
> On Jan 13, 2009, at 11:47 AM, stdht.inbox at gmail.com wrote:
> Sounds like something specific to your platform. Have you checked to
> see how long it waits before declaring a timeout?
It waits about 5 secs (timeout=5secs) seems like all is ok.
> This error does not sound good - it's like the device disconnected
> itself. Check to see if it still has the same device address in
> 'lsusb' (or /proc/bus/usb/devices)
after I press CTRL+C device is present //// in devices file..
if I rerun the prog it start again with one timeout and subsequent
errors (libhid: interrrupt read failed)...
As a notice: sometimes device really reinitializes especially after
calls to hid_get_input_report or feature report (which it doesn't
support) with bad params...
> You should be able to do the following:
> printf( "hid_interrupt_read failed with return code %d (%s)\n",
> ret, hid_strerror(ret));
I receive at first (libhid: timeout)
after: libhid: interrrupt read failed.
Besides I have:
hid_set_debug(HID_DEBUG_ALL);
hid_set_usb_debug(5);
hid_set_debug_stream(stdout);
so all of the errors I've already mailed...
Best regards, Serg.
More information about the libhid-discuss
mailing list