[LinuxPPS] How to use PPS to adjust system clock time ?
Rodolfo Giometti
giometti at enneenne.com
Sat Feb 16 13:08:12 CET 2019
On 16/02/2019 11:47, Ran Shalit wrote:
> Right, I am familiar with this page, and tried to understand it.
> Actually it is related to my original question.
> In 4.1 there are several steps:
> 1. attach PPS to a "kernel consumer" , and lock phase and frequency in kernel (PPS_KC_BIND).
> 2. use adjtimex in userland
>
> What I don't understand is what PPS_KC_BIND actually does. There is almost no documentation of this.
> Does it actually synchronize the system clock with pps ?
> If it does it is exactly what I need, and means that I can achieve this sync without ntp, or any other clock adjustment from userland.
>
> I also assume that doing step (1) is sufficient, i.e. I don't need to ever do to step (2) of adjtimex, if I do step (1), Right ?
I think so but I never used it. :(
Maybe you can ask to kernel consumer author for further information.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
More information about the discussions
mailing list