Données GPS non récupérées.
Posté : mer. 2 juin 2021 17:52
Bonjour,
j'ai un GPS USB qui fonctionne sur mon PC portable en Ubuntu et sur mon RPI4 avec un OS Ubuntu, mais pas avec Raspbian.
Par un lsusb, il apparaît bien, le port ttyACM0 est bien crée, GPSD est bien installé, la configuration gpsd identique à celle de mon portable.
Mais avec cgps -s ou gpsmon, rien pas de données !
stellarmate@stellarmate:~ $ lsusb
Bus 002 Device 002: ID 1f75:0621 Innostor Technology Corporation
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 1c4f:0034 SiGma Micro
Bus 001 Device 010: ID 1546:01a7 U-Blox AG [u-blox 7]
Bus 001 Device 007: ID 046d:c225 Logitech, Inc. G11/G15 Keyboard / G keys
Bus 001 Device 005: ID 046d:c221 Logitech, Inc. G11/G15 Keyboard / Keyboard
Bus 001 Device 003: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
stellarmate@stellarmate:~ $
# 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="true"
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="/dev/ttyACM0"
# Other options you want to pass to gpsd
GPSD_OPTIONS="-n"
#GPSD_SOCKET="/var/run/gpsd.sock"
Après avoir décoché la dernière ligne et rebooter, j'ai la date et l'heure par le GPS, c'est tout. Pas de latitude, pas de longitude.
Que peut-il se passer ? Merci d'avance.
j'ai un GPS USB qui fonctionne sur mon PC portable en Ubuntu et sur mon RPI4 avec un OS Ubuntu, mais pas avec Raspbian.
Par un lsusb, il apparaît bien, le port ttyACM0 est bien crée, GPSD est bien installé, la configuration gpsd identique à celle de mon portable.
Mais avec cgps -s ou gpsmon, rien pas de données !
stellarmate@stellarmate:~ $ lsusb
Bus 002 Device 002: ID 1f75:0621 Innostor Technology Corporation
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 1c4f:0034 SiGma Micro
Bus 001 Device 010: ID 1546:01a7 U-Blox AG [u-blox 7]
Bus 001 Device 007: ID 046d:c225 Logitech, Inc. G11/G15 Keyboard / G keys
Bus 001 Device 005: ID 046d:c221 Logitech, Inc. G11/G15 Keyboard / Keyboard
Bus 001 Device 003: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
stellarmate@stellarmate:~ $
# 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="true"
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="/dev/ttyACM0"
# Other options you want to pass to gpsd
GPSD_OPTIONS="-n"
#GPSD_SOCKET="/var/run/gpsd.sock"
Après avoir décoché la dernière ligne et rebooter, j'ai la date et l'heure par le GPS, c'est tout. Pas de latitude, pas de longitude.
Que peut-il se passer ? Merci d'avance.