شعار خريطة الشارع المفتوحة خريطة الشارع المفتوحة

Laptop, Ubuntu and Nokia LD-4W

نُشِر بواسطة slashme في 6 مارس 2010 باللغة English

So I finally bought myself a laptop which came with Ubuntu Karmic Koala, and I've got the Nokia bluetooth gps unit working properly with it. I've managed to get JOSM's LiveGPS module reading data, recording traces and saving gpx files, but it gives some nasty errors at startup - I just tell JOSM to ignore them. I can get gpsdrive and Merkaartor reading GPS data, but I haven't yet managed to get any useful maps working for them. I'll play around some more later.

My basic learnings so far:
* You need to use the "-b" option to gpsd or else you confuse the Nokia LD-4W.
* You can't un-confuse an LD-4W by holding in the off-switch for 10 seconds; that just removes all bluetooth bindings.
* As per the manual, you un-confuse an LD-4W by holding in the off-switch while plugging in the charger.
* I didn't get the dongle reading gps data by using Ubuntu's Gnome Bluetooth Preferences - I had to edit /etc/bluetooth/rfcomm.conf (instructions are available online), then add the line

DAEMON_OPTS="-b -F /var/run/gpsd.sock"

to /etc/default/gpsd . I start my gps by doing "sudo rfcomm bind rfcomm0" and "sudo service gpsd start", and then it's sending gps data to whichever program requests it, so you can have many programs reading gps data together (at the moment I'm running gpxlogger and LiveGPS at the same time).

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

مناقشة

تعليق من mapsinE3 في 20 مارس 2010 في 15:31

I have ubuntu 9.10 on my EEE701. It works brilliantly with a BU-353 USB GPS dongle (which also needs the -b option to gpsd). The dongle is magnetic, so I can stick it to my hat with another magnet (excellent signal strength), and have the EEE in my backpack. Nobody has yet commented on my strange appearance (but I do live in London).

The real reason I'm posting here is to alert you to the awesome tangoGPS application:

http://www.tangogps.org/gps/cat/About

- It downloads maps from OSM, and shows you where you are.
- It records tracks for you (as *.log files, these can be converted to *.gpx with the convert2gpx.pl script found on tangoGPS's Documentation page so they can then be loaded into JOSM). No errors :)

#!/bin/bash
# tango2gpx
for file in ~/Maps/*.log
do convert2gpx.pl $file > $file.gpx
done

Please give it a try, I'm confident you'll like it.

تعليق من slashme في 20 مارس 2010 في 18:05

Great stuff, thanks! I'll check tangoGPS out. I did some useful street-name, gpx and POI logging with LiveGPS today on JOSM with Nic Roets driving.

تسجيل الدخول لترك تعليق