[ntp:questions] Using different timebase for ntpd

Patrick Loschmidt Patrick.Loschmidt at gmx.net
Tue Mar 24 10:53:21 UTC 2009


Greg Dowd schrieb:
> The normal method, and the cleanest, is to provide a reference clock
> driver and let ntp keep the kernel clock synchronized to the card
> timebase.

That I have already done, but I want the ntpd to discipline not the 
kernel clock but an external one in order to implement hardware 
timestamping in a next step.

>  If you are bound and determined to make your own code, the
> place to start is in configure to specify your clock model and then
> systime.c in libntp.

I found that, but I'm not sure, that this is all I have to do, since 
there are calls from ntp_loopfilter.c directly to adjtime(), which is 
not covered by the functions in systime.c ...

>  Be advised that you are not likely to get much
> support for modifications to that file as a great deal of knowledge is
> required to understand the control loop and which variables you can or
> should tinker to match your hardware.
> 
Thanks for the warning, I won't bug anyone with problems in the control 
loop. :-)

Regards,
Patrick




More information about the questions mailing list