[LinuxPPS] Re: [Bug 610] Generic NMEA GPS Receiver driver w/ PPS expects PPS after NMEA data

Udo van den Heuvel udovdh at xs4all.nl
Sun Oct 28 08:53:25 CET 2007


Frank Kardel via the NTP Bugzilla wrote:
> So I suggest:
>   - test if you can open /dev/gpsppsX and to a pps_create first
>     - if that succeeds use it else
>     - try the pps_create on the master device
>     that way you can overrule the master device by *configuring* the
>     pps device in the file system.

So first open /dev/gpspps0 to get PPS there
	- if it fails, use /dev/gps0 next
	- if it succeeds get PPS
Then open /dev/gps0 to get NMEA and *optionally* PPS


Is this the right approach?

>   - change the name of the pps device to /dev/gpsppsX

Easy.

>   - fix the documentation for this clock to reflect the new semantics

Interesting!




More information about the LinuxPPS mailing list