ostree

gpsd linux

Apr 7th, 2022 (edited)
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. stty 4800 > /dev/ttyUSB0
  2. gpsd -b /dev/ttyUSB0
  3. cat /dev/ttyUSB0
  4.  
  5.  
  6. /etc/default/gpsd
  7.  
  8. # Default settings for the gpsd init script and the hotplug wrapper.
  9.  
  10. # Start the gpsd daemon automatically at boot time
  11. START_DAEMON="false"
  12.  
  13. # Use USB hotplugging to add new USB devices automatically to the daemon
  14. USBAUTO="true"
  15.  
  16. # Devices gpsd should collect to at boot time.
  17. # They need to be read/writeable, either by user gpsd or the group dialout.
  18. DEVICES="/dev/ttyUSB0"
  19.  
  20. # Other options you want to pass to gpsd
  21. GPSD_OPTIONS="-n -G -b"
  22. GPSD_SOCKET="/var/run/gpsd.sock"
  23. #end of file gpsd
Advertisement
Add Comment
Please, Sign In to add comment