gpsd-users
[Top][All Lists]
Advanced

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

SOCK on RedHat-8 gpsd-3.19-4.el8.1


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-----

  • This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Sent from my iPhone 11 Plus


-----BEGIN PGP SIGNATURE-----
Version: iPGMail (3.6.28)

iEYEAREIAAYFAlr8c1sACgkQi1lOcz5YUMgLkwCfTKXqE5KBcG7msxvtO8O/ReYu6gwAnj3Rgvsq
C+KdyOLBv6qIvB4LERVD
=+mv5

-----END PGP SIGNATURE-----

  • This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Sent from my iPhone 11 Plus

reply via email to

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