Re: [chrony-users] Time from gpsd via socket |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Time from gpsd via socket
- From: David Glover-Aoki <david@xxxxxxxxxxxxxx>
- Date: Thu, 23 Jul 2020 21:31:08 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gloveraoki.net; h=from:content-type:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; s=fm3; bh=/z 3cEyWNqZ0Y6Mm+ZXMRAPyMzCp88j610untL8oalqA=; b=qx1p8Y5m5dg295yO9a H3Fp8YFCRPW1WbcpXMg2llwWV+yc//NJErsAsBRtTZF9DCQ38MKdV9rszfKuFhML wwzgWuQ/+FFSHnmjnJbtUbom1dtpBDKChPG4Xl6XMBrD8SCwkTyyhop4C3H0FKEb ADCWIYxGfv3b0FD51A4eilkqbDLLbz5tVpIM1N1mu8NiN4Q+v4CDH/8Nkq+o/N92 i+sDi+JaGufi7ukEqBrlAkS5Q+xChxk4Fls+YN7uJBfruzC9r5lWTFrTBdkSFfMg 8mkvzR1zs/4AXiJScPYcdVRZlmka8sZwAq0MbPs1SXNim0XN4jJMwDn6I+ybBOgG 6y3w==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=/z3cEyWNqZ0Y6Mm+ZXMRAPyMzCp88j610untL8oal qA=; b=ZT3pubDOQD2yfFG6XqqlI+bqQHGFv1uTBPGuFPxwAGulPCw7mAw0scpov mtHcweRZ2JDK3Or1oOD7PYJxP0hALHolXy1xCesMjBaNewBfX2snLPd8nSDzcZuM f+qjG2EV62a/Oipj8ynX6Loys09K67Tw/fzuIVU/QgsqtFeu0p+k7nygixlw5VMf XhrRl8w6TdxIhUqVpiMGitj+8EMLdR9bTvu8J0nkCPI+8a+Kt/ikBoo8PI+0pWS5 rsvWlVWtqhrwzmywKMAB8lAN3HwpnamKaeLFTSyeyH+96Tm9ogASIxQ/rVqfYs6G C+s41Oni1aSHZr1w1149Uaaui8BIw==
After my original post I realized that actually I could answer my own question with an experiment.
I disconnected the Pi from the network, stopped chrony, set the time to Jan 1 2019, and rebooted.
A few seconds after rebooting, the time jumped back to the correct time, so this seems to prove (?) that it is getting both clock time, *and* PPS, from the one SOCKet.
This is fine, but it does seem to be completely undocumented. And all the internet guides are very out of date. People are going to be confused, like me.
Bill - thanks for your reply. I know I can do it without gpsd, but prefer to keep it around, just in case I ever want to run other things on the same Pi that need to access the same devices. My experiment also seems to show that you’re not correct about the gpsd socket - it does supply both time and pps together. (Unless I’m missing some other magical place it could be getting the time from.)
--
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.