Interesting problem. As the usb-storage maintainer, here's my take.
On Fri, Oct 19, 2001 at 01:36:58PM -0700, Matt Eccleston wrote:
> a) usb subsystem for allowing usb-storage to claim an already claimed interface
usb-storage's probe has been called... this _used_ to mean (in the
pre-usbdevfs days) that nobody is racing with us.
> b) usb subsystem for allowing usbdevfs to claim an interface while probing is
> going on
Definately this. Realize that you're racing with usb-storage, but
nothing prevents you with racing from other drivers -- usbdevfs shouldn't
be allowed to claim anything while an active probing cycle is running. The
usb core guarantees the the various probe routines will be run
one-at-a-time to guarantee that drivers don't race with each other, but
usbdevfs is a special case, it seems.
> c) usb-storage for not claiming interface once its committed to driving the
> device
I don't think this is the problem... we aren't going to claim it until we
know we can drive it, and that's pretty late.
> d) usbdevfs for not detecting that it no longer has the interface
I don't think it should have been able to claim it, but if it did, it
should get a disconnect signal.
> e) vmware for not following the correct procedure for claiming a device (if so
> what is the correct procedure)
Doesn't look like this is the problem...
> f) no problem at all. this is as designed
It's probably a design flaw.
Matt
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
Ye gods! I have feet??!
-- Dust Puppy
User Friendly, 12/4/1997
PGP signature