<br>After applying the patch as you indicated, I am getting back this error (with hid_force_open):<br><br> WARNING: hid_prepare_hid_descriptor(): failed to get HID descriptor for USB device 002/002[0]: error sending control message: Connection timed out.
<br><br><br>Do you have a suggestion to work around this?<br><br><br><div><span class="gmail_quote">On 9/27/06, <b class="gmail_sendername">Charles Lepple</b> <<a href="mailto:clepple@ghz.cc">clepple@ghz.cc</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Sep 26, 2006, at 8:01 PM, Peter Stuge wrote:<br><br>> On Tue, Sep 26, 2006 at 03:01:51PM -0700, Mark S. Townsley wrote:
<br>>> hid_force_open failed with return code 13<br>>><br>>> I am new. Can someone explain what this means?<br>><br>> $ perror 13<br>> OS error code 13: Permission denied<br>><br>> I'm not sure that this is your problem, but it's worth looking into -
<br>> how are your permissions set up?<br><br>Actually, this is coincidence - HID_RET_NOT_HID_DEVICE is also return<br>code 13 (I know, it's hidden in an 'enum'... I thought we had an<br>equivalent to usb_strerror(), but I guess not.)
<br><br>Mark, can you try applying the following patch, and see if the error<br>message gets any better?<br><br>You can also try bumping up USB_TIMEOUT in include/constants.h, but I<br>believe it is set to 10 seconds now (which should be plenty of time,
<br>even for a low-speed device).<br><br>Index: src/hid_preparation.c<br>===================================================================<br>--- src/hid_preparation.c (revision 300)<br>+++ src/hid_preparation.c (working copy)
<br>@@ -34,7 +34,7 @@<br> USB_TIMEOUT);<br> if (len < 0) {<br>- WARNING("failed to get HID descriptor for USB device %s", hidif-<br> >id);<br>+ WARNING("failed to get HID descriptor for USB device %s:%s",
<br>hidif->id, usb_strerror());<br> return HID_RET_NOT_HID_DEVICE;<br> }<br><br><br>--<br>Charles Lepple<br><a href="mailto:clepple@ghz.cc">clepple@ghz.cc</a><br><br><br><br>_______________________________________________
<br>libhid-discuss mailing list<br><a href="mailto:libhid-discuss@lists.alioth.debian.org">libhid-discuss@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss">http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
</a><br></blockquote></div><br>