Wednesday, March 05, 2008

Using Sprint EVDO card (S620) in Linux

Some quick/dirty notes in getting your Sprint S620 EVDO card working in Linux (I am currently using Fedora FC8):

Note Sprint S620 card vendor ID is 1410 and product is 1110. You can ascertain this by the following (as root):
[root@localhost ~]# cat /proc/bus/usb/devices
T: Bus=02 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=1110 Rev= 0.00
S: Manufacturer=Novatel Wireless Inc.
S: Product=Novatel Wireless Merlin CDMA
C:* #Ifs= 2 Cfg#= 1 Atr=a0 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= 64 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=usbserial_generic
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms



As root:

Check to see if module loaded:
[root@localhost ~]# modprobe uhci-hcd
[root@localhost ~]# modprobe ohci-hcd
[root@localhost ~]# modprobe usbserial vendor=0x1410 product=0x1110

Unload Module (Some reason, it wouldn't work, until I removed it, first):
[root@localhost ~]# modprobe -r usbserial
[root@localhost ~]# modprobe -r ehci-hcd
[root@localhost ~]# modprobe -r ohci-hcd

Re-load OHCI and probe for card again:
[root@localhost ~]# modprobe ohci-hcd
[root@localhost ~]# modprobe usbserial vendor=0x1410 product=0x1110

mknod the device you are going to dial through:
[root@localhost ~]# mknod /dev/ttyUSB0 c 188 0

Now set up your favorite PPP dialer (I use kppp, myself) and have phun.

No comments: