Bryan,

I changed chrony.conf to include:

refclock SHM 0  precision 1e-1 offset -0.135 delay 0.5 refid NEMA
refclock SHM 1 offset 0.00135 delay 0.1 refid PPS
refclock SOCK /var/run/chrony.ttyAMA0.sock offset 0.00135 delay 0.0 refid SOCK

Now 10 minutes after restarting chronyc sources outputs:

pi@gps ~/SystemFiles $ chronyc sources
210 Number of sources = 7
MS Name/IP address      Stratum Poll LastRx Last sample
=======================================================================
^~ tock.usshc.com           1    6     41   -263ms[ -263ms] +/-   61ms
^~ pacific.latt.net         3    6     21   -323ms[ -323ms] +/-   82ms
^x leeloo.scurvynet.com     2    6     13   -317ms[ -317ms] +/-  127ms
^~ repos.lax-noc.com        2    6     22   -326ms[ -326ms] +/-   63ms
#x SHM0                     0    4     21    +18ms[  +18ms] +/- 3102us
#? PPS                      0    4    10y     +0ns[   +0ns] +/-    0ns
#? SOCK                     0    4    10y     +0ns[   +0ns] +/-    0ns


So SHM0 does show up.  Still question the use of chrony.ttyAMA0.sock?

Deven



On 2/18/2016 3:23 PM, Bryan Christianson wrote:
I have this config working on a RP 2 - different PPP device but substituting 
your device for mine and adjusting the offsets to suit your device may work. I 
got this config from the gpsd web site

# SHM0 from gpsd is the NEMA data at 4800bps, so is not very accurate
refclock SHM 0  precision 1e-1 offset -0.135 delay 0.5 refid NEMA

# SHM1 from gpsd (if present) is from the kernel PPS_LDISC
# module.  It includes PPS and will be accurate to a few ns
refclock SHM 1 offset 0.00135 delay 0.1 refid PPS

# SOCK protocol also includes PPS data and
# it also provides time within a few ns
refclock SOCK /var/run/chrony.ttyUSB0.sock offset 0.00135 delay 0.0 refid SOCK

--
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-users-requ...@chrony.tuxfamily.org with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to