On Tue, 13 Jan 2004, Nemosoft Unv. wrote:

> Hmm, that raises the question: which device gets removed first on unplug? 
> the usb_device or the video_device? This has been indeed quite difficult to 
> fix in the past, as either device could disappear any time. If this solved 
> that problem, only the better.

There are no guarantees.  Right now, the interface that gets removed first
is the one that is listed first in the configuration descriptor.  But this
might change in the future so that the one with a lower bInterface value
gets removed first.

Can you arrange the driver's disconnect() routines so that if the wrong 
interface is removed first it will manually unbind the other one?

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to