gpsd.confd 914 B

1234567891011121314151617181920212223242526272829
  1. # /etc/conf.d/gpsd
  2. # The GPS device (/dev/ttyUSB0, /dev/ttyS0, ...)
  3. DEVICE=""
  4. BAUDRATE="4800"
  5. # Optional arguments
  6. # Options include:
  7. # -b = bluetooth-safe: open data sources read-only
  8. # -n = don't wait for client connects to poll GPS
  9. # -N = don't go into background
  10. # -F sockfile = specify control socket location
  11. # -G = make gpsd listen on INADDR_ANY
  12. # -D integer (default 0) = set debug level
  13. # -S integer (default 2947) = set port for daemon
  14. ARGS="-n "
  15. # Serial setup
  16. #
  17. # For serial interfaces, options such as low_latency are recommended
  18. # Also, http://catb.org/gpsd/upstream-bugs.html#tiocmwait recommends
  19. # setting the baudrate with stty
  20. # Uncomment the following lines if using a serial device:
  21. #
  22. # /bin/stty -F ${DEVICE} ${BAUDRATE}
  23. # /bin/setserial ${DEVICE} low_latency