On Thu, 14 Feb 2008, Brian Tuchten wrote: > Thanks Alan. Actually the driver ejects the card before hotplug even sees > it, so it is > much faster than waiting 10-15 seconds for hotplug to finish searching for > the > product/vendor ID in it's list, and then run a script to eject the device > (remember it's a > slow system).
I doubt the hotplug process is that slow, even on a 100-MHz 486-class machine. Have you tried setting the delay_use=0 parameter for usb-storage? > The driver patch ejects it immediately which then allows the modem to be > presented to the OS, and to hotplug as well. We do need to wait for hotplug > to see the > modem device, so we needed to get the non-wanted device out of the way as > fast as > possible, which is what the driver hack helps achieve. > > In our embedded platform when and/or if a CDMA type modem stops responding, > or possibly > for some reason no longer sees a tower, it is faster to logically > eject/insert the card How do you logically eject/insert a card? Alan Stern - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html