On Jun 24, 2007, at 1:45 PM, Lars Krueger wrote: > Hi. > > I have some problems with the return codes of hid_interrupt_read. > If libhid has a problem sending the packet to the device, it > returns the same error code as if it hit the timeout.
Which version of libhid are you using? There is a patch which made it into 0.2.16 which should distinguish between timeouts and other errors: http://boxster.ghz.cc/projects/libhid/changeset/313 > Do I make any mistake using hid_interrupt_read, or is this a bug in > libhid that the URB submission error is reported on stderr, but not > in the error code? This error message: "USB error: error submitting URB: No such device" looks like it is coming from libusb. -- Charles Lepple _______________________________________________ libhid-discuss mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

