On Wed, May 03, 2000 at 01:17:27AM +0000, tom wrote:
<...>
> - In order to stop a transfer from within the completion handler, I
> *need* to set USB_ASYNC_UNLINK in the transfer flags.
> - While I'm in the completion hander, I'll call usb_unlink_urb() to
> terminate the looping recycled interrupt.
>
> This will not stop the out-loop from looping.
>
> Looking into usb-uhci.c, I see the following around line 2282 in the
> function process_interrupt():
<...>
This is definitely a bug in usb-uhci (and a violation of the specs...),
thanks for finding it. I will a post a patch for that later. As a quick
workaround you try to set urb->status to -EINPROGRESS before unlinking the
urb and look if that works.
--
Georg Acher, [EMAIL PROTECTED]
http://www.in.tum.de/~acher/
"Oh no, not again !" The bowl of petunias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]