Log in

No account? Create an account
entries friends calendar profile My Website Previous Previous Next Next
Mark Atwood
Learning about Linux, cellphones, and GPRS.
So my second-party (which is a polite way to say "cheap Chinese knock-off of the actual but overpriced Nokia product") CA-42 cable showed up in the mail while I was in California. This cable has a Nokia "Pop-Port" connector on one end, and a USB connector on the other.

The latest Fedora kernel has the ark3116 serial-USB driver for it. That driver is pretty primative: it implements no ioctls, can't do hw flowcontrol, etc. It was created by spying on the Windows driver using usbsnoopy. But it works, mostly.

There are two Linux tools that know how to talk to cellphones. Gammu and Gnokii. They both work pretty well. Gammu is the more complete tool, but it wasn't able to work over the ark3116 cable without a touch of hacking. I may contribute a patch back to the project, now that I have a lot more free time.

Also, GSM terminals can implement ETSI TS 127. Basically, you can issue Hayes-style "AT" commands over the /dev/ttyUSB0 device, and the cellphone respones like an old serial modem. Except that when you "dial" certain magic "phone numbers", it starts speaking PPP, and gateways IP over GPRS.

Pretty cool.

Except, it turns out, not all phones implement it. Such as, for example, mine. I have a Nokia 3120b. It does GPRS for itself, running it's own little web browser, and makes an IP stack available for JVM apps on it. But the greedy little thing doesn't share, it won't act as a GPRS gateway.



3 comments or Leave a comment
kespernorth From: kespernorth Date: July 21st, 2006 05:11 am (UTC) (Link)
Maybe you can create a JVM app that will expose the IP stack?
fallenpegasus From: fallenpegasus Date: July 21st, 2006 08:02 am (UTC) (Link)
Apparently the JVM sandbox can't access the external data port on these phones.
kespernorth From: kespernorth Date: July 21st, 2006 02:11 pm (UTC) (Link)
How evil.

I am so tired of companies crippling their phones. We have the technology -- it's even in the phone -- but they won't let us use it. It's ridiculous.
3 comments or Leave a comment