GPS Configuration
Required Packages
[!NOTE]
gpsd-tools
providescgps
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:
cgps
orcgps /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 Bridge
ls /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 Port
ls /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#"