我通过 USB 插入我的 GNSS 设备,希望获得一个设备路径以便从中串行读取:我使用我的树莓派 4 来做到这一点,我打算将其用作 rtk ntrip 播报器。
lusb 给出:
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1546:01a9 U-Blox AG u-blox GNSS receiver
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg 给出:
[ 175.728623] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd
[ 175.833153] usb 1-1.1: New USB device found, idVendor=1546, idProduct=01a9, bcdDevice= 1.00
[ 175.833183] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 175.833196] usb 1-1.1: Product: u-blox GNSS receiver
[ 175.833206] usb 1-1.1: Manufacturer: u-blox AG - www.u-blox.com
[ 414.271561] usb 1-1.1: USB disconnect, device number 3
[ 417.902463] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd
[ 418.006723] usb 1-1.3: New USB device found, idVendor=1546, idProduct=01a9, bcdDevice= 1.00
[ 418.006752] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 418.006764] usb 1-1.3: Product: u-blox GNSS receiver
[ 418.006775] usb 1-1.3: Manufacturer: u-blox AG - www.u-blox.com
在不同的端口插入两次后,我似乎从未获得像 /dev/ttyS0 这样的连接点,这样我就可以使用该端口。这是怎么回事?据我所知,它应该只是一个串行通信端口,但也许不是?