I run Ubuntu Linux on my home computer, and I have a Garmin GPSMAP 60CSx GPS receiver. I tried using gpsbabel to upload waypoints to the GPS receiver. I never got it to work reliably -- the connection would be dropped halfway, giving only partial uploads. Downloading tracklogs always worked flawlessly, though.
After my seamless upgrade from Feisty to Gutsy, I decided to delve into this a bit further. I noticed that the version of gpsbabel in the Ubuntu repositories is 1.3.3, while 1.3.4 has been out for well over half a year now. Time to do a source install, and to twiddle with the various settings to try and get the upload working as well.
The fact that I think this warrants a post, should tell you that I succeeded. I'm well aware that not everyone will be interested in this, so I present my solution here in full:
- Use Synaptic to completely remove gpsbabel;
- Install various support libraries that will be used in the source build. Execute "sudo apt-get install expat libexpat-dev libusb-dev";
- Download the source from the download page. I didn't use the source RPM, I just downloaded the source tarball;
- Uncompress the tarball. Execute "tar -xvzf gpsbabel-1.3.4.tar.gx";
- Go into the directory: "cd gpsbabel-1.3.4";
- Generate the makefile: "./configure";
- Build the application: "make";
- Install the application in your path: "sudo make install";
- After that, I followed the instructions for removing the garmin_gps kernel module and allowing non-root users to write to USB devices with the instructions for Dapper posted here.
Now I can upload a GPX-file with the command
"gpsbabel -r -t -w -i gpx -f pipco.gpx -o garmin -F USB:"
and it will reliably upload all waypoints to my GPSr!
This was one of the two things that I still needed Windows for in my every-day computer usage. You can imagine that I am quite happy I got to eliminate that!
As an aside, gpsbabel is also an interesting application for users of Windows and MacOS, since it enables you to merge and translate the GPX-files that you can download from geocaching.com into KML files that you can open in Google Earth, and much more.
April 28 2008, 05:40:48 UTC 4 years ago
I am however interested in something that'd show a visual map the way points on that of that as well. This def sounds good though.
April 28 2008, 05:51:11 UTC 4 years ago
However, you can convert the track into KML with gpsbabel, and then use Google Earth to show the tracks and waypoints. Not really a database either, but at least you can see which track goes where...
April 29 2008, 05:48:16 UTC 4 years ago
April 29 2008, 16:25:11 UTC 4 years ago
May 2 2008, 17:54:55 UTC 4 years ago
now, i've just got to figure out how to get it to write to my device. thanks for the tips so far.
May 2 2008, 18:23:01 UTC 4 years ago
Agreed: it is a monstrosity.
i've just got to figure out how to get it to write to my device.
Which device do you have? How do you connect it to your PC?
May 2 2008, 18:27:00 UTC 4 years ago
May 2 2008, 18:37:19 UTC 4 years ago
Then, your GPSBabel commandline will be something like this:
gpsbabel -r -t -w -i gpx -f pipco.gpx -o garmin -F /dev/ttyUSB0
That should do it!
May 15 2008, 17:03:06 UTC 4 years ago
I've tried reusing these directions to reinstall the program. however, after I type Make, i get the following message.
gpsbabel-1.3.5$ make
autoconf
make: autoconf: Command not found
make: *** [configure] Error 127
Any idea why the autoconf is not working?
May 15 2008, 18:13:03 UTC 4 years ago
April 29 2008, 19:06:36 UTC 4 years ago
Interestingly though, Garmin's software doesn't use it.
Anonymous
October 4 2008, 09:47:58 UTC 3 years ago
gpsbabel GUI
There is also another "easy to use" GUI for gpsbabel: it's called gebabbel (german slang for talking)You can find the binary at sourceforge: http://gebabbel.sourceforge.net/
Its a QT-Frontend directly running under Ubuntu 8.04. It works for me with my Extrex Legend HCx.
Make sure you have the garmin_usb Module in the kernel and have edited the right usb-Port (in my Case /dev/ttyUSB0.
Best way is to add the entry garmin_usb in /etc/modules , so ubuntu knows your Garmin out of the box.
dmesg will show you the right usb-port.
Have fun!