31.03.2016, 08:52
Finally, I have it code run:
With:
# Start gpsd
sudo killall gpsd
#gpsd /dev/ttyS0
gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock
#gpsd /dev/ttyUSB1
sudo stty -F /dev/ttyAMA0 9600&
chmod a+rw /dev/ttyAMA0
gpsctl -f -n /dev/ttyAMA0&
# Start Navit with a low priority
#cd /home/pi/navit_src/build/navit/
sudo killall 7ways
cd /opt/carpc/7ways/
./7ways &
With:
# Start gpsd
sudo killall gpsd
#gpsd /dev/ttyS0
gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock
#gpsd /dev/ttyUSB1
sudo stty -F /dev/ttyAMA0 9600&
chmod a+rw /dev/ttyAMA0
gpsctl -f -n /dev/ttyAMA0&
# Start Navit with a low priority
#cd /home/pi/navit_src/build/navit/
sudo killall 7ways
cd /opt/carpc/7ways/
./7ways &