[LinuxPPS] 17Jun Patch

Cirilo Bernardo cirilo.bernardo at gmail.com
Wed Jun 18 01:13:17 CEST 2008


On Tue, Jun 17, 2008 at 11:02 PM, Reg Clemens <reg at dwf.com> wrote:
> The (2nd) patch applies just fine to 2.6.24.4, but when built the clock is not
> running.
> I see
>
>    [reg at deneb pps1]$ more assert
>    0.000000000#0
>
> on both pps0 and pps1.
>
> As mentioned in my previous note, the following  is a test program that
> returns the LineDiscipline,
>
> [root at deneb reg]# a.out /dev/ttyS0
> Line Discipline = 17
> [root at deneb reg]# a.out /dev/pps1
> IOCTL returned -1
>
> and having 17 for the serial line and -1 (error) for the PPS line just doesnt
> look right.
>

It looks right to me; the PPS virtual device is not a TTY so the IOCTL
should fail.  It is the GPS device which should continue to function
as a TTY and essentially be unaffected by the PPS line discipline.

- Cirilo



More information about the LinuxPPS mailing list