my Zaurus SL-C3000 and SL-C3100
http://www.users.on.net/~hluc/myzaurus/
65 of 212
16/09/2007 12:23
Enabling Bluetooth
The stock Sharp ROM does not come with bluetooth enabled. You can add bluetooth capability to
the Zaurus by either using a CF Bluetooth card or a USB Bluetooth dongle. I've tested this using a
Socket Bluetooth CF card which I think is great because it is exactly the same size as a CF memory
card. It has a CF I form factor and no bits sticking out when inserted into the CF slot on the Zaurus.
I have also tested this with a tiny WIDCOMM compatible USB Bluetooth dongle.
In order to enable and use Bluetooth, you need to install a bluetooth stack such as bluez which
includes the required kernel modules as well as needed command line tools. You can also add some
plugins to the graphical Network config tool to enhance it to handle bluetooth connection types.
There are currently two such plugins available, one for PAN (Personal Area Network) and one for
DUN (dial up bluetooth). Once they are installed, you will see additional options in your Network
config tool.
Here are the files you need:
bluez-zaurus_2.12_2.4.20_alpha4_arm.ipk
bluepin_0.0.1-1_arm.ipk
susp_resume_bluez_0.9.3_arm.ipk
qtopia-bluetoothnetworkapplet_1.0.1_arm.ipk
qtopia-pannetworkapplet_1.0.1_arm.ipk
The bluez package is essential while the others are optioanl. If you find newer updated versions of
those, then use them instead. Once you have installed the above packages, you can begin to setup
and configure your bluetooth stack. I have also created a single package
[bluetooth-support_1.23_arm.ipk] which contains the above as well as additional obex packages.
There is also a bluetooth lite package which only contains the GUI scripts. The qshdlg package
needs to be installed to use the bluetooth GUI.
The first thing you need to do is check your config and make sure your bluetooth stack has
initialised successfully.
# su
# /etc/rc.d/init.d/bluetooth restart
# hciconfig
You will see something like this:
hci0: Type: UART
BD Address: xx:xx:xx:xx:xx:xx ACL MTU: 672:10 SCO MTU: 64:0
UP RUNNING PSCAN ISCAN
RX bytes:250 acl:0 sco:0 events:12 errors:0
TX bytes:446 acl:0 sco:0 commands:12 errors:0
Then you need to search for bluetooth enabled devices you want to use and do the pairing.
# hcitool scan
Note that unless the other bluetooth devices are configured to be visible, you won't be able to find
them. Write down their mac addresses. (xx:xx:xx:xx:xx:xx is the format for the mac addresses and
each device will have a unique address), eg: