[LinuxPPS] linuxpps-v5.3.2 is missing ioctl32 compatibility

Rodolfo Giometti giometti at enneenne.com
Tue Oct 28 15:47:35 CET 2008


On Tue, Oct 28, 2008 at 07:14:14AM -0400, George Spelvin wrote:
> "Cirilo Bernardo" <cirilo.bernardo at gmail.com> wrote:
> > There has been some discussion before that a possible execution path
> > within ntpd may set the line discipline back to N_TTY (or perhaps the
> > request to change the line discipline is not handled correctly by the
> > serial driver?)
> 
> I thought it was just the multiple calls to time_pps_setparams() was confusing the
> kernel somehow.

I think the IRQs are disabled by NTPD...

> > I don't see a point in being able to use both CAPTUREASSERT and
> > CAPTURECLEAR - usually only one of these provides a reliable timing
> > reference and the other will have a (usually) unspecified jitter.
> > Also, if the association is on a per-file descriptor basis, how do we
> > make the selection without trying to push more changes through NTPD?
> 
> Well, the PPS API provides it, so I think it's useful.  And it lets you
> run ppstest while ntpd is running without screwing it up.

No, if you have one device all settings should apply to that device
without restrictions, userland process should syncronize each
other. Mechanism, not policy!

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti



More information about the LinuxPPS mailing list