[LinuxPPS] ntpd

Folkert van Heusden folkert at vanheusden.com
Wed Aug 2 13:09:49 CEST 2006


oh hold on, i should've done this:
test/ppstest 1

that works:
keetweej:/usr/src/linuxpps-current# test/ppstest 1
found PPS source #1 "pps_8250_1" on "/dev/ttyS1"

but it doesn't give any events


On Wed, Aug 02, 2006 at 01:04:11PM +0200, Folkert van Heusden wrote:
> > > 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


Folkert van Heusden

-- 
www.vanheusden.com/multitail - multitail is tail on steroids. multiple
               windows, filtering, coloring, anything you can think of
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the LinuxPPS mailing list