| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This enables us to force readonly off while it's being called.
The practical effect is that gpsmon can get a firmware version (if this
is possible) without reconfiguring the device.
|
|
|
|
|
|
|
| |
This time, the NMEA privarte storage is outside the union, so mode-switching
won't step on stuff.
All regression tests pass.
|
| |
|
| |
|
|
|
|
| |
All regression tests pass.
|
|
|
|
|
|
|
| |
Required a regression-test rebuild, of course. The field is still set by
the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be
possible to eliminate the TSIP uses, but so far attempting this has
produced odd regression-test failures.
|
|
|
|
| |
All regression tests pass.
|
|
|
|
|
|
| |
The factoring on this could use some cleanup.
All regression tests pass. PPS is live in both gpsd and gpsmon.
|
|
|
|
|
|
|
|
| |
It came in way, way out of sequence ansd screwed something up. He may
have been fixing some real problem, however. This requures
investigation.
All regression tests pass.
|
|
|
|
| |
All regression tests pass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was broken by commit 575444. The check if the PPS time isn't
referenced with an old message time used PPS offset instead of the
difference between local PPS time and local time of the last message.
The PPS sample was reported via SHM or chrony socket only if the offset
was between -1 and 1000001 seconds.
Keep the local timestamp of the last fix in struct gps_device_t in
addition to the real timestamp and use it to check the PPS delay.
Rename the l_offset variable to delay to avoid further confusion.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
...actually revealed a bug - device-shutdown messages getting lost on the
way out to the test clients. This set of changes mostly fixes it. Some
glitches remain; this state of things passes all regression tests but
attempting to get rid of what now ought to be unnecessary code in fake.py
does not pass. To be continued...
|
|
|
|
|
|
|
| |
No logic changes. All regression tests pass.
The real point here is to get all the code for time-related edge cases
into timebase.c so it can be reviewed as a unit.
|
| |
|
|
|
|
|
| |
That is, rather than having to interpolate them. This required two
regression-test rebuilds in obvious places.
|
|
|
|
| |
Correct initialization observed oon SiRF-III. All regression tests pass.
|
| |
|
|
|
|
|
| |
Works on a BU-355 (SiRF-III); at least, it gets through the configuration
sends with little stalling.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Way too much logging was happening at LOG_IO level, which is intended for
watching data traffic in and out of the daemon rather than all the minutiae
of data analysis - that's LOG_DATA.
Also, LOG_DATA gets pushed down two levels. The effect is that -D 5
means exactly what it did, but for purposes other than driver debugging
-D 4 now suffices.
|
|
|
|
|
| |
The can't-turn-off-NMEA bug went away. I think it was the port ID fix
to the u-blox driver, though I don't see how. I'll take it....
|
| |
|
| |
|
|
|
|
|
|
|
| |
This required some unfortunate klugery because the GR601-W is a USB device
that nevertheless has port ID 1 in the u-blox CFG-PRT message (associated
with the primary USART) rather than port ID 3 which is what u-blox USB
would give it.
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
| |
Should be no functional change.
Thanks to: Michael Tatarinov <kukabu@gmail.com>
|
|
|
|
|
|
| |
I don't think having barriers is worth the hassle we get from breaking
peoples' builds in odd environments. Not for GPSD, anyway; they
matter more elsewhere.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
No logic changes in this commit. We push naosecond precision closer to
where time hints are shipped. Changes to ppsthread.c are kept minimal;
it needs a cleanup but that will be done in another change that can be
separately reviewed.
All regression tests pass. PPS is live in gpsmon and reported by gpsd.
|
| |
|
|
|
|
| |
All regression tests pass. PPS is live.
|
| |
|
|
|
|
| |
Also, further contain the latter.
|
|
|
|
|
| |
Signed-off-by: Beat Bolli <bbolli@ewanet.ch>
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
| |
|
|
|
|
|
|
|
| |
Because it might be going to chrony. Or something else.
No logic changes, just name changes and one new derived #define,
TIMEHINT_ENABLE.
|
|
|
|
|
|
|
|
|
| |
The previous change (ntpd_link_activate() moving to after device-open
time) made it possible to lift the attempts at KPPS initialization out
of the PPS-watcher thread, because it no longer has to await the device
open. This also greatly simplifies the generic thread-watcher interface.
All regression tests pass, PPS is live.
|
| |
|
| |
|
|
|
|
| |
We'll have to sneak up on this change more slowly.
|