gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] Can't connect Chrony to Gpsd on Fedora 29 - no sharing memo


From: Askar Ibragimov
Subject: [gpsd-users] Can't connect Chrony to Gpsd on Fedora 29 - no sharing memory data and no polling via sock
Date: Sun, 17 Feb 2019 14:10:56 +0200

Hello!

Trying to setup vanilla-state gpsd+chrony on Fedora 29. Both are taken from repo of the Fedora
It's 3.17 of gpsd and GPS UBLOX6 is connected to COM1.

Given:
- cgps shows valid data after some warm-up.
- I have installed ppstest and it outputs data such as

trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1550404456.105416252, sequence: 5199 - clear  1550404457.005415854, sequence: 5200
source 0 - assert 1550404457.105287106, sequence: 5200 - clear  1550404457.005415854, sequence: 5200
source 0 - assert 1550404457.105287106, sequence: 5200 - clear  1550404458.005427186, sequence: 5201

However, ntpshmmon does not output anything.  

Also, used  the configs  for chrony directly pasted from http://www.catb.org/gpsd/gpsd-time-service-howto.html#_feeding_chrony_from_gpsd

refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2
refclock SHM 1 refid PPS precision 1e-9

with no polling happening, which confirms the situation that I do not see shared memory activity. I can see that 'gpsd' is running as nobody, can it be the cause and if yes, how to tell it to remain root? It is being run via standard startup script from the Fedora distro, that only was tweaked to point GPSD to the /dev/ttyS0 port.

Additionally, I have tried to set up chrony  by using, again, copypasted info from your documentation (chrony was restarted before gpsd):
refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2
refclock SOCK /var/run/chrony.ttyS0.sock refid PPS

which, again, provided no polling. Just in case /var/run/chrony.ttyS0.sock was set to full permissions for everyone. 

I appreciate advice on how to finalize the setup on Fedora.

Cheers, 








reply via email to

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