Benutzer-Werkzeuge

Webseiten-Werkzeuge


solutions:gpsd

Dies ist eine alte Version des Dokuments!


gpsd findet die hama GPS-Maus nicht

Auf dem ZBook14 ist OpenCPN installiert. Die Verbindung zur GPS-Maus soll über gpsd erfolgen. Leider findet gpsd die hama GPS-Maus nicht automatisch. Daher ist die Verbindung in der Konfigurationsdatei /etc/default/gpsd statisch eingetragen und das hotplugging ausgeschaltet.

# Default settings for the gpsd init script and the hotplug wrapper.

# Start the gpsd daemon automatically at boot time
START_DAEMON="true"

# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="false"

# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="/dev/ttyUSB0"

# Other options you want to pass to gpsd
GPSD_OPTIONS="-n"
GPSD_SOCKET="/var/run/gpsd.sock"

Normalerweise sollte die GPS-Maus beim Start des Rechners eingesteckt sein, dadurch auf /dev/ttyUSB0 zur Verfügung stehen und durch das statische DEVICES von gpsd verwendet werden. Ein Test mit xgps zeigt an, ob Satelliten gefunden werden.

Funktioniert es einmal nicht, kann eine Prüfung der ttyUSB# hilfreich sein (ls -l /dev/ttyUSB*). Ggf. die geänderte DEVICES in gpsd eintragen und mit $ sudo systemctl restart gpsd den Service neu starten.

solutions/gpsd.1502720591.txt.gz · Zuletzt geändert: 2017-08-14 14:23 von andreas