[LinuxPPS] ntp-dev-4.2.5p237-RC does sync with PPS for me
William S. Brasher
billb958 at door.net
Tue Oct 27 05:33:03 CET 2009
On Mon, 26 Oct 2009, clemens at dwf.com wrote:
>
> I am unfamiliar with the NMEA driver, but from what I have seen with
> the ONCORE driver, I can guess what the problem is.
>
> Check the code where you get the PPS event, see if you blindly
> pass it 'up' to the rest of the code. If that is the case, and
> you are using ASSERT, you need to add a piece of code that will
> ignore the 2nd event with the same id. This will be the CLEAR
> event.
>
> As I have noted in a couple, three, posting, linuxPPS is currently
> passing both ASSERT and CLEAR events, even though you only selected
> ASSERT (or CLEAR).
>
> The ONCORE driver sees this 2nd occurance of a ID (the sequence
> number that comes along with the timestamp) as an error, and
> ignores it, but if the NMEA driver is passing both upward into
> the code, I can see how you would be having problems.
>
> Hopefully, this will be fixed in the next iteration of the
> kernel patch.
> --
> Reg.Clemens
> reg at dwf.com
>
>
>
Sounds reasonable, and should be a good place to look for problems.
More information about the LinuxPPS
mailing list