Am Samstag, 1. M�rz 2003 18:18 schrieb Alan Cox:
> On Sat, 2003-03-01 at 10:13, Oliver Neukum wrote:
> > The other is that the driver already must have code to make sure that
> > there are no further submissions after disconnect(). The core cannot
> > enforce that.
>
> If you always did disconnect(), then did usb_cancel_* it could because
> after disconnect its sending paths can all error each submitted urb
> immediately. Its doable both ways
Not in all cases. You cannot assume that sending data to the device
is illegal in all cases. It's illegal to all sources only if the reason for
disconnect() is a physical unplugging. That's just one of several possible
reasons. In the other cases somebody else eg. usbfs may still communicate
with the device.
Usbcore lacks the necessary information to tell whom the
submission is coming from.
Regards
Oliver
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel