[LinuxPPS] PPS/ntpd fails on fresh startup

Udo van den Heuvel udovdh at xs4all.nl
Wed Oct 15 13:15:32 CEST 2008


Luca Bertagnolio wrote:
> On Wed, Oct 15, 2008 at 12:27 PM, Rodolfo Giometti
> <giometti at enneenne.com> wrote:
>> LinuxPPS is 18.
> 
> hmmm... can you give me any hint as to I can "verify the current LDISC" on my
> system, Rodolfo?
> 
>> If so I suppose this code may help us in solving our LDISC problem. We
>> only have to find a suitable mode to tell NTPD to set N_PPS ldisc
>> instead of the wrong one...
> 
> Good to know that we're starting to see light at the end of the
> tunnel.  Still, I
> dont' quite understand why running ntpd the first time doesn't work, and the
> second one does...

In reflock_nmea I see in nmea_start as one of the first things:

        fd = refclock_open(device, SPEED232, LDISC_CLK);

So if this is a problem, why does the clock work?



More information about the LinuxPPS mailing list