[LinuxPPS] pps stops when ntpd starts?

Udo van den Heuvel udovdh at xs4all.nl
Thu Jun 11 11:18:16 CEST 2009


William S. Brasher wrote:
> --- ldattach.c.org      2009-06-10 06:46:50.000000000 -0500
> +++ ldattach.c  2009-06-10 08:57:12.000000000 -0500
> @@ -237,6 +237,9 @@
>         ts.c_cflag |= (PARENB|PARODD);
>         break;
>      }
> +
> +    ts.c_iflag |= (IGNBRK|ICRNL);
> +
>      ts.c_cflag |= CREAD;       /* just to be on the safe side */
>      if (tcsetattr(tty_fd, TCSAFLUSH, &ts) < 0)
>         err(EXIT_FAILURE, _("cannot set terminal attributes for %s"), 
> dev);


iflag? cflag is mentioned elsewhere.

Also: with this change on my Epia I still don't see pps with ldattach.
Any idea why?

Udo



More information about the LinuxPPS mailing list