<br>After applying the patch as you indicated, I am getting back this error (with hid_force_open):<br><br>&nbsp; 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> &lt;<a href="mailto:clepple@ghz.cc">clepple@ghz.cc</a>&gt; 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>&gt; On Tue, Sep 26, 2006 at 03:01:51PM -0700, Mark S. Townsley wrote:
<br>&gt;&gt; hid_force_open failed with return code 13<br>&gt;&gt;<br>&gt;&gt; I am new.&nbsp;&nbsp;Can someone explain what this means?<br>&gt;<br>&gt; $ perror 13<br>&gt; OS error code&nbsp;&nbsp;13:&nbsp;&nbsp;Permission denied<br>&gt;<br>&gt; I'm not sure that this is your problem, but it's worth looking into -
<br>&gt; 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&nbsp;&nbsp; (revision 300)<br>+++ src/hid_preparation.c&nbsp;&nbsp; (working copy)
<br>@@ -34,7 +34,7 @@<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USB_TIMEOUT);<br>&nbsp;&nbsp;&nbsp;&nbsp;if (len &lt; 0) {<br>-&nbsp;&nbsp;&nbsp;&nbsp;WARNING(&quot;failed to get HID descriptor for USB device %s&quot;, hidif-<br> &gt;id);<br>+&nbsp;&nbsp;&nbsp;&nbsp;WARNING(&quot;failed to get HID descriptor for USB device %s:%s&quot;,
<br>hidif-&gt;id, usb_strerror());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return HID_RET_NOT_HID_DEVICE;<br>&nbsp;&nbsp;&nbsp;&nbsp;}<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>