[LinuxPPS] pps stops when ntpd starts?

Rodolfo Giometti giometti at enneenne.com
Wed Jun 10 11:48:01 CEST 2009


On Tue, Jun 09, 2009 at 01:04:50PM -0500, William S. Brasher wrote:
> On Tue, 9 Jun 2009, Rodolfo Giometti wrote:
> 
> > 
> > As you can see ldattach calls ioctl() while pps does not.
> > 
> > The problem can be in serial8250_set_termios() if CTS flow control is
> > disabled...
> > 
> > Can you please add a printk() into serial8250_set_ldisc() and into
> > serial8250_enable_ms() in drivers/serial/8250.c in order to see if the
> > functions are called or not and with which parameters' value?
> > 
> > Ciao,
> > 
> > Rodolfo
> > 
> 
> I stuck a printk in the two functions and neither function was called.

That's quite strange... =:-o can I see the code you added (just send
diff output).

Function serial8250_set_ldisc() should be cale each time the ldisc is
changed.

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