From 4dbb6142d3e39ab740d6caa7a2b2e44f2c09790c Mon Sep 17 00:00:00 2001 From: Nathan Angelacos Date: Sun, 4 Nov 2012 03:20:10 +0000 Subject: main/gpsd PPS may fail if baudrate is not set with stty before startup Reference: http://catb.org/gpsd/upstream-bugs.html#tiocmwait --- main/gpsd/gpsd.confd | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'main/gpsd/gpsd.confd') 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 -- cgit v1.2.3