gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Is GPSD receiving PPS?


From: Jon Brase
Subject: Re: [gpsd-users] Is GPSD receiving PPS?
Date: Mon, 07 Mar 2016 02:04:59 -0600
User-agent: Opera Mail/12.16 (Linux)

On Sun, 06 Mar 2016 14:50:54 -0600, Gary E. Miller <address@hidden> wrote:

Yo Jon!

On Sat, 05 Mar 2016 15:18:47 -0600
"Jon Brase" <address@hidden> wrote:

 Could you be more specific about the nature of these issues

The Wheezy binaries were old version of gpsd. So all improvements/fixes in
newer gpsd were not present in Wheezy.

and say whether they're still an issue in Jessie?

What version gpsd is in Jessie, The look at the gpsd changelog to see what
you are missing.


I'm not too worried about being a few versions behind as long as it's not the direct cause of the PPS issues I'm running into. OTOH, as Jessie is on 3.11, I notice that PPS support was marked experimental until 3.12. So I guess it might be worth trying to compile a more recent version from source.

Have you had a chance to evaluate the debug output I provided? I've repasted it below my signature in this e-mail for your reference. Recall that ppstest is able to get valid data from /dev/pps0, but the output below indicates that gpsd is not managing to open /dev/pps0 successfully. Both ppstest and gpsd are being run as root, so permissions shouldn't be an issue.

--
Jon Brase

----------------------------------------------------------------------------------------------

gpsd:PROG: control socket opened at /var/run/gpsd.sock
gpsd:INFO: launching (Version 3.11)
gpsd:IO: opening IPv4 socket
gpsd:IO: opening IPv6 socket
gpsd:INFO: listening on port 3030
gpsd:PROG: NTPD shmat(0,0,0) succeeded, segment 0
gpsd:PROG: NTPD shmat(32769,0,0) succeeded, segment 1
gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(98307,0,0) succeeded, segment 3
gpsd:PROG: successfully connected to the DBUS system bus
gpsd:PROG: shmat() succeeded, segment 131076
gpsd:PROG: shared-segment creation succeeded,
gpsd:INFO: stashing device /dev/ttyAMA0 at slot 0
gpsd:INFO: opening GPS data source type 2 at '/dev/ttyAMA0'
gpsd:INFO: speed 9600, 8N1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:PROG: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
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:IO: => GPS: 5053474700c100010000000050924746
gpsd:PROG: Probe not found "GeoStar" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:INFO: speed 9600, 8O1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:PROG: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:INFO: speed 9600, 8N1
gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
gpsd:PROG: writing oncore control type Cj
gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(2): activated GPS (fd 7)
gpsd:PROG: PPS chrony socket /var/run/chrony.ttyAMA0.sock doesn't exist
gpsd:INFO: KPPS checking /sys/devices/virtual/pps/pps0/path,
gpsd:INFO: KPPS checking /sys/devices/virtual/pps/pps1/path, /dev/ttyAMA0
gpsd:INFO: KPPS RFC2783 fd is 8
gpsd:INFO: KPPS caps 1133
gpsd:WARN: KPPS kernel PPS will be used
gpsd:PROG: PPS thread launched
gpsd:INFO: NTPD ntpshm_link_activate: 1
gpsd:INFO: device /dev/ttyAMA0 activated
gpsd:INFO: stashing device /dev/pps0 at slot 1
gpsd:INFO: opening GPS data source type 2 at '/dev/pps0'
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:IO: => GPS: 5053474700c100010000000050924746 FAILED
gpsd:PROG: Probe not found "GeoStar" driver...
gpsd:PROG: Probing "Trimble TSIP" driver...
gpsd:PROG: Probe not found "Trimble TSIP" driver...
gpsd:PROG: no probe matched...
gpsd:INFO: gpsd_activate(2): activated GPS (fd 9)
gpsd:PROG: PPS chrony socket /var/run/chrony.pps0.sock doesn't exist
gpsd:INFO: KPPS gps_fd not a tty
gpsd:PROG: PPS thread launched
gpsd:INFO: NTPD ntpshm_link_activate: 1
gpsd:INFO: device /dev/pps0 activated
gpsd:ERROR: PPS ioctl(TIOCMIWAIT) failed: 25 Inappropriate ioctl for device
gpsd:PROG: PPS gpsd_ppsmonitor exited.
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 109
gpsd:INFO: startup at 2016-03-04T08:10:03.000Z (1457079003)
gpsd:INFO: GPS on /dev/pps0 returned error -1 (0.038954 sec since data)
gpsd:WARN: device read of /dev/pps0 returned error or packet sniffer failed sync (flags {ERROR})
gpsd:INFO: closing GPS=/dev/pps0 (9)
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running DEACTIVATE hook



gpsd:INFO: reconnection attempt on device 1
gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook
gpsd:INFO: opening GPS data source type 2 at '/dev/pps0'
gpsd:ERROR: device open failed: Permission denied - retrying read-only
gpsd:ERROR: read-only device open failed: Permission denied
gpsd:ERROR: /dev/pps0: device activation failed.



reply via email to

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