[LinuxPPS] ntpd
Folkert van Heusden
folkert at vanheusden.com
Wed Aug 2 13:04:11 CEST 2006
> > In the patch for ntpd I found that this code:
> > [snip]
> > in ntpd/refclock_nmea.c is not used at all when compiling! As this
> > seems to be an important part of it I wonder what to do.
> > configure switches:
> > ./configure --disable-all-clocks --disable-parse-clocks --enable-linuxcaps --enable-NMEA --enable-LOCAL-CLOCK --enable-ATOM --enable-RAWDCF
> Verify that the kernel tree you are compiling against is the one
> patched with LinuxPPS. Maybe "configure" has a switch to define it.
Found it: you need to enable HAVE_PPSAPI in config.h. Then you need to
include some includefile in a couple of files to get it compile.
But then:
ntpd is running
keetweej:/usr/src/linuxpps-current# ntpq -c pe
keetweej:/usr/src/linuxpps-current# ntpq -c pe
remote refid st t when poll reach delay offset jitter
==============================================================================
+GENERIC(0) .DCFa. 0 l 16 64 3 0.000 4.703 0.291
PPS(0) .PPS. 0 l - 64 0 0.000 0.000 0.001
then i run ppstest:
keetweej:/usr/src/linuxpps-current# test/ppstest
found PPS source #0 "pps_8250_0" on "/dev/ttyS0"
that is incorrect! the gps is connected to ttyS1
kernel with latest patch from git
i also tried with the ktimer client-module instead of ntpd, same result
Folkert van Heusden
--
Looking for a cheap but fast webhoster with an excellent helpdesk?
http://keetweej.vanheusden.com/redir.php?id=1001
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
More information about the LinuxPPS
mailing list