[LinuxPPS] A question about the PPS device.
clemens at dwf.com
clemens at dwf.com
Thu Jun 26 00:04:36 CEST 2008
Here is a note (slightly edited) that I sent to Rodolfo,
about installing the N_PPS code in the ONCORE driver.
He suggested that I send it to the whole list in case anyone out there
has any ideas...
---
> Here is a correct statement of the problem:
>
> I open /dev/ttyS0 RW, no problem.
> I then set the line discipline, no problem.
>
> Now in the SAME process I try opening /dev/pps1 RW, that fails.
> If I try RO I can open it.
>
> Strange.
>
> If however I do the first two steps in one process (ttyctrl),
> I CAN open /dev/pps1 RW in a 2nd process (ntpd).
>
> Stranger.
>
> I doubt that makes any sense, but thats what I saw. I just changed
> O_RDWR to O_RDONLY in the ONCORE driver and it ran.
Anyone have any ideas?
--
Reg.Clemens
reg at dwf.com
More information about the LinuxPPS
mailing list