[LinuxPPS] More on problem with the PPS Device.

clemens at dwf.com clemens at dwf.com
Mon Jun 30 19:12:12 CEST 2008


> Rodolfo Giometti wrote:
> > 2) we made the /dev/pps{N} devices statically hiding the ldisc
> > settings inside the time_pps_create() (as already prposed).
> > 
> > I vote for 1! :)
> 
> 2, if possible.
> 
I commented on this in a previous note.
time_pps_create is called with the FILE DESCRIPTOR of the PPS device.
It knows nothing about the serial device.
So, one cant set ldisc there since one doesnt have the file descriptor of the
serial device.
AND, if one hasnt done the set ldisc, there is no file, so there cant be any
file descriptor to call time_pps_create with.
end of (2).
-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list