summaryrefslogtreecommitdiffstats
path: root/main/gpsd/gpsd.confd
diff options
context:
space:
mode:
Diffstat (limited to 'main/gpsd/gpsd.confd')
-rw-r--r--main/gpsd/gpsd.confd9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/gpsd/gpsd.confd b/main/gpsd/gpsd.confd
index 27bb332ac..30af2c3ee 100644
--- a/main/gpsd/gpsd.confd
+++ b/main/gpsd/gpsd.confd
@@ -3,6 +3,7 @@
# The GPS device (/dev/ttyUSB0, /dev/ttyS0, ...)
DEVICE=""
+BAUDRATE="4800"
# Optional arguments
# Options include:
@@ -19,8 +20,10 @@ ARGS="-n "
# Serial setup
#
# For serial interfaces, options such as low_latency are recommended
-# Uncomment the following line to set the /dev/ttySxx device options, if
-# desired:
-
+# Also, http://catb.org/gpsd/upstream-bugs.html#tiocmwait recommends
+# setting the baudrate with stty
+# Uncomment the following lines if using a serial device:
+#
+# /bin/stty -F ${DEVICE} ${BAUDRATE}
# /bin/setserial ${DEVICE} low_latency