29.03.2016, 11:10
(22.03.2016, 19:12)albdom schrieb: I get it error:
Mar 22 19:11:25 CarPi gpsd[1250]: gpsd:ERROR: device open failed: Permission denied - retrying read-only
Mar 22 19:11:25 CarPi gpsd[1250]: gpsd:ERROR: read-only device open failed: Permission denied
Mar 22 19:11:25 CarPi gpsd[1250]: gpsd:ERROR: /var/run/gpsd.sock: device activation failed.
What happen?
You haven´t permission so add:
sudo chmod a+rwx /var/run/gpsd.sock
--------
You should have:
# Start gpsd FOR 7WAYS
sudo killall gpsd
sudo chmod a+rwx /var/run/gpsd.sock
gpsd /dev/ttyAMA0
sudo stty -F /dev/ttyAMA0 38400&
gpsctl -f -n /dev/ttyAMA0&
sudo killall 7ways
# Start 7ways with a low priority
cd /opt/carpc/7ways/
./7ways &