首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ubuntu 18 navit gpsd

ubuntu 18 navit gpsd
EN

Ask Ubuntu用户
提问于 2020-02-03 10:14:15
回答 1查看 263关注 0票数 0

我有Ubuntu18,我有一个skytraq和pl2303转换器连接到ttyUSB0上,我无法使gpsd工作,我更改了/etc/缺省/gpsd,如下所示:

代码语言:javascript
复制
# 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也不能工作。

EN

回答 1

Ask Ubuntu用户

发布于 2020-12-23 11:54:06

虽然为时已晚,但希望不要太晚:如果pl2302在ttyUSB0上工作,请检查以下内容

代码语言:javascript
复制
sudo cat /dev/ttyUSB0

与您的文件不同的是:GPSD_OPTIONS="-n"

公元20年Ubuntu 18的作品

在命令NL602中/dev/ttyACM0上使用Navilock olt gps-mouse NL302 /dev/ttyUSB0的文件示例

代码语言:javascript
复制
# 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
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1207737

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档