与GPS的连接无法正常工作。

时间:2017-05-18 21:56:38

标签: ubuntu gps ubuntu-16.04 gpsd

我正在尝试与gps建立联系,但不幸的是,我无法这样做。首先,我试图遵循制作人网站的指南: http://odroid.com/dokuwiki/doku.php?id=en:c1_usb_gps ,但在输入命令sudo dpkg-reconfigure gpsd后,我收到一条消息说:

Warning: Stopping gpsd.service, but it can still be activated by:
  gpsd.socket
Creating/updating gpsd user account.

所以我决定使用sudo nano /etc/default/gpsd自行编辑文件。所以现在它看起来像这样:

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

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

# 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=""

GPSD_SOCKET="/var/run/gpsd.sock"

尽管如此,当我使用gpsmon时,我得不到任何数据,因为如果我的gps甚至没有插入。我试图检查它是否插电,但我不确定我是否做得对。

非常感谢您的回复!

0 个答案:

没有答案