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 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 the device they'd like to use? Brian Tuchten wrote: > > --- /tmp/linux-2.6.23.13/drivers/usb/storage/unusual_devs.h.orig > 2008-02-08 09:17:05.000000000 -0600 > +++ /tmp/linux-2.6.23.13/drivers/usb/storage/unusual_devs.h > 2008-02-08 09:23:19.000000000 -0600 > @@ -1491,6 +1491,15 @@ > US_SC_DEVICE, US_PR_DEVICE, NULL, > US_FL_IGNORE_RESIDUE ), > > +/* Novatel X950D GSM card w/USB storage needs to be > + ejected before the modem can be accessed. > + Reported by Brian Tuchten <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> */ > +UNUSUAL_DEV( 0x1410, 0x5010, 0x0000, 0x9999, > + "Novatel Wireless", > + "USB Storage on X950D HSUPA Modem", > + US_SC_DEVICE, US_PR_DEVICE, NULL, > + US_FL_IGNORE_DEVICE), > + > /* Reported by Francesco Foresti <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> */ > UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201, > "Super Top", > > > [root]# cat /proc/bus/usb/devices > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.17.7JBM ohci_hcd > S: Product=OHCI Host Controller > S: SerialNumber=0000:01:00.1 > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.17.7JBM ohci_hcd > S: Product=OHCI Host Controller > S: SerialNumber=0000:01:00.0 > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=1410 ProdID=1450 Rev= 0.00 > S: Manufacturer=Novatel Wireless > S: Product=Novatel Wireless HSUPA Modem > S: SerialNumber=356922010063991 > C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA > I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=airprime > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=airprime > E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > I: If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=airprime > E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming
signature.asc
Description: OpenPGP digital signature