gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] GPSD 3.10 PPS Problem


From: George S.
Subject: [gpsd-users] GPSD 3.10 PPS Problem
Date: Fri, 21 Feb 2014 22:24:01 -0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

I've encountered a problem using GPSD with PPS and I "think" it's a bug. I've carefully read the FAQ, man page, and web site. Here's the info:

GPS Unit: Garmin GPS 16X-HVS using home-built interface with PPS on CD
GPS Unit Baud Rate: 38400
OS: OpenSuse Linux 12.3
GPSD Version: 3.10 - <- I downloaded 3.10 source and created RPMS and installed them

Observed Behavior:

When I run with -D 4, I see PPS lines in the output initially, but then the Auto-Baud subsystem kicks in, and PPS goes away.

Expected Behavior:

PPS should work regardless of the speed the GPS unit is configured to run at:

Additional Information:

If I run the command:

/usr/bin/stty speed 38400 < /dev/ttyS0
gpsd -n -G -N -D 4 /dev/ttyS0

then things work as expected.

This issue was also observed using GPSD 3.5.

So, it looks to me like PPS is getting turned off when the auto-baud code kicks in. Here's the output off the command that dumps the log and shows this. One thing to note. I kinked the rates list to put my rate first thinking it might help.


reddwarf:/usr/src/packages/SOURCES/tmp/gpsd-3.10 # ./gpsd -n -G -N -D 4 /dev/ttyS0
gpsd:INFO: launching (Version 3.10)
gpsd:INFO: listening on port gpsd
gpsd:PROG: NTPD shmat(884751,0,0) succeeded, segment 0
gpsd:PROG: NTPD shmat(917520,0,0) succeeded, segment 1
gpsd:PROG: NTPD shmat(950289,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(983058,0,0) succeeded, segment 3
gpsd:PROG: shmat() succeeded, segment 140738640
gpsd:PROG: shared-segment creation succeeded,
gpsd:INFO: stashing device /dev/ttyS0 at slot 0
gpsd:INFO: opening GPS data source type 2 at '/dev/ttyS0'
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: writing oncore control type Cj
gpsd:PROG: Probing "Garmin USB binary" driver...
gpsd:PROG: Probe not found "Garmin USB binary" driver...
gpsd:PROG: Probing "GeoStar" driver...
gpsd:PROG: Sent GeoStar packet id 0xc1
gpsd:PROG: Probe not found "GeoStar" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:PROG: writing oncore control type Cj
gpsd:INFO: speed 9600, 8N1
gpsd:PROG: writing oncore control type Cj
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(2): activated GPS (fd 5)
gpsd:PROG: PPS chrony socket /var/run/chrony.ttyS0.sock doesn't exist
gpsd:PROG: PPS thread launched
gpsd:INFO: NTPD ntpshm_link_activate: 1
gpsd:INFO: device /dev/ttyS0 activated
gpsd:INFO: running with effective group ID 16
gpsd:INFO: running with effective user ID 65534
gpsd:INFO: startup at 2014-02-21T20:08:22.000Z (1393013302)
gpsd:PROG: PPS cycle: -2147483 uSec, duration: -2147483 uSec @ 1393013303.016856704 gpsd:PROG: PPS cycle: -2147483 uSec, duration: 39987 uSec @ 1393013303.056843940
...
gpsd:PROG: PPS cycle: 999775 uSec, duration: 959781 uSec @ 1393013312.014718893 gpsd:PROG: PPS cycle: 999821 uSec, duration: 39997 uSec @ 1393013329.051331734
gpsd:INFO: speed 38400, 8N1
gpsd:PROG: writing oncore control type Cj
gpsd:PROG: switching to match packet type 1: $GPRMC,200850,A,3956.9051,N,10501.3742,W,000.0,150.7,210214,010.0,E,D*06\x0d\x0a
gpsd:PROG: switch_driver(NMEA0183) called...
gpsd:PROG: selecting NMEA0183 driver...
gpsd:INFO: /dev/ttyS0 identified as type NMEA0183, 27.753148 sec @ 38400bps
gpsd:PROG: => Probing for Garmin NMEA
gpsd:PROG: GPRMC sentence timestamped 200850.00.
gpsd:PROG: GPRMC starts a reporting cycle.
gpsd:PROG: => Probing for SiRF
gpsd:PROG: GPGGA sentence timestamped 200850.00.
gpsd:PROG: => Probing for FV-18
gpsd:PROG: GPGSA sets mode 3
gpsd:PROG: => Probing for Trimble Copernicus
gpsd:PROG: Partial satellite data (1 of 3).
gpsd:PROG: => Probing for Evermore
gpsd:PROG: Partial satellite data (2 of 3).
gpsd:PROG: => Probing for GPSClock
gpsd:PROG: => Probing for Ashtech
gpsd:PROG: => Probing for UBX
gpsd:PROG: => GPS: UBX class: 06, id: 00, len: 0, crc: 0618
gpsd:PROG: found trigger string $PGRMC,.
gpsd:PROG: switch_driver(Garmin NMEA) called...
gpsd:PROG: selecting Garmin NMEA driver...
gpsd:PROG: GPRMC sentence timestamped 200851.00.
gpsd:PROG: GPRMC starts a reporting cycle.
gpsd:PROG: tagged GGA as a cycle ender.
gpsd:PROG: GPGGA sentence timestamped 200851.00.
gpsd:PROG: GPGGA ends a reporting cycle.
gpsd:PROG: GPGSA sets mode 3
gpsd:PROG: Partial satellite data (1 of 3).
gpsd:PROG: Partial satellite data (2 of 3).
gpsd:WARN: unknown sentence: "$PGRMC1,1,1,1,,,,2,W,N*4C\x0d\x0a"
gpsd:WARN: unknown sentence: "$PGRMC1,1,1,1,,,,2,W,N,,,,2,2*60\x0d\x0a"
gpsd:PROG: GPRMC sentence timestamped 200852.00.
gpsd:PROG: GPRMC starts a reporting cycle.
gpsd:PROG: GPGGA sentence timestamped 200852.00.
gpsd:PROG: GPGGA ends a reporting cycle.
gpsd:PROG: GPGSA sets mode 3
gpsd:PROG: Partial satellite data (1 of 3).
gpsd:PROG: Partial satellite data (2 of 3).
gpsd:PROG: GPRMC sentence timestamped 200853.00.
gpsd:PROG: GPRMC starts a reporting cycle.
gpsd:PROG: GPGGA sentence timestamped 200853.00.
gpsd:PROG: GPGGA ends a reporting cycle.
gpsd:PROG: GPGSA sets mode 3

--
George Sexton
MH Software, Inc.
303 438-9585
http://www.mhsoftware.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]