From: Steven Winikoff on 17 Dec 2008 11:49 In <_w71l.16$a01.4(a)newsfe03.iad> root <NoEMail(a)home.org> writes: >I am running Slack 12.1 and am trying to get garmintools 0.9 >to run. It makes OK, but when I run garmin_get_info it >doesn't see the device. I can't access ttyUSB0 either. > >I have tried enabling every USB option that I could >think might affect the problem, but no. This may be a stupid question, but did you include the USB_SERIAL_GARMIN option? The path to it is USB support --> USB serial converter support --> Garmin GPS driver - Steven ___________________________________________________________________________ Steven Winikoff | "I have yet to see any problem, however Concordia University | complicated, which, when looked at in Montreal, QC, Canada | the right way, did not become still smw(a)alcor.concordia.ca | more complicated." http://alcor.concordia.ca/~smw | - Poul Anderson
From: root on 17 Dec 2008 15:08 Steven Winikoff <smw(a)trm.concordia.ca> wrote: > In <_w71l.16$a01.4(a)newsfe03.iad> root <NoEMail(a)home.org> writes: > >>I am running Slack 12.1 and am trying to get garmintools 0.9 >>to run. It makes OK, but when I run garmin_get_info it >>doesn't see the device. I can't access ttyUSB0 either. >> >>I have tried enabling every USB option that I could >>think might affect the problem, but no. > > This may be a stupid question, but did you include the USB_SERIAL_GARMIN > option? > > The path to it is > > USB support --> USB serial converter support --> Garmin GPS driver > > - Steven > ___________________________________________________________________________ > Steven Winikoff | "I have yet to see any problem, however > Concordia University | complicated, which, when looked at in > Montreal, QC, Canada | the right way, did not become still > smw(a)alcor.concordia.ca | more complicated." > http://alcor.concordia.ca/~smw | - Poul Anderson This is in the kernel configuration. I enabled the garmin driver as a module. Garmintools explicitly says you should not enable this option as it conflicts with garmin-tools. I have tried to run garmin-tools both with and without the module being loaded. No difference. I booted into Knoppix, and I was able to see the garmin with lsusb. I ported over the garmintools tgz package but I could not build it since Knoppix didn't have libusb support available. There wasn't enough space available in Knoppix for me to build libusb. While under Knoppix I looked at /lib/udev/devices and there was no reference to anything usb.
From: Beej Jorgensen on 17 Dec 2008 18:12 root <NoEMail(a)home.org> wrote: >1. I had installeld gpsbabel, but it seems to only convert from one >gps format to another. It does do that, but in this case you can specify protocol "garmin": gpsbabel -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx to get the data right from the gps device. -Beej
From: root on 18 Dec 2008 06:21 Beej Jorgensen <beej(a)beej.us> wrote: > root <NoEMail(a)home.org> wrote: >>1. I had installeld gpsbabel, but it seems to only convert from one >>gps format to another. > > It does do that, but in this case you can specify protocol "garmin": > > gpsbabel -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx > > to get the data right from the gps device. > > -Beej > I had just erased my history when I read your note. I ran gpsbabel and got this output: <?xml version="1.0" encoding="UTF-8"?> <gpx version="1.0" creator="GPSBabel - http://www.gpsbabel.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> <time>2008-12-18T11:04:12Z</time> <bounds minlat="25.061783362" minlon="-94.799016668" maxlat="50.982883293" maxlon="121.640266674"/> <wpt lat="38.855549991" lon="-94.799016668"> <ele>325.049072</ele> <name>GARMIN</name> <cmt>GARMIN</cmt> <desc>GARMIN</desc> <sym>Flag, Blue</sym> </wpt> <wpt lat="50.982883293" lon="-1.463899976"> <ele>35.934692</ele> <name>GRMEUR</name> <cmt>GRMEUR</cmt> <desc>GRMEUR</desc> <sym>Flag, Blue</sym> </wpt> <wpt lat="25.061783362" lon="121.640266674"> <ele>38.097656</ele> <name>GRMTWN</name> <cmt>GRMTWN</cmt> <desc>GRMTWN</desc> <sym>Flag, Blue</sym> </wpt> </gpx> It looks to me as if all of this comes from gpsbabel and none from the Forerunner. A very good sign is that if I cat </dev/ttyUSB0 I don't get the missing device message, but I don't get anything else either. No luck: I just went for a short run to accumulate some data. gpsbabel gives me the same empty xml file, so I am not talking to the device. garmin_gps is loaded.
From: Beej Jorgensen on 18 Dec 2008 15:15
root <NoEMail(a)home.org> wrote: >> gpsbabel -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx > >I had just erased my history when I read your note. I ran >gpsbabel and got this output: > <name>GARMIN</name> > <name>GRMEUR</name> > <name>GRMTWN</name> These are the default waypoints that come on Garmin GPSen. Do you have waypoints on your GPS besides those? Or are you just recording tracks? gpsbabel -t -i garmin -f /dev/ttyUSB0 -o gpx -F outfile.gpx ^^ Add the -t switch to tell gpsbabel to get tracks. (You can use -w and -t to get both waypoints and tracks; -w is the default.) >A very good sign is that if I cat </dev/ttyUSB0 I don't get >the missing device message, but I don't get anything else >either. That's not going to do anything since cat isn't speaking the garmin protocol. But it's good that you didn't get the error. -Beej |