On Tue, 1 Jun 2004, Luca Risolia wrote:

> On Tue, 1 Jun 2004 11:20:48 -0400 (EDT)
> Alan Stern <[EMAIL PROTECTED]> wrote:
> 
> > Actually, when the device is unplugged usbcore will unlink all its URBs 
> > automatically.
> 
> Since the driver needs to run under linux > 2.4.20, do you
> know whether this is the default behaviour with previous
> versions of the kernel as well?

I don't think so.  It's best for you to unlink the URBs yourself, even 
when it's not strictly necessary.  And bear in mind, when disconnect() 
runs the device might still be plugged in, so even in 2.6 the core might 
not have unlinked the URBs for you.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to