[time-nuts] OpenBSD / ntpd / gpsd / PPS problems

Chris Kuethe chris.kuethe at gmail.com
Sun Oct 25 04:08:34 UTC 2009


On Sat, Oct 24, 2009 at 8:52 PM, Rich Wales <richw at richw.org> wrote:
> Despite the claim (see above) that gpsd uses OpenBSD's NMEA line discipline
> to export PPS time stamps, I can't find any substantiation for this in
> the gpsd source code.  I tried enabling the NMEA line discipline manually
> on the GPS's serial port (via the ldattach command), but this made gpsd
> totally unable to read anything from the GPS at all.

I removed the special-casing that would cause gpsd to activate the
nmea(4) line discipline. The way I'm now doing this is to get ldattach
to relay through a pty, and gpsd can read that pty.

you can do something like this in /etc/rc.local:
    gpsd -n $(ldattach -t dcd nmea cua01)

CK


-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



More information about the time-nuts mailing list