aboutsummaryrefslogtreecommitdiffstats
path: root/main/gpsd/gpsd.confd
blob: 30af2c3ee59a28ec4ce1e0e4be381e8eebfb568d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# /etc/conf.d/gpsd

# The GPS device (/dev/ttyUSB0, /dev/ttyS0, ...)
 
DEVICE=""
BAUDRATE="4800"

# Optional arguments
#  Options include:
#   -b                        = bluetooth-safe: open data sources read-only
#   -n                        = don't wait for client connects to poll GPS
#   -N                        = don't go into background
#   -F sockfile               = specify control socket location
#   -G                        = make gpsd listen on INADDR_ANY
#   -D integer (default 0)    = set debug level
#   -S integer (default 2947) = set port for daemon

ARGS="-n "

# Serial setup
#
# For serial interfaces, options such as low_latency are recommended
# 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