[quoted lines by Peter Stuge on 2015/02/11 at 15:57 +0100]

>I would expect ioctl(fd, IOCTL_USBFS_REAPURBNDELAY, &urb) to either
>return -1 with errno = ENODEV, or to return 0 with urb->status = ESHUTDOWN.

I just reverified. It's definitely returning -1 with EAGAIN.

>What happens if you ioctl(fd, IOCTL_USBFS_DISCARDURB, ) instead of REAP?

If I give it the address of the urb I'm expecting, it returns 0, and then the 
non-blocking reap changes to returning -1 with ENOENT.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: d...@mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to