[LinuxPPS] LinuxPPS for kernel 2.6.26

Cirilo Bernardo cirilo.bernardo at gmail.com
Tue Jul 15 13:42:56 CEST 2008


On Tue, Jul 15, 2008 at 9:05 PM, Udo van den Heuvel <udovdh at xs4all.nl> wrote:
> Rodolfo Giometti wrote:
>>> That would be great, but is the '&' issue to be solved? Why do I have to
>>> fork ttyctrl or
>>> ppsldisc into the 'background' here? Perhaps it would be
>>
>> Because you need someone keeping the serial port open(), since after
>> (last) closing the line discipline turns automagically to N_TTY.
>
> So we open iit with ttyctrl, start ntpd and then kill ttyctrl, right?
>

I would suggest not killing the process until after ntpd is stopped
via the script; after all, ntpd can be stopped and restarted, clocks
can be dynamically added and removed from ntpd's list, and ppsldisc
will have to become psychic to know when to re-open a file.  ppsldisc
wouldn't need much change to allow it to sit in the background
becoming active only every 5 minutes or when a signal is received from
the OS.

- Cirilo



More information about the LinuxPPS mailing list