Sharp Zaurus, Bluetooth, GPRS and a Nokia 6310i

Posted in dev-sys, Featured on January 20, 2003

The document describes the steps that I took (minus all the wrong ones, and there were many) to get a successful GPRS data connection using my Sharp Zaurus PDA, a Nokia 6310i, a Socket Bluetooth card and an O2 (UK mobile phone operator) GPRS data account, I hope it helps you.

I'm assuming that you already have a Sharp Zaurus (Z) (or are intending to buy one) and that you are OK with using Linux on the command line.

Hardware Needed

Sharp Zaurus PDA
http://www.sharp.co.uk/pda

Socket Bluetooth card
http://socketcom.com

Nokia 6310i phone

Software

OpenZaurus 3.1RC1 is the alternative to the stock ROM that Sharp ships with the Z.
http://www.openzaurus.org

Affix - Bluetooth Protocol Stack for Linux
http://affix.sourceforge.net

From http://affix.sourceforge.net/feeds/unstable/zaurus/
blueapplet_1.2.6.1-2_arm.ipk bluetooth-connector_1.2.6.7-1_arm.ipk libgthread_1.2-10_arm.ipk libopenobex_1.0.0.pre5-2_arm.ipk

From http://www.openzaurus.org/official/unstable/feed/
affix-modules_1.2.6-1_arm.ipk affix_1.2.6-1_arm.ipk

Method

I placed all the ipks onto a CF card and installed them using aqpkg, you may need to force deps on a few of them. Reboot the Z and you should have a little (grey) Bluetooth icon on your task bar.

an lsmod gives me:

root@zaurus /root# lsmod
Module                  Size  Used by
affix_uart_cs           3952   1
affix_uart             20496   0  [affix_uart_cs]
affix                  81584   0  [affix_uart]
serial                 25952   0  [affix_uart_cs]
sharp_mmcsd_m          27424   2
devinfo                 3168   0  (unused)
sa1100_bi              45536   0  (unused)
net_fd                 36016   1  [sa1100_bi]
usbdcore               20448   0  [sa1100_bi net_fd]
usbdmonitor             6112   0

For some reason, when I put the card into the CF slot, the card is recognised, but I cannot 'Turn Bluetooth ON' using the taskbar applet*. So I need to run a little script, which I have placed in /root/bin

root@zaurus /root# cat /root/bin/bt
#!/bin/sh
cardctl eject 0
modprobe affix_uart_cs
cardctl insert 0
btctl init_uart tlp 115200 ring,ctl,low
btctl up
  • apparently this is an issue with hwinit and it will be rectified in future affix releases.

When I run this on my Z, I see the card 'ejected' and then 'inserted', and the little taskbar icon turns blue. I can also see:

root@zaurus /root# btctl
Affix version: Affix 1.2.6
---->>>> Affix Bluetooth Driver control program

Comments (0)