Pratiques et Techniques en Plaisance
| Imprimer |
Fermer la fenêtre
Suite au message précédent : j’ai maintenant suivi l’aide d’openCPN qui indique comment passer en mode NMEA.
J’ai donc installé gpsd gpsd-clients.
J’ai voulu vérifier si gpsd fonctionne : réponse dans terminal : :gpsd:ERROR : can’t run with neither control socket nor devices. J’ai fait cela avec le gps branché, meme réponse, changé le port sur network gpsd, puis network libgps, cela ne change rien. Et je n’ai plus de reception sur le ttyS0.
Bref à ce stade je ne peux pas effectuer la commande préconisée dans l’aide openCPN :
The gps should now work....if not, check the NMEA data stream window. If only binary garbage is visible, the gps has to be reset to NMEA mode, see more about this above in windows section.
To do this in Linux for BU 353 as well as many other gps:es, make sure that gpsd is running and that the package « gpsd-clients » is installed. On Ubuntu 12.04 gpsd needs to be temporarily installed. Make sure to kill any instances of gpsd with the command « sudo killall gpsd »
The command $gpsctl -n will put the GPS into NMEA mode.
If that doesn’t work, try $ gpsctl -f -n /dev/ttyUSB0 .This will force a low-level access, bypassing gpsd. For more information : $man gpsctl
Voilà où j’en suis pour préciser les choses. Faut en vouloir tout de même !
A vous ?
Yannick