summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-10 23:35:25 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-10 23:35:25 -0400
commit39ec14f840d0ebbe211d2631a27814109afb30a2 (patch)
tree8312a30b99d6487c921622966d2f18f2a3b56549 /driver_ubx.c
parentc285b72bb610039b38d5292ff7859402546aa41f (diff)
downloadgpsd-39ec14f840d0ebbe211d2631a27814109afb30a2.tar.gz
Add a caveat.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index f382e9f3..1d591311 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -607,7 +607,15 @@ static void ubx_event_hook(struct gps_device_t *session, event_t event)
(void)ubx_write(session, 0x06u, 0x16, msg, 8);
/*@ +type @*/
- /* turn off NMEA output, turn on UBX on this port */
+ /*
+ * Turn off NMEA output, turn on UBX on this port.
+ *
+ * Note: this may fail if the device's firmware image has been
+ * configured to disallow the mode switching. The Navsys
+ * GR601W, aka "Macx-1", is one example. We can recognize it
+ * as a UBX because it responds to a MON_VER probe, but it
+ * won't change modes.
+ */
if (session->mode == O_OPTIMIZE)
ubx_mode(session, MODE_BINARY);
} else if (event == event_deactivate) {