[LinuxPPS] PPS/ntpd fails on fresh startup

Udo van den Heuvel udovdh at xs4all.nl
Wed Oct 15 14:01:53 CEST 2008


Udo van den Heuvel wrote:
> Rodolfo Giometti wrote:
>> The "line" parameter should be 18.
> 
> It is:

BTW: ntp_refclock.h

/*
 * Line discipline flags. These require line discipline or streams
 * modules to be installed/loaded in the kernel. If specified, but not
 * installed, the code runs as if unspecified.
 */
#define LDISC_STD       0x00    /* standard */
#define LDISC_CLK       0x01    /* tty_clk \n intercept */
#define LDISC_CLKPPS    0x02    /* tty_clk \377 intercept */
#define LDISC_ACTS      0x04    /* tty_clk #* intercept */
#define LDISC_CHU       0x08    /* depredated */
#define LDISC_PPS       0x10    /* ppsclock, ppsapi */
#define LDISC_RAW       0x20    /* raw binary */
#define LDISC_ECHO      0x40    /* enable echo */
#define LDISC_REMOTE    0x80    /* remote mode */
#define LDISC_7O1      0x100    /* 7-bit, odd parity for Z3801A */




More information about the LinuxPPS mailing list