diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-10 17:24:02 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-10 17:24:02 -0500 |
commit | 02d7413ab02af869c52eba954905b2756c9334d8 (patch) | |
tree | 4804e64dcb4fb1d97cd351cc30e9d73e484202d8 /drivers.c | |
parent | 2f72253be9a6de623b0b28d77f29998414558326 (diff) | |
download | gpsd-02d7413ab02af869c52eba954905b2756c9334d8.tar.gz |
Update a comment with a caveat.
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -157,16 +157,21 @@ static void nmea_event_hook(struct gps_device_t *session, event_t event) #ifdef SIRF_ENABLE case 1: /* - * We used to try to probe for SiRF by issuing "$PSRF105,1" - * and expecting "$Ack Input105.". But it turns out this - * only works for SiRF-IIs; SiRF-I and SiRF-III don't respond. - * Thus the only reliable probe is to try to flip the SiRF into - * binary mode, cluing in the library to revert it on close. + * We used to try to probe for SiRF by issuing + * "$PSRF105,1" and expecting "$Ack Input105.". But it + * turns out this only works for SiRF-IIs; SiRF-I and + * SiRF-III don't respond. Sadly, the MID132 binary + * request for firmware version is ignored in NMEA mode. + * Thus the only reliable probe is to try to flip the SiRF + * into binary mode, cluing in the library to revert it on + * close. * - * SiRFs dominate the GPS-mouse market, so we used to put this test - * first. Unfortunately this causes problems for gpsctl, as it cannot - * select the NMEA driver without switching the device back to - * binary mode! Fix this if we ever find a nondisruptive probe string. + * SiRFs dominate the consumer-grade GPS-mouse market, so + * we used to put this test first. Unfortunately this + * causes problems for gpsctl, as it cannot select the + * NMEA driver without switching the device back to binary + * mode! Fix this if we ever find a nondisruptive probe + * string. */ gpsd_report(session->context->debug, LOG_PROG, "=> Probing for SiRF\n"); (void)nmea_send(session, |