Alan Stern wrote:
>
> However, it's important that the URB be completely finished before the
> routine returns. Remember that the completion handler _will_ be called
> eventually, no matter what. And urb->status isn't valid until the URB has
> completed.
>
It seems that a call to usb_unlink_urb() doesn't always mean that the URB
has completed. Is it due to the HCD that can't always complete the URB when
calling its urb_dequeue() method ?
> So if the initial wait_for_completion_timeout() times out, you need to do
> a second wait_for_completion().
>
Or maybe we can call usb_kill_urb() instead of usb_unlink_urb() ?
thanks
Franck
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel