Pantech PX-500 EVDO Rev A Card on Linux
Thursday, May 31st, 2007Yes, you can use that Sprint EVDO Rev A Pantech PX-500 card on Ubuntu! Network credentials are stored on the card so all we need to do is make sure we have a couple of kernel modules loaded and write two simple scripts to get it all working. The PX-card has an OHCI compatible USB bridge internally off of which hangs the CDC serial port so it’s pretty easy.
First make sure you’re running a recent kernel by running uname -r and a terminal prompt.
Then, insert the card and let’s make sure you have the necessary kernel modules loaded:
michael@feisty:~$ sudo lsmod | grep cdc
cdc_acm 15904 0
usbcore 134280 7 cdc_acm,ohci_hcd,xpad,usbhid,uhci_hcd,echi_hcd
If your output matches the above, you already have the cdc_acm and ohci_hcd kernel modules loaded automatically.
1) Install the Sprint Connection software on Windows XP or Vista
2) Insert the card, choose yes to update the firmware and activate the card by calling Sprint and providing the necessary information.
3) Reboot into Linux and insert the card into a free PCMCIA slot. This tutorial will be done on Ubuntu 7.04 Feisty Fawn with kernel 2.6.20-16-generic. If you use the the 2.6.20 kernel, you won’t have to compile in any additonal modules.
4) We’ve already confirmed that we have the correct kernel modules above so now you’ll need to create two extra files using these steps:
michael@feisty:~$ sudo vi /etc/ppp/peers/Sprint_EVDO
noauth
# Connection Script
connect “/usr/sbin/chat -v -f /etc/ppp/chatscripts/sprint-evdo”
defaultroute
replacedefaultroute
usepeerdns
/dev/ttyACM0
230400
local
novjmichael@feisty:~$ sudo mkdir /etc/ppp/chatscripts
michael@feisty:~$ cd /etc/ppp/chatscripts
michael@fesity:~$ sudo vi sprint-evdo
TIMEOUT 5
ABORT ’\nBUSY\r’
ABORT ’\nERROR\r’
ABORT ’\nNO ANSWER\r’
ABORT ’\nNO CARRIER\r’
ABORT ’\nNO DIALTONE\r’
ABORT ’\nRINGING\r\n\r\nRINGING\r’
” \rAT
TIMEOUT 3
OK ATE0V1&F&D2&C1S0=0
TIMEOUT 3
OK ATS0=0
TIMEOUT 3
OK ATDT#777
TIMEOUT 20
CONNECT ”"
5) run this command to start the connection:
michael@feisty:~$ /usr/sbin/pppd call Sprint_EVDO updetach
And you’re good to go. Interestingly, I saw about 25% faster speeds consistently under Linux and XP compared to Vista. I know the card hasn’t been officially certified under Vista, but it’s not certified on Linux either and 25% is a huge difference. Test your speed over at Speedtest.net
P.S. You might get different results with another distribution (especially Suse) and kernel but if you are still having problems, drop me a line at mikebuckingham at gmail dot com and I’ll try and help.


