Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PPS source support #1776

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add PPS source support #1776

wants to merge 4 commits into from

Conversation

michielp1807
Copy link
Contributor

Builds on #1768 to be able to use Pulse Per Second devices in ntpd-rs using the pps-time crate, closing #1633.

Example config:

[[source]]
mode = "sock"
path = "/run/chrony.ttyAMA0.sock"
measurement_noise_estimate = 0.001

[[source]]
mode = "pps"
path = "/dev/pps0"
measurement_noise_estimate = 0.0001

TODO:

  • Add documentation for using PPS sources in ntpd-rs
  • During testing I noticed it would run into this debug assert when using GPSD. It would probably be good to do some more testing 🙂

@michielp1807 michielp1807 linked an issue Dec 19, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement linux kernel pps reading
2 participants