From: Robert Lipe <robertlipe@us...> - 2006-09-06 15:10:24
> Linux ubuntu 184.108.40.206 i686
> GPSmap 76CSx
> I have been using root to run GPSBabel.
> i can get the waypoints from my gps everytime (the -w switch) but when =
> to get the track logs ( -t ), it says this:
> gpsbabel -t -i garmin -f /dev/ttyUSB0 -o gpx -F he.gpx
> [ERROR] GPS_Packet_Read: Timeout. No data received.
This is because you're using the (broken) kernel driver. Don't do that.
> I also have to use -f /dev/ttyUSB0 instead of usb: becuase of this mess=
> gpsbabel -w -t -i garmin -f usb: -o gpx -F he.gpx
> usb_set_configuration failed: could not set config 1: Device or resourc=
Find inspiration at http://www.gpsbabel.org/os/Linux_Hotplug.html (Ubutn=
or may not differ in the details) to get the kernel module out of the way=
we can speak directly to the device.
From: Daniel Barlow <dan@co...> - 2006-10-13 11:00:34
Robert Lipe wrote:
> Find inspiration at http://www.gpsbabel.org/os/Linux_Hotplug.html
> or may not differ in the details) to get the kernel module out of the
> we can speak directly to the device.
Aha. Wish I'd found that yesterday ...
I haven't yet found my way around the code sufficiently[*] to work out
what files the web site documentation is generated from (please feel
free to clue me in), so this isn't a real patch, but would you
http://www.gpsbabel.org/htmldoc-1.3.0/fmt_garmin.html to say something
along the lines of
For serial models, be sure the GPS is set for "Garmin
mode" in setup and that nothing else (PDA hotsync programs, gpsd,
getty, pppd, etc.) is using the serial port. USB models, if you
wish to use the "usb:" filename (recommended), need direct
access to the device, and will not work if, for example, you
have the "garmin_gps" kernel module loaded (Linux). See
the <a href="osnotes.html">Operating System Notes</a> for
[*] or at all, for that matter
From: Robert Lipe <robertlipe@gm...> - 2006-10-16 16:00:51
On 10/13/06, Daniel Barlow <dan@...> wrote:
> what files the web site documentation is generated from (please feel
> free to clue me in), so this isn't a real patch, but would you
It's plain ole docbook generated from xmldoc/
> http://www.gpsbabel.org/htmldoc-1.3.0/fmt_garmin.html to say something
> along the lines of
Good idea - you're certainly not the first to get tripped up by the
broken Linux driver.
RCS file: /cvsroot/gpsbabel/gpsbabel/xmldoc/formats/garmin.xml,v
retrieving revision 1.6
diff -p -u -r1.6 garmin.xml
--- garmin.xml 3 Aug 2006 21:17:55 -0000 1.6
+++ garmin.xml 16 Oct 2006 15:58:11 -0000
@@ -150,4 +150,18 @@ first slot is a happy face, they only kn
numbered slot. GPSBabel names the them consistently with Mapsource,
so they are named 'Custom 0' through 'Custom 511'.
+ For models where the connection on the GPS is a serial interface,
+ be sure the GPS is set for "Garmin
+ mode" in setup and that nothing else (PDA hotsync programs, gpsd,
+ getty, pppd, etc.) is using the serial port.
+ For models connected via USB, we recommend use of the 'usb:'
+ filename. For this to work on Windows, you must install
+ the Garmin driver. For Linux, this will fail if have the garmin_gps
+ kernel module loaded.
+ See the <a href="/osnotes.html">Operating System Notes</a> for details.