Re: [chrony-users] Newbie Help Needed

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Thu, Jan 04, 2018 at 02:14:58PM -0800, Stuart Maclean wrote:
> 
> > That could work. However, you will need to either combine the PPS
> > timestamp with the serial data,
> 
> I thought that by setting BOTH the clockTimestampSec, from the Linux
> system time at moment of PPS fire, AND the receiveTimestampSec, from the
> CSAC's time value, that I WAS combining the PPS data with the serial
> data ???

Yes, if the CSAC's timestamp always corresponds to the PPS timestamp.
If the message can be late, early, or missing completely, you would
need to be more careful with combining the data.

Have you tried this approach?

>  or provide two separate refclocks (one
> > PPS and one non-PPS) and let chronyd combine the data.
> > 
> 
> When you talk of a 'PPS refclock', does this mean that this 'refclock'
> is fed samples of Linux system time, with those times corresponding to
> PPS fire events from my CSAC?

The sample time is the system time when the PPS timestamp was captured
by the kernel and the offset is just a sub-second part of the
timestamp. The integer part of the offset is unknown.

-- 
Miroslav Lichvar

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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/