[LinuxPPS] Not seeing PPS with new stuff (More)

Cirilo Bernardo cirilo.bernardo at gmail.com
Wed Jun 11 02:08:53 CEST 2008


On Tue, Jun 10, 2008 at 6:14 PM,  <clemens at dwf.com> wrote:
>
> OK, I built with 2.6.24 so both patches fit w/o having to change anything.
> Still have problems.
>
> When I do:
>
>    ./ttyctrl -X -s 17 /dev/pps0
>
> The message I get is:
>
>    ttyctrl: unable to set line discipline "17" for device "/dev/pps0"
> (Inappropriate ioctl for device)
>
> /dev/pps0 is the only /dev/pps{n} device that exists so that part is right.
>
> Any thoughts?
>
> (Incidently, Im getting errors when compiling ttyctrl, had to use the
> precompiled version)
>

Check that the line discipline code has been compiled.  I can't
remember how these disciplines are made known (do they have to call
code to 'register') but you can look at the ppp line discipline
(kernel) and the ppd source as examples of a fairly simple discipline
and how it works.

- Cirilo



More information about the LinuxPPS mailing list