Modifications

Sauter à la navigation Sauter à la recherche
1 001 octets ajoutés ,  31 décembre 2016 à 14:40
Ligne 61 : Ligne 61 :     
... ce qui installera les packages/paquets nécessaires (une connexion internet sera nécessaire pour cette étape!)  
 
... ce qui installera les packages/paquets nécessaires (une connexion internet sera nécessaire pour cette étape!)  
 +
 +
== Fix service pour Systemd de Raspbian Jessie ==
 +
Note if you're using the Raspbian Jessie or later release you'll need to disable a systemd service that gpsd installs.  This service has systemd listen on a local socket and run gpsd when clients connect to it, however it will also interfere with other gpsd instances that are manually run (like in this guide).  You will need to disable the gpsd systemd service by running the following commands:
 +
 +
<nowiki>sudo systemctl stop gpsd.socket
 +
sudo systemctl disable gpsd.socket</nowiki>
 +
 +
Should you ever want to enable the default gpsd systemd service you can run these commands to restore it (but remember the rest of the steps in this guide won't work!):
 +
 +
<nowiki>sudo systemctl enable gpsd.socket
 +
sudo systemctl start gpsd.socket</nowiki>
 +
 +
After disabling the gpsd systemd service above you're ready to try running gpsd manually.  Now run the following command to manually start gpsd and point it at the GPS breakout on the USB serial adapter port:
    
  <nowiki>sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock</nowiki>
 
  <nowiki>sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock</nowiki>
29 836

modifications

Menu de navigation