Re: [chrony-users] Setting up Chrony with PPS |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
On 2/18/2016 8:19 PM, Deven Hickingbotham wrote:
GPS is an Adafruit Ultimate GPS Hat on a Raspberry Pi 2 B. I have two
identical units and have had PPS working with ntp.
Is it possible to bring the PPS signal in on a serial port? I'm doing
something similar but with different hardware; using an internal TTL
level serial port rather than GPIO. I had no luck with GPIO. Also,
I've found that it's best to have a time delay before starting gpsd:
root@AP1:~# cat /etc/rc.local
$( sleep 60 ; /etc/init.d/gpsd start ) &
exit 0
That 60 second delay apparently gives enough time to chrony to do
whatever it needs to do. Make sure you delete SXXgpsd from rc.d if
that's how it's starting.
root@AP1:~# chronyc sources
210 Number of sources = 6
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#- NEMA 0 4 377 11 +141ms[ +141ms]
+/- 251ms
#* PPS 0 4 377 9 +403us[ +404us]
+/- 50ms
^+ vexx.wtfismyip.com 2 6 377 13 +317us[ +320us]
+/- 81ms
^- ntp2.tranzeo.com 2 6 377 10 -2895us[-2893us]
+/- 565ms
^? mirror3.rafal.ca 0 6 0 10y +0ns[ +0ns]
+/- 0ns
^+ zero.gotroot.ca 2 6 377 9 -1172us[-1171us]
+/- 64ms
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.