[LinuxPPS] RIPE NCC interface: needing help
Kiss Gabor (Bitman)
kissg at ssg.ki.iif.hu
Tue May 25 16:16:42 CEST 2010
> > Udo, can you please provide suitable documentation for this?
>
> Sure.
> Please explain 'configure' line and some ntp.conf sample for this clock.
When configuring --enable-RIPENCC is needed.
Compared to original ntpd there are no changes in ntp.conf.
E.g. at this moment I test
with these settings:
server 127.127.43.0 # RIPENCC
fudge 127.127.43.0 time1 0.0002
fudge 127.127.43.0 stratum 13
The only thing the user must care: (s)he have to create another
symlink (aside /dev/gps$UNIT) called /dev/gpspps$UNIT.
(Just like in case of NMEA driver.)
More exactly the PPS device selection is done as follows:
If ntpd can open /dev/gpspps$UNIT this will be the PPS source.
Otherwise if API supports time_pps_findsource() it is used to find
a an appropriate source of PPS. (As Rodolfo wrote.)
If time_pps_findsource() fails or no time_pps_findsource() at all
driver uses the serial device (/dev/gps$UNIT) in order to be
compatible with old API.
> Also where is the patch to be fetched from by the wiki users?
Pardon?
I sent you the patch today.
I thought it could be put aside Rodolfo's patch on ftp.enneenne.com.
Do you want me to publish it on my web site? No problem.
http://bakacsin.ki.iif.hu/~kissg/pd/ntp/patch.ntp-4.2.6-refclock_ripencc.c
Regards
Gabor
More information about the LinuxPPS
mailing list