Mark Atwood (fallenpegasus) wrote,
Mark Atwood
fallenpegasus

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.

Foo.
Tags: geek
Subscribe
  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments