[LinuxPPS] compiling ntpd with pps enabled on Debian for ATOM device
Folkert van Heusden
folkert at vanheusden.com
Sun Jan 13 19:13:54 CET 2008
> > change ntpd/refclock_atom.c line 287 from:
> > up->pps_params.api_version = PPS_API_VERS_1;
> > to:
> > up->pps_params.api_version = PPS_API_VERS;
> Why? In pps.h you have both definitions...
Not in ntp-pps-2.6.22-quater.diff it seems.
> > CFLAGS="-I /usr/src/linux-2.6-2.6.22/include/ -I /usr/src/linux-2.6-2.6.22/Documentation/pps/" CPPFLAGS="-I /usr/src/linux-2.6-2.6.22/include/ -I /usr/src/linux-2.6-2.6.22/Documentation/pps/" fakeroot debian/rules binary
> >
> > There's one problem though:
> > 13 Jan 17:44:49 ntpd[16226]: refclock_atom: time_pps_getcap failed: No such device
>
> Did you pass the right device to the ATOM refclock? Where is connected
> your PPS device?
Please also check my mail with the patch in it: I got to the point where
it seems everything is setup fine but not getting any data.
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