Thanks. The side-by-side let me track it down to ntpshm_link_activate()
gpsd/timehint.c
Here is the code:
/* don't talk to NTP when we're:
* reading from a file
* reading from a pipe
* reading from a remote gpsd
* running inside the test harness (PTY)
* over TCP or UDP
*/
if (SOURCE_BLOCKDEV == session->sourcetype ||
SOURCE_GPSD == session->sourcetype ||
SOURCE_PIPE == session->sourcetype ||
SOURCE_PTY == session->sourcetype ||
SOURCE_TCP == session->sourcetype ||
SOURCE_UDP == session->sourcetype) {
return;
}
I'll need to think about it, but I think if I remove the SOURCE_GPSD
line, that may do the trick. Any gpsd feed should be sorta real-time,
and if the NTP is setup correctly, bad time should be ignored.
You can try removing that line to see if it works for you.