我正在尝试建立与 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 甚至没有插入一样。我试图检查它是否被插入,但我不确定我是否做对了。
非常感谢您的回复!