By the way, re the $SUBJECT patch ... is there a bugfix in there,
or is this just trying to be some kind of cleanup?


On Wednesday 28 June 2006 12:47 am, Franck Bui-Huu wrote:

> It seems that a call to usb_unlink_urb() doesn't always mean that the URB
> has completed. 

That's how it's specified, yes.  It's an asynchronous completion,
just like usb_submit_urb().  Both can be called from IRQ handlers,
and unlinking will at most accelerate the urb completion callback.

If you want a synchronous unlink, usb_kill_urb() is the solution.


> Is it due to the HCD that can't always complete the URB when 
> calling its urb_dequeue() method ?

More like the controller needs time to finish its processing.  It
may be part way through some DMA transfers for that URB, and need
to shut them down.  And then it probably takes a while to trigger
the IRQ telling the HCD to pick up the pieces.

- Dave

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
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to