> Alan Cox wrote:
>
> > open via usbdevfs
> > failed ?
> > open /dev/usbraw
> > ioctl(pick the end point)
> > open /dev/usbraw
> > ioctl(pick the 2nd end point)
> > go..
>
> Race with device unplug?
No more than usbdevfs has
[Argument
Treat the ioctl() as the open functionality in usbdevfs.
Treat the open as internal housekeeping
If the device vanishes between open and ioctl it is equivalent to it vanishing
after decicing to open but before the open with usbdevfs
If the device vanishes after the ioctl it is equivalent to the post-open
case with usbdevfs
(Assumption: We only allow the ioctl once per fd opened)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Johannes Erdfelt
- RE: [linux-usb] USB 2.3.99 jobs (updated)t Dunlap, Randy
- RE: [linux-usb] USB 2.3.99 jobs (updated)t Dunlap, Randy
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Thomas Sailer
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Keith Clayton
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Alan Cox
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Keith Clayton
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Thomas Sailer
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Johannes Erdfelt
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Alan Cox
- Re: [linux-usb] USB 2.3.99 jobs (updated... Thomas Sailer
- Re: [linux-usb] USB 2.3.99 jobs (updated)t David Brownell
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Greg KH
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Keith Clayton
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Miles Lane
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Joseph Fannin
- Re: [linux-usb] USB 2.3.99 jobs (updated)t Miles Lane
