- GPS device
- Acer Aspire one running Ubuntu linux
Step 1. Install all packages required to build navit from ubuntu repositories:
apt-get install build-essential pkg-config automake libglib2.0-dev libtool libxmu-dev libfribidi-dev gettext zlib1g-dev cvs gpsd gpsd-clients libgps-dev libdbus-glib-1-dev libgtk2.0-dev freeglut3-dev glutg3-dev libcegui-mk2-dev libdevil-dev libglc-dev libpcre3-dev libmng-dev libfreeimage-dev libtiff4-dev libgtk2.0-dev libsdl-image1.2-dev flite
Step 2. Download navit and extract it locally
Step 3. Compile navit. I had some problems with the standard ./configure, make related to a missing qtpainter.h. I was able to solve them by disabling the qtpainter.
./configure --disable-graphics-qt-qpainter make
I have a Garmin ETrex Legend Hcx GPS which I use frequently. In order to make it work with gpsd these are the commands (as root):
modprobe garmin_gps mount -t usbfs none /proc/bus/usb [start the GPS connected via usb] /usr/sbin/gpsd -N -D2 /dev/ttyUSB0
They start the gpsd in non-daemon mode. If everything works ok you should see some coordinate data on the screen. To stop everything I first stopped gpsd and then the gps device. I’ve had no locking problems as reported on various places on the net.
At this point I started navit which connected succesfully to the gpsd. As described in the navit documentation I’ve used the OpenSourceMaps for Romania without incidents. I’ve also tried to use flite for speech by commenting the corresponding line from navit.xml. It works but the sound is choppy.
- technology: the effort to run/configure everything was reasonable and I was able to run the entire system for a few driving hours until the battery of my Acer was dead without experiencing dead-locks.
- navigation: I think the navigation is ok if you have a co-pilot. Otherwise it was not very clear when or where to turn even if I activated the corresponing OSD parts in navit.xml.
- voice-navigation: quite unusable, not a navit fault
Using a Holux M-241 GPS
I’ve also tried the same configuration using a Holux M-241 GPS. gpsd crashed on the 9600 baud rate and I had to add a -b option to make it work. Of course no garmin module was required:
/usr/sbin/gpsd -b -N -D2 /dev/ttyUSB0
Find some other great resources for Linux GPS usage on tuxmobil.de