Spirit
Member
- Joined
- Aug 17, 2008
- Messages
- 411
Not my actual location, tangoGPS shows that with a nice big blue dot.
I use a "blumax Bluetooth GPS-4013 Receiver", costs about 45€.
Install gpsd. The gpsd in the unstable repo is too new for tangogps ( http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg761792.html ) , http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv7a/base/gpsd_2.38-r0.1_armv7a.ipk works. If tangoGPS says "connection to gpsd SUCCEEDED" but does not get the location, this is the cause.
You also might want to install the handy gps-utils, but that is not required.
Turn on the mouse. In the Pandora's Bluetooth tool set the pin to "0000" (as in the blumax manual). Click on the mouse in the list, turn it off, press Forward and quickly turn it on again. This seems to work for me, otherwise it failed pairing.
/etc/init.d/gpsd stop, until someone posts how to properly configure gpsd. I did not try yet.
hcitool scan shows you the mouse's bluetooth address (MAC).
(hcitool inq should show something)
sudo l2ping bluetooth-address lets you ping the unit, according to http://www.gentoo.org/doc/en/bluetooth-guide.xml this means pairing was successful.
sudo rfcomm bind /dev/rfcomm0 bluetooth-address
cat /dev/rfcomm0 should now show you the NMEA feed of the gps unit
gpsd -Nn -D 3 /dev/rfcomm0 can be used for debugging gpsd, if all is fine ctrl-c and run the next command:
gpsd /dev/rfcomm0
(Next time you only need sudo rfcomm bind /dev/rfcomm0 bluetooth-address and gpsd /dev/rfcomm0)
Now you should be able to use tangoGPS. Be aware that by default it stores downloaded map tiles in your home directory (that is on the NAND by default!), you want to change that to an SD card or /tmp
Thanks to wejp for his support.
Navit crashed with out-of-memory when I supplied it with OSM data for my hometown.