[arm-allstar] GPS as time source
Doug Crompton
wa3dsp at gmail.com
Fri Jun 12 16:54:16 EDT 2020
Rob,
I have never done this but some quick googling shows that it works
directly with ntp. Since we do not use ntp but rather timesyncd you may not
be able to do it that way. You would either have to turn off timesyncd and
load ntp or do it some other way. Since this would always be overwritten
with Linux code updates I would recommend trying it with a script. Here is
an example -
https://unix.stackexchange.com/questions/97224/setting-time-through-gps-dongle
This reads the time and sets the clock via the date command. You would need
to run this periodically to sync the time.
There might be a better way with more research.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Fri, Jun 12, 2020 at 4:50 PM "Robert Conklin via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> I can see my GPS receiver is working using "gpsmon" and "cgps -s", and that
> the gps is on port "dev/ttyACM0".
> Seeking advice on how to specify the gpsd parameters in order to use the
> GPS to provide time to the system in absence of network connectivity.
> Apologies for requesting details on how to do this. I have read and re-read
> "man gpsd", and information at GPSD project sites and simply don't have the
> programming experience or expertise to connect the dots in using the GPS
> data as a time source in Hamvoip.
> Thank you for your time and any assistance you can provide.
>
> Rob Conklin
> N4WGY
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list