是否兼容 Garmin eTrex GPS?

是否兼容 Garmin eTrex GPS?

我想插入一个旧 GPS 作为 NTP 源。GPSD 和OpenStreetMap 文档覆盖使用,但我被困在不确定设备是否兼容的地步(虽然应该是兼容的)。设备本身已安装卫星,并且功能正常。

具体来说,GPSD 文档状态

尝试运行gpsmon(1),将 GPS 设备路径作为参数(例如gpsmon /dev/ttyUSB0)。经过片刻的同步后,它应该会显示一个充满设备数据的屏幕,包括显示从中流出的原始数据包数据。

如果gpsmon(1)报告根本没有数据,则可能是设备路径错误;使用dmesg(8)或通过任何可用的方式检查。如果您有正确的设备,则可能是串行或 USB 存在一些低级系统问题,您需要先修复这些问题 gpsd才能运行。检查您的电缆、电源和内核配置。

我遇到的是后者的问题:没有显示任何内容gpsmon(屏幕被清除并且完全空白)。

看起来该设备已正确注册。来自/var/log/syslog

Jan  1 21:20:11 srv kernel: [ 7076.457051] usbcore: registered new interface driver garmin_gps
Jan  1 21:20:11 srv kernel: [ 7076.457061] usbserial: USB Serial support registered for Garmin GPS usb/tty
Jan  1 21:21:23 srv kernel: [ 7148.510660] usb 1-2: new full-speed USB device number 5 using xhci_hcd
Jan  1 21:21:23 srv mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Jan  1 21:21:23 srv kernel: [ 7148.651115] usb 1-2: New USB device found, idVendor=091e, idProduct=0003
Jan  1 21:21:23 srv kernel: [ 7148.651116] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jan  1 21:21:23 srv kernel: [ 7148.651553] garmin_gps 1-2:1.0: Garmin GPS usb/tty converter detected
Jan  1 21:21:23 srv kernel: [ 7148.651623] usb 1-2: Garmin GPS usb/tty converter now attached to ttyUSB0
Jan  1 21:21:24 srv mtp-probe: bus: 1, device: 5 was not an MTP device
Jan  1 21:21:24 srv systemd[1]: gpsd.socket: Failed to listen on sockets: Cannot assign requested address
Jan  1 21:21:24 srv systemd[1]: Failed to listen on GPS (Global Positioning System) Daemon Sockets.
Jan  1 21:21:24 srv systemd[1]: Dependency failed for Manage ttyUSB0 for GPS daemon.
Jan  1 21:21:24 srv systemd[1]: [email protected]: Job [email protected]/start failed with result 'dependency'.
Jan  1 21:22:40 srv kernel: [ 7225.003241] pps pps0: new PPS source usbserial0
Jan  1 21:22:40 srv kernel: [ 7225.003246] pps pps0: source "/dev/ttyUSB0" added

开始后出现的最后两行gpsmon看起来很有希望,但是上面有几行令人担忧:

Jan  1 21:21:24 srv mtp-probe: bus: 1, device: 5 was not an MTP device
Jan  1 21:21:24 srv systemd[1]: gpsd.socket: Failed to listen on sockets: Cannot assign requested address
Jan  1 21:21:24 srv systemd[1]: Failed to listen on GPS (Global Positioning System) Daemon Sockets.
Jan  1 21:21:24 srv systemd[1]: Dependency failed for Manage ttyUSB0 for GPS daemon.
Jan  1 21:21:24 srv systemd[1]: [email protected]: Job [email protected]/start failed with result 'dependency'.

我不确定它们此时是否至关重要,因为他们提到了插座 - 我尚未使用(或者根本没有使用)。

故障排除部分实际上没有什么帮助——从那时起我实际上应该采取什么步骤?

相关内容