From 9087ef9f3d930fb26861d042e8906120799954a6 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond"
The baudrate-hunting code in gpsd
tickles a serious
-firmware bug on some some Bluetooth devices, notably those shipped by
-Holux and including the GPSlim-236. This bug may render these GPSes
-catatonic. The problem seems to be that buggy firmware inside these
-receivers doesn't necessarily keep the Bluetooth serial-port emulation
-and the GPS chip talking at the same baud rate. This problem is not
-unique to gpsd
— Windows users are warned against using
-SiRFdemo's "Synchronize Protocol/Baud Rate" option on Bluetooth devices.
gpsd
— Windows users are warned
+against using SiRFdemo's "Synchronize Protocol/Baud Rate" option on
+Bluetooth devices.
If this happens, you can sometimes recover by repeatedly sending
-reset messages using gpsctl
. The only guaranteed fix is to
-drain the battery backing up the GPS's settings; in extreme cases, you
-may have to open the case and unsolder the backup battery so the chip
-forgets its configuration settings.
gpsctl
. Otherwise, power-cycling the
+GPS The only guaranteed fix is to drain the battery backing up the
+GPS's settings; in extreme cases, you may have to open the case and
+unsolder the backup battery so the chip forgets its configuration
+settings.
+
+To check whether you have this bug:
+ +Reset your GPS to a usable state.
Launch gpsd with the Bluetooth device on the command line and +the -b option to prevent autobauding.
Observe it operating.
Power down the device and terminate gpsd.
Launch with -b again and see if it still works.
If you find the device comes up on the last step, then you know +that -b is an effective workaround and can finger bad Bluetooth +firmware as the cause of the problem.
A separate bug with less severe symptoms afflicts some USB devices. The probe strings gpsd sends in order to determine device @@ -148,8 +169,8 @@ break up the probe writes into smaller pieces, interleaving them with the first few packet reads, so they are far less likely to trigger this bug.
-Use the -b option of gpsd to prevent it from trying to reconfigure -your GPS; this will avoid both problems.
+You can use the -b option of gpsd to prevent it from trying to +reconfigure your GPS; this will avoid both problems.