[ntp:questions] Registering a new reference clock driver to NTP4

Mike Cook michael.cook at sfr.fr
Tue Feb 21 13:28:58 UTC 2017


AFAIK no new ref clock integrations are being accepted at this time. Check with Harlen Stenn ( stenn at nwtime.org ) who will know.

What is needed is an Interface Description Language to enable one driver to handle all clocks.
Then it would only need a « refclock.conf » 

> Le 21 févr. 2017 à 13:31, Erdem Ersagun <eersagun at gmail.com> a écrit :
> 
> 28 Kasım 2016 Pazartesi 16:19:51 UTC+3 tarihinde Terje Mathisen yazdı:
>> Erdem Ersagun wrote:
>>> Hello,
>>> 
>>> I couldn't find any documents clarifying the process to apply for a
>>> new reference clock driver.
>>> 
>>> Here in our projects, we use a custom time card (reference clock) for
>>> time synchronization among multiple network peers. We developed a
>>> software which reads the time from the device and adjusts the
>>> operating system time. Now we want to replace our software with NTP4
>>> and want to register this time card to NTP world and contribute any
>>> header/source files so that we can use standard NTP distributions.
>>> 
>>> How can we reserve a reference clock ID defined in .include/ntp.h
>>> file? When I downloaded the NTP source code it says "If you want to
>>> add a new refclock let us know and we'll assign you a number." in the
>>> README.refclocks file. But no contact is given.
>> 
>> By far the easiest method to interface with a new clock is to write a 
>> SHM (Shared Memory) driver for it!
>> 
>> There are multiple examples of people who have already done this, a 
>> little bit of googling should find them for you.
>> 
>> Good Luck!
>> 
>> Terje
>> 
>> -- 
>> - <Terje.Mathisen at tmsw.no>
>> "almost all programming can be viewed as an exercise in caching"
> 
> Thank you for your reply. I should clarify my question:
> 
> We have already prepared our reference clock driver which uses the address "127.127.47.0". 
> 47 is not used in ntp-4.2.8p8. Now we want to commit our reference clock driver to ntp community so that ntp will provide built-in support to our reference clock just like Bancomm or any other reference clock listed in ntp.h header file.
> 
> Is it possible?
> 
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions

"The power of accurate observation is commonly called cynicism by those who have not got it. »
George Bernard Shaw



More information about the questions mailing list