Chad Andrist replied to the topic 'Still weird issue with GPS time' in the forum. 6 years ago

Kaczorek wrote: RPi does not have RTC (real time clock) so it boots at 01-01-1970 and needs to set proper time/date from some source. In a standard configuration it uses network to accomplish this goal. For many years NTP service has been used to sync operating system time to network based source. NTPD service also supports non-network sources such as GPSD service, so you can set operating system time even if you don't have Internet connection e.g. from gps device. So it is NTP service that sets your operating system time, not indi-gpsd driver. indi-gpsd driver reads operating system time and timezone to calculate offset and DST - if they are not correct you get the issues exactly you have described.

However NTP service has been replaced by timesyncd service in the recent ubuntu releases (which I believe is insane). For the sake of compatibility, timesyncd disables execution bit on ntpd service at the boot time. As the result NTP service runs fine after reinstallation and will not run after reboot. Moreover timesyncd service requires Internet connection and cannot use gps as a time/date source. To fix it you need to revert from timesyncd service to NTP service to support off-line time/date setting from gps. See example approach here


Ohhhh, well then this pieces it together for me. I guess I'll be purging timesyncd and reinstalling NTP! Without your sage knowledge I would've never known. I will try to see if I can get proper time to set after satellite lock. I have modified my ntp.conf file to use GPSD as a means to set the local time via NTP, once I get NTP running hopefully this works

Thanks!

Read More...