On Nov 15, 2023 at 8:42 PM -0600, jo...@sdf.org, wrote: > Hello -- Does NetBSD support PPS output from a USB GPS? I'm > using NetBSD 10 RC1. > > I have a USB GT-U7 GPS module attached, and I have gpsd running on > /dev/ttyU0 and receiving GPS data. This looks good. > > After configuring ntpd, when I run ntpshmmon, I'm seeing NTP0, but no > NTP2. If I understand correctly, NTP2 is PPS. This seems to be confirmed > with ntpq -p, where I don't see a PPS peer. > > I unfortunately couldn't find anything when searching on this topic. > > My goal is to replace an aging RPi3 with a Rock64 running NetBSD as an NTP > stratum 1 server.
I believe you have to use gpioctl(8) to mark the pin as the PPS pin. There's some helper scripts on https://anduin.eldar.org/stratum-1/ that you might be able to use. -Dustin