Global Positioning System (GPS)
I bought a Royaltek RBT-1000 GPS. This is a little (60gr) bluetooth GPS reciever. Connecting it to the Zaurus was really easy (mainly following this ipaq bluetooth gps howto),
- Turn the GPS and Zaurus on.
- Insert bluetooth CF. I found out that if the Zaurus was suspended with the bluetooth card inserted I had to restart the CF card with,
#cardctl eject; cardctl insert
- Edit /etc/bluetooth/rfcomm.conf,
- Bind the dev (If the bind option is disabled).,
# rfcomm bind /dev/rfcomm0
- To see the raw feed,
# cat /dev/rfcomm0
- Start gpsd, this daemon gives a simpler interface to the gps feed, qpegps and (I think) roadmap use it to recieve data from the gps.
#gpsd -f /dev/rfcomm0
adding the -n switch turns on the bluetooth immidiatly and leaves it on (even if there is no active connection) otherwise gpsd closes the bluetooth after the connection was closed. This is good if I want to recive data using a command line script like (thanx ckuethe),#echo "0" | nc localhost 2947
This will spit out the position and velocity information. - Connecting to gpsd using telnet,
# telnet localhost 2947
there several commands that are documented in the gpsd manpage. - roadmap gps terminal seems to work out of the box,
# roadgps
but gives very limited information (only satellite constellation and signal strength).