GPS Configuration
Required Packages
Note
gpsd-tools provides cgps which I use for status monitoring and troubleshooting.
- Install required packages:
sudo apt install gpsd gpsd-tools - Enable the gpsd service:
sudo systemctl enable gpsd - Start the gpsd service:
sudo systemctl start gpsd - Check GPS device is working using cgps - if multiple devices, specify the device path:
cgpsorcgps /dev/ttyACM# - If it doesn’t work, check for device-specific instructions below.
USB Dongles
BU-353N
- GlobalSat BU-353N Product Page
lsusb=067b:23a3 Prolific Technology, Inc. ATEN Serial Bridgels /dev=/dev/ttyUSB#
LED OFF: Receiver switch off
LED ON: No fixed, Signal searching
LED Flashing: Position Fixed- Edit the gpsd configuration file:
sudo nano /etc/default/gpsd - Add the device path to the devices:
DEVICES="/dev/ttyUSB#" - Add the following gpsd options:
GPSD_OPTIONS="-b -n"
Note
These mandatory switches were identified by the wardriving community for the BU-353N to work properly. They enable read-only mode, and tell gpsd not to wait for a client before polling the GPS device.
BU-353S4
- GlobalSat BU-353S4 EOL Notice
lsusb=067b:2303 Prolific Technology, Inc. PL2303 Serial Portls /dev=/dev/ttyUSB#
LED OFF: Receiver switch off
LED ON: No fixed, Signal searching
LED Flashing: Position Fixed- Edit the gpsd configuration file:
sudo nano /etc/default/gpsd - Add the device path to the devices:
DEVICES="/dev/ttyUSB#"
uBlox 7
lsusb=1546:01a7 U-Blox AG [u-blox 7]ls /dev=/dev/ttyACM#- gpsd udev rules creates
/dev/gps#
- Edit the gpsd configuration file:
sudo nano /etc/default/gpsd - Add the device path to the devices:
DEVICES="/dev/ttyACM#"