[ gpsdrive ] Garmin usb18(oem) .. is it alive?
gpsdosm at trixtar.org
gpsdosm at trixtar.org
Fri May 23 18:46:47 AKDT 2008
info at 4x4falcon.com wrote:
> Most of what you are trying relies on gpsd running.
>
> So spend your time getting it working and then try the other programs.
>
> Given that your gps is being recognised and connected as /dev/ttyUSB0
>
>>From a command line enter:
>
> sudo gpsd -N -D 6 /dev/ttyUSB0
>
> This will keep gpsd in the foreground (ie not run as a daemon) and display
> lots of debug information. CTRL-C will cancel this.
>
> Assuming that the above recognises your gps try:
>
> sudo gpsd /dev/ttyUSB0
>
> this will start gpsd as a daemon and then you can try using gpspipe to see
> if you are getting information.
>
> gpspipe -r
>
> Will display the raw NMEA sentences.
>
> This will show whether or not your gps is putting NMEA sentences out to
> the usb connection. Also most gps's do not work inside buildings so I'm
> assuming you have the gps outside with a clear line of site to the sky.
Close to a window right now, where a Street-Pilot is
outputting an accurate position.
> You then will need to setup gpsd to auto start on connection of your gps
> and/or when the computer boots. Check http://gpsd.berlios.de/ for more
> info on this.
>
> Regards
> Ross
Thanks, and apologies to the group. I didn't know a gpsd
mail-list existed, I'm signed up now and will move related
questions there.
# gpsd -N -D 6 /dev/ttyUSB0
gpsd: launching (Version 2.37)
gpsd: listening on port gpsd
gpsd: shmat(0,0,0) succeeded
gpsd: shmat(0,0,0) succeeded
gpsd: shmat(0,0,0) succeeded
gpsd: shmat(0,0,0) succeeded
gpsd: successfully connected to the DBUS system bus
gpsd: running with effective group ID 0
gpsd: running with effective user ID 0
gpsd: opening GPS data source at '/dev/ttyUSB0'
gpsd: speed 9600, 8N1
gpsd: => GPS: $PASHQ,RID*28\x0d
gpsd: Navcom: command dump: 0299661c0800040200001203
gpsd: => GPS: 0299661c0800040200001203
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: Navcom: command dump: 029966200e000001ae02000071000000f203
gpsd: => GPS: 029966200e000001ae02000071000000f203
gpsd: Navcom: sent command 0x20 (Data Request) - data block
id = ae at rate 00
gpsd: Navcom: command dump: 029966200e00000186020a0071000000d003
gpsd: => GPS: 029966200e00000186020a0071000000d003
gpsd: Navcom: sent command 0x20 (Data Request) - data block
id = 86 at rate 0a
gpsd: Can't open /proc/bus/usb/devices
gpsd: Probing TrueNorth Compass
gpsd: hunting at speed 38400
gpsd: speed 38400, 8N1
gpsd: => GPS: $PASHQ,RID*28\x0d
gpsd: Navcom: command dump: 0299661c0800040200001203
gpsd: => GPS: 0299661c0800040200001203
gpsd: Navcom: sent command 0x1c (Test Support Block)
gpsd: Navcom: command 0x1c mode = 02, length = 0
gpsd: Navcom: command dump: 029966200e000001ae02000071000000f203
gpsd: => GPS: 029966200e000001ae02000071000000f203
gpsd: Navcom: sent command 0x20 (Data Request) - data block
id = ae at rate 00
gpsd: Navcom: command dump: 029966200e00000186020a0071000000d003
gpsd: => GPS: 029966200e00000186020a0071000000d003
gpsd: Navcom: sent command 0x20 (Data Request) - data block
id = 86 at rate 0a
gpsd: tnt_packet_sniff begins
gpsd: => GPS: @X?*67
gpsd: sleep(1)
gpsd: => GPS: @X?*67
gpsd: sleep(1)
...
# gpspipe -r
stays quiet.
More information about the GPSdrive
mailing list