ubuntu 18 navit gpsd

У меня Ubuntu 18 У меня есть skytraq gps с конвертером pl2303, подключенным к ttyUSB0 Я не могу заставить работать gpsd Я изменил / etc / defaults / gpsd как:

# 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/ttyUSB0"

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

Когда я использую xgps, без данных, он не работает, поэтому даже navit не работает

0
задан 3 February 2020 в 13:18

1 ответ

Поздно, но надеюсь, что не слишком поздно: Если pl2302 работает на ttyUSB0 Проверьте это

sudo cat /dev/ttyUSB0

Отличие от вашего файла: GPSD_OPTIONS="-n"

Работает в Ubuntu 18 и 20

Пример моего файла с Navilock NL602 на /dev/ttyACM0 в командах olt gps-mouse NL302 /dev/ttyUSB0

# Default settings for the gpsd init script and the hotplug wrapper.
#hier liegt die Datei /etc/default/gpsd
# 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.
#neue GPS-Mouse Navilock NL602U
DEVICES="/dev/ttyACM0"
#alte GPS-MMouse Navilock NL302U
#DEVICES="/dev/ttyUSB0"
# Other options you want to pass to gpsd
GPSD_OPTIONS="-n"
GPSD_SOCKET="/var/run/gpsd.sock"
0
ответ дан 23 December 2020 в 11:54

Другие вопросы по тегам:

Похожие вопросы: