RE: [chrony-users] Refclock Integration Advice

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


So if I'm understanding the shell command correctly, it prints the assert value it sees (the positive edge of the PPS) and then prints the clear value (the negative edge of the PPS)?

Assuming that's right, somehow its overlapping itself? From the attached image (I drew red lines to help separate), the first and second asserts are the same, but the "clear"s are different. Shouldn't the first clear prevent the second assert from being 'behind'/earlier than the first clear? Somehow its stepping backwards in time?

-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx> 
Sent: Monday, November 23, 2020 10:05 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Refclock Integration Advice

On Mon, Nov 23, 2020 at 02:56:58PM +0000, Chang, Benjamin wrote:
> So it does seem like the PPS isn't updating my timestamps. 
> However, ppswatch does receive updated timestamps? See attached. 
> 
> What could be causing my PPS to "register" but not update timestamps? That seems counterintuitive to the system (granted I am a rookie in all this). 

Maybe it's registering reliably only one edge of the pulse? Compare the assert and clear events with:

while sleep 1; do cat /sys/class/pps/pps2/{assert,clear}; done

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

Attachment: Capture.PNG
Description: Capture.PNG



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