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

Udo van den Heuvel udovdh at xs4all.nl
Mon Oct 29 12:24:21 CET 2007


Rodolfo Giometti wrote:
> I'm not completely agree with your solution... you can recognize a PPS
> source by using both open() and time_pps_create().

That's a matter of definition.

> In your solution if the alternate device is a valid char device but
> not a PPS source you return error without trying the main
> device. 

Not true. I retry the stored fd for NEMA data for PPS.

> Instead, NTPD folks asked to you to check first the alternate
> device for a PPS source and then fall back to the main device.

I do.
I am at work now, so if I am mistaken please clarify.

Udo



More information about the LinuxPPS mailing list