2024-10-06 06:52:57 -07:00
|
|
|
# Author : Gaston Gonzalez
|
|
|
|
|
# Date : 4 October
|
2024-10-06 19:04:48 -07:00
|
|
|
# Updated : 6 October
|
2024-10-06 06:52:57 -07:00
|
|
|
# Purpose : GPS configuration for EmComm Tools
|
2024-10-06 19:04:48 -07:00
|
|
|
#
|
|
|
|
|
# Note: The 3.22 version of gpsd shipped with Ubuntu 22.04 has an issue
|
|
|
|
|
# obtaining subsequent positions after the initial fix.
|
|
|
|
|
#
|
|
|
|
|
# See https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/2011721
|
|
|
|
|
#
|
|
|
|
|
# Workaround: Use -b option or upgrade to gpsd 3.25
|
2024-10-06 06:52:57 -07:00
|
|
|
|
|
|
|
|
# Prevent starting automatically by systemd
|
|
|
|
|
START_DAEMON="false"
|
|
|
|
|
|
|
|
|
|
# Prevent the default udev rules from starting gpsd.
|
|
|
|
|
# Custom ET udev rules trigger gpsd
|
2024-10-01 04:39:36 -07:00
|
|
|
USBAUTO="false"
|
2024-10-06 06:52:57 -07:00
|
|
|
|
|
|
|
|
# Always use
|
2024-10-01 04:39:36 -07:00
|
|
|
DEVICES="/dev/et-gps"
|
2024-10-06 06:52:57 -07:00
|
|
|
|
|
|
|
|
# -n should be used when using GPS as a reference clock
|
2024-10-06 19:04:48 -07:00
|
|
|
# -b user read-only mode to prevent u-blox protocol from being used
|
|
|
|
|
GPSD_OPTIONS="-n -b"
|