Re: [Gpsbabel-misc] Trouble connecting Garmin GPS to laptop under Linux
Brought to you by:
robertl
From: Pete M. <pet...@gm...> - 2006-07-28 01:57:56
|
On Tue, Jul 25, 2006 at 11:39:19AM -0700, James Washer wrote: > hmmmmm.... is the gps set to "garmin mode" for serial data? Good idea, but yeah, it's set to garmin. I even tried on other modes, (and changed the command appropriately) with no luck. Thanks, though. > > On Tue, 25 Jul 2006 13:28:47 -0400 > Pete Morris <pet...@gm...> wrote: > > > On Tue, Jul 25, 2006 at 10:03:43AM -0700, James Washer wrote: > > > Are you using some kind of usb->serial adapter? > > Yes. It is a Sabrent converter, > > (http://www.newegg.com/Product/Product.asp?Item=N82E16812156003 ) probably > > based on the Prolific pl2303 converter (based on the dmesg output). > > > > > Are you sure that's a "tts" and not a "tty" in the path name? > > > does "ls -l /dev/tts/USB0" show anything? > > $ ls -l /dev/tts/USB0 > > crw-rw---- 1 root tty 188, 0 2006-07-25 12:34 /dev/tts/USB0 > > > > Arch linux uses a udev rule to relplace /dev/ttyUSB0 with /dev/tts/USB0. I > > confirmed this with the arch linux udev package maintainer. > > > > > If you are using a USB GPSr try just "-F usb:" > > No such luck. The gps is from before they used usb to communicate. > > > > Pete > > > > > > 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 |