My experiences of gpsd are not good.  It didn’t (three years ago) have recovery 
in case it got out of sync with NMEA messages. When it stopped 

working, you had to kill it and restart

 

From: Lars Munch [mailto:l...@segv.dk] 
Sent: Samstag, 8. Mai 2021 13:58
To: linuxptp-devel@lists.sourceforge.net
Subject: [Linuxptp-devel] gpsd support in ts2phc

 

Hi

 

I have been using ts2phc directly to my GPS using serial connection to get NMEA 
sentences. This is working fine but then I cannot  get status from the GPS 
while ts2phc is running. Therefore I have been pondering on how to add gpsd 
support to ts2phc. There are several options, maybe more:

 

1. Use the time provided by gpsd to ntpshm. This can be implemented without 
dependencies to gpsd.

2. Use libgpsd to get the time, but that adds a dependency to gpsd

 

I might also be able to use gpspipe and socat to get the NMEA sentences from 
gpsd to ts2phc, but that is not very elegant.

 

Any suggestions?

 

Thanks

Lars

 

_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to