gpsd-users
[Top][All Lists]
Advanced

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

GPSD Not Using /dev/pps0 But ppstest Shows /dev/pps0 is OK


From: Joshua Quesenberry
Subject: GPSD Not Using /dev/pps0 But ppstest Shows /dev/pps0 is OK
Date: Wed, 2 Dec 2020 11:24:16 -0500

Good Morning,

I'm running GPSD on an RPi 4. I have GPSD pulling in the GPS data over serial without any issues. Now I'm trying to pull in to the PPS signal that is on GPIO 6.

I've added to /boot/config.txt the line: `dtoverlay=pps-gpio,gpiopin=6` and appended to /etc/modules line `pps-gpio` and now after a reboot I see pps_gpio and pps_core loaded. Using command `sudo ppstest /dev/pps0` I see this output, which confirms to me that /dev/pps0 is in fact my PPS signal coming into the RPi.

trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1606924323.767119450, sequence: 205 - clear 0.000000000, sequence: 0
source 0 - assert 1606924324.767144708, sequence: 206 - clear 0.000000000, sequence: 0
source 0 - assert 1606924325.767169634, sequence: 207 - clear 0.000000000, sequence: 0
source 0 - assert 1606924326.767196929, sequence: 208 - clear 0.000000000, sequence: 0
source 0 - assert 1606924327.767223040, sequence: 209 - clear 0.000000000, sequence: 0
source 0 - assert 1606924328.767250780, sequence: 210 - clear 0.000000000, sequence: 0
source 0 - assert 1606924329.767275594, sequence: 211 - clear 0.000000000, sequence: 0
source 0 - assert 1606924330.767301390, sequence: 212 - clear 0.000000000, sequence: 0

I then modified my GPSD startup script such that now when the app is running I see this process: `/usr/sbin/gpsd -r tcp://127.0.0.1:5760 /dev/pps0`

Now from what I can tell reading around in the documentation gpsmon should have something showing in the PPS field and ntpshmmon should be outputting something, however both the PPS field is empty and ntpshmmon isn't outputting anything at all.

Can someone give me guidance on the next steps?

Version Information:
gpsd: 3.17 (revision 3.17)
# Socket export enabled.
# Shared memory export enabled.
# DBUS export enabled
# Time service features enabled.
# PPS enabled.

Note that this gpsd binary was provided through the apt package.

Thanks,

Josh Q

reply via email to

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