Showing posts with label qpeGPS. Show all posts
Showing posts with label qpeGPS. Show all posts

Thursday, May 10, 2007

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),

  1. Turn the GPS and Zaurus on.
  2. 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
  3. Edit /etc/bluetooth/rfcomm.conf,
  4. Bind the dev (If the bind option is disabled).,
    # rfcomm bind /dev/rfcomm0
  5. To see the raw feed,
    # cat /dev/rfcomm0
  6. 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.
  7. Connecting to gpsd using telnet,
    # telnet localhost 2947
    there several commands that are documented in the gpsd manpage.
  8. roadmap gps terminal seems to work out of the box,
    # roadgps
    but gives very limited information (only satellite constellation and signal strength).
That was the easy part. roadmap started ok only if I start it from the map folder (where usdir.rdm exists) managed to connect to the gps, but it doesn't show the map (which I got from freemap.co.il). qpegps started ok, but couldn't connect to gpsd which makes it useless.

Tuesday, May 1, 2007

qpeGPS & zRoadMap

Install qpegps:
first, install gpsd:

# ipkg install gpsd -d loop0
# ipkg-link add gpsd
Then libgps14:
# ipkg install libgps14 -d loop0
# ipkg-link add libgps14
Then qpe:
# ipkg install qpegps -d loop0
# ipkg-link add qpegps
In order for the map download to work, downmap and gif2png needed to be extracted into /opt/QtPalmtop/bin
wget is needed to be installed (apparently the busybox version is not compatible with downmap)
# ipkg install wget -d loop0
# ipkg-link add wget
Now I'll try to download Haifa area maps... this takes some time (24 maps are downloaded)

Apperantly the popup menu doesn't work... :-(

zroadmap
I'll try my luck with zroadmap:
# ipkg install -d loop0 zroadmap
# ipkg-link add zroadmap

It seems that the directories are not configured well, roadmap searches for the file usdir.rdm which I found in /opt/QtPalmtop/share/roadmap/, once I started roadmap from this directory it started ok (but no maps...).
No luck finding maps, So I removed it
# ipkg-link remove zroadmap
# ipkg remove zroadmap