Re: Add Novatel X950D to unusual_devs.h

2008-02-15 Thread Brian Tuchten
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? Haven't tried that since the hack we implemented worked. Hotplup has been faster for me lately since I removed all of the unusual devs we don't su

Re: Add Novatel X950D to unusual_devs.h

2008-02-15 Thread Alan Stern
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

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Brian Tuchten
I don't know what you mean by "wait for the device to fully come up", but wouldn't you have to wait for that in any case? After all, how can your patch eject it or do anything else if isn't fully up? You don't have to wait for it to be mounted; the "eject" program is perfectly happy to eject a

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Alan Stern
On Thu, 14 Feb 2008, Brian Tuchten wrote: > > > Why don't you just write a udev rule to run the "eject" program when it > > sees the Novatel device has been plugged in? > > > > Alan Stern > > We could, but we don't use udev or eject. If we did then we would need to > wait for the device to >

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Brian Tuchten
Why don't you just write a udev rule to run the "eject" program when it sees the Novatel device has been plugged in? Alan Stern We could, but we don't use udev or eject. If we did then we would need to wait for the device to fully come up, get mounted, and then eject it, then wait for hotpl

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Alan Stern
On Thu, 14 Feb 2008, Brian Tuchten wrote: > Thanks Phil, > > >Your patch disables the USB Storage card all together in order to get access > >to the modem. We have other such hacks in the tree, but is there no way to > >simply "eject" the USB Storage device so we don't have to actually disable >

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Brian Tuchten
Thanks Phil, Your patch disables the USB Storage card all together in order to get access to the modem. We have other such hacks in the tree, but is there no way to simply "eject" the USB Storage device so we don't have to actually disable it for all users and they can choose which component of

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Phil Dibowitz
Alan Stern wrote: > On Thu, 14 Feb 2008, Phil Dibowitz wrote: > >> It occurs to me we need to change the email list in unusual_devs.h to the >> new linux-usb-devel email address. Whoops. I'll submit a patch. > > While you're at it, you should also change the mailing list address > mentioned in us

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Alan Stern
On Thu, 14 Feb 2008, Phil Dibowitz wrote: > It occurs to me we need to change the email list in unusual_devs.h to the > new linux-usb-devel email address. Whoops. I'll submit a patch. While you're at it, you should also change the mailing list address mentioned in usb.c:get_device_info(). Alan S

Re: Add Novatel X950D to unusual_devs.h

2008-02-14 Thread Phil Dibowitz
It occurs to me we need to change the email list in unusual_devs.h to the new linux-usb-devel email address. Whoops. I'll submit a patch. Anyway, the following patch was submitted to my by Brian Tuchten. Brian, Your patch disables the USB Storage card all together in order to get access to the m