Skip to content

Get PPS working with GPS #13

@geerlingguy

Description

@geerlingguy

I noticed in the course of debugging #12 that cgps / gpsmon aren't showing any PPS output from the GPS module... that would be pretty important to getting nanosecond-accurate time.

I see there are two PPS devices currently:

$ ls /dev | grep pps
/dev/pps0
/dev/pps1

But if I try querying them, I get nothing:

$ sudo apt install pps-tools
$ sudo ppstest /dev/pps0
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)

(Same for PPS1).

gpsmon shows no PPS available:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions