Update README.md

bp-new
alanbjohnston 5 years ago committed by GitHub
parent d72ea22179
commit 92e833d131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,31 +2,33 @@ Following steps from https://gpsd.gitlab.io/gpsd/installation.html
gpsd steps:
plug it in and type:
1. plug it in and type:
ls /dev/ttyUSB*
the last digit is your device number - could be 0 or 1 or other number. The rest of the commands assume it is 0, so device is /dev/ttyUSB0
See if you can get NMEA data out of it (you may need to type it twice to get it to work):
2. See if you can get NMEA data out of it (you may need to type it twice to get it to work):
sudo stty -F /dev/ttyUSB0 ispeed 4800 && cat </dev/ttyUSB0
install gpsd software:
3. install gpsd software:
sudo apt-get -y install gpsd gpsd-clients python-gps
disable tcp daemon
4. disable tcp daemon
sudo systemctl disable gpsd
sudo systemctl disable gpsd.socket
sudo killall gpsd
Now run it manually
5. Now run it manually
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
You can look at the result:
6. You can look at the result:
gpsmon

Loading…
Cancel
Save

Powered by TurnKey Linux.