Hi,

I am using two mobile data cards, a Sierra Aircard 580 (CDMA 1x EV-DO)
and a Vodafone Mobile Connect (Option Wireless 3G/GPRS datacard).

Both cards seem to operate the same way, installing as a USB hub with
some attached serial devices, and this seems to be quite common for this
class of devices.

Although Linux recognises the USB hub OK, it doesn't appear to recognise
the serial devices without some handholding - I have to type in some
magic "modprobe usbserial" commands.

Should the kernel automatically notice these, or will I always need to
tell linux what the vendor ID and product ID are?

Sierra Aircard 580:
# modprobe usbserial vendor=0x1199 product=0x0112

Vodafone Mobile Connect 3G/GPRS datacard:
# modprobe usbserial vendor=0x0af0 product=0x5000

Also, once I load usbserial in that way, udev (048) doesn't seem to
create the device nodes correctly:

Sierra Aircard 580:
Dec 11 17:46:14 lamb kernel: drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Generic
Dec 11 17:46:14 lamb kernel: usbserial_generic 5-1:1.0: Generic converter 
detected
Dec 11 17:46:14 lamb kernel: usb 5-1: Generic converter now attached to ttyUSB0
Dec 11 17:46:15 lamb kernel: usbserial_generic 5-1:1.1: Generic converter 
detected
Dec 11 17:46:15 lamb kernel: usb 5-1: Generic converter now attached to ttyUSB1
Dec 11 17:46:15 lamb kernel: usbcore: registered new driver usbserial_generic
Dec 11 17:46:15 lamb kernel: usbcore: registered new driver usbserial
Dec 11 17:46:15 lamb kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver 
core v2.0
Dec 11 17:46:15 lamb udev[30794]: creating device node '/dev/<NULL>1'
Dec 11 17:46:15 lamb udev[30792]: creating device node '/dev/<NULL>0'


Vodafone Mobile Connect 3G/GPRS datacard:
Dec 20 08:23:42 lamb kernel: drivers/usb/serial/usb-serial.c: USB Serial 
support registered for Generic
Dec 20 08:23:42 lamb kernel: usbserial_generic 5-1:1.0: Generic converter 
detected
Dec 20 08:23:42 lamb kernel: usb 5-1: Generic converter now attached to ttyUSB0
Dec 20 08:23:42 lamb kernel: usbserial_generic 5-1:1.1: Generic converter 
detected
Dec 20 08:23:42 lamb kernel: usb 5-1: Generic converter now attached to ttyUSB1
Dec 20 08:23:42 lamb kernel: usbserial_generic 5-1:1.2: Generic converter 
detected
Dec 20 08:23:42 lamb kernel: usb 5-1: Generic converter now attached to ttyUSB2
Dec 20 08:23:42 lamb kernel: usbcore: registered new driver usbserial_generic
Dec 20 08:23:42 lamb kernel: usbcore: registered new driver usbserial
Dec 20 08:23:42 lamb kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver 
core v2.0
Dec 20 08:23:42 lamb udev[7381]: creating device node '/dev/<NULL>0'
Dec 20 08:23:42 lamb udev[7397]: creating device node '/dev/<NULL>1'
Dec 20 08:23:42 lamb udev[7413]: creating device node '/dev/<NULL>2'


Looking at /proc/bus/usb/devices, the cards show up as follows:

Sierra Aircard 580:
T:  Bus=05 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= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9 ohci_hcd
S:  Product=Lucent Microelectronics USS-312 USB Controller (#2)
S:  SerialNumber=0000:03:00.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=1199 ProdID=0112 Rev= 0.01
S:  Manufacturer=Sierra Wireless
S:  Product=Sierra Wireless AirCard 580
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=8a(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=0b(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbserial_generic
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms



Vodafone Mobile Connect 3G/GPRS datacard:
T:  Bus=05 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= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9 ohci_hcd
S:  Product=OPTi Inc. 82C861
S:  SerialNumber=0000:03:00.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=0af0 ProdID=5000 Rev= 0.00
S:  Manufacturer=Vodafone
S:  Product=Vodafone Mobile Connect Card - 3G
S:  SerialNumber=Serial Number
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=8a(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=0b(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


Thanks,
                                        Andrew McMillan.

-------------------------------------------------------------------------
Andrew @ Catalyst .Net .NZ  Ltd,  PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/            PHYS: Level 2, 150-154 Willis St
DDI: +64(4)803-2201      MOB: +64(272)DEBIAN      OFFICE: +64(4)499-2267
          Powering the .NZ namespace with Open Source Software
-------------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to