Re: [Gpsbabel-misc] Trouble connecting Garmin GPS to laptop under Linux
Brought to you by:
robertl
From: James W. <wa...@tr...> - 2006-07-25 17:04:05
|
Are you using some kind of usb->serial adapter? Are you sure that's a "tts" and not a "tty" in the path name? does "ls -l /dev/tts/USB0" show anything? If you are using a USB GPSr try just "-F usb:" On Tue, 25 Jul 2006 12:37:16 -0400 Pete Morris <pet...@gm...> wrote: > Hi, > > I'm trying to connect my Garmin etrex Venture GPS to my laptop running Arch > linux, but I am not having much luck. I am testing by trying to transfer a > gpx file to the gps. The command and output follows: > > $ sudo gpsbabel -D9 -r -i gpx -f test.gpx -o garmin -F /dev/tts/USB0 > GPSBabel Version: 1.3.0 > options: module/option=value: gpx/snlen="32" (=default) > options: module/option=value: gpx/gpxver="1.0" (=default) > Tx Data:10 fe 00 02 10 03 : ...(PRDREQ ) > Rx Data:10 fe 00 02 10 03 (PRDREQ ) > [ERROR] GPS_Packet_Read: Bad count > GARMIN:Can't init /dev/tts/USB0 > > I don't always get the GPS_Packet_Read error and I have been unable to > determine the conditions under which it appears. > > Some background info: > $ uname -a Linux arch 2.6.17-ARCH #1 SMP PREEMPT Sun Jul > 16 09:29:38 CEST 2006 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel > GNU/Linux > > $ dmesg | tail > usb 2-2: new full speed USB device using uhci_hcd and address 17 > usb 2-2: configuration #1 chosen from 1 choice > pl2303 2-2:1.0: pl2303 converter detected > usb 2-2: pl2303 converter now attached to ttyUSB0 > > I have confirmed with the arch udev package maintainer that a udev rule is > present which replaces /dev/ttyUSB0 with /dev/tts/USB0. > > I am connecting via a serial to usb converter cable as my laptop does not have > a serial port. I think read somewhere that the pl2303 converters are buggy, > but other sources seem to indicate that they work under linux: > http://wiki.openstreetmap.org/index.php/GPS_Serial_to_USB#Configuring_and_using_the_USB_to_Serial_adapter_under_Linux > > I am out of ideas at this point. I started trying random things but quickly > remembered that that usually causes more problems than it solves, and that I > would be better off asking others with more experience in these matters. I > would appreciate any help anyone can give. If you need any more data from me, > please ask. > > Thanks, > Pete Morris > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gpsbabel-misc mailing list > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > |