|
From: | David Cottle |
Subject: | SOCK on RedHat-8 gpsd-3.19-4.el8.1 |
Date: | Mon, 11 Apr 2022 15:29:40 -0700 |
Hey Gary and All, Has anybody got SOCK running on RedHat-8 / CentOS-8? I’m using an old Motorola in binary mode with PPS over serial. Configured /etc/sysconfig/gpsd it’s ttyS0, etc. Set options in chrony.conf. # SHM0 from gpsd is the NMEA data at 4800bps, so is not very accurate refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 # # PPS is from the /dev/pps0 device. Note that # chronyd creates the /var/run/chrony.ttyS1.sock device, but # gpsd creates the /dev/pps0 device # openrc rules start gpsd /after/ chronyd, so /dev/pps0 # is not created until after chronyd is started # If you want to use pps0, either edit the openrc rules # or add this source after gpsd is started # refclock PPS /dev/pps0 refid PPS precision 1e-7 # # SOCK protocol also includes PPS data and # it also provides time within a few ns refclock SOCK /var/run/chrony.ttyS0.sock delay 0.0 refid SOCK Result I’m seeing: MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== #x GPS 0 4 377 22 -922ms[ -922ms] +/- 100ms #x PPS 0 4 377 20 +203ms[ +203ms] +/- 34us #? SOCK 0 4 0 - +0ns[ +0ns] +/- 0ns ^+ time-d-b.nist.gov 1 10 377 1102 +450us[ -168us] +/- 39ms ^- clock.isc.org 3 10 377 662 -4362us[-4362us] +/- 115ms ^+ clock.nyc.he.net 1 10 377 515 -239us[ -239us] +/- 41ms ^- tick.eoni.com 3 10 377 142 +200us[ +200us] +/- 176ms -cut- I’ve disabled firewalld and tried selinux permissive. Can’t get the SOCK time. I’m hoping someone’s had the issue. Cheers, David -----BEGIN PGP SIGNATURE----- Version: iPGMail (3.6.28) iEYEAREIAAYFAlr8cq0ACgkQe1dZu63tTkahBwCeJ2TPTBphNMfoHTWCS+mOwUppfuEAoMmrlcBz 3KRQqwJ1knu/QLVf5QzD =7LDr -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE----- Version: iPGMail (3.6.28) iEYEAREIAAYFAlr8c1sACgkQi1lOcz5YUMgLkwCfTKXqE5KBcG7msxvtO8O/ReYu6gwAnj3Rgvsq C+KdyOLBv6qIvB4LERVD =+mv5 -----END PGP SIGNATURE-----
|
[Prev in Thread] | Current Thread | [Next in Thread] |