当前连接的USB设备列表如下:
- Device 0:1.0 (accessory, serial 123456789ABCDEF0)
- Device 0:2.0 (accessory, serial 9876543210ABCDEF1)
- Device 0:3.0 (accessory, serial 1111111111ABCDEF2)
- Device 0:4.0 (accessory, serial 1111111111ABCDEF3)
- Device 0:5.0 (accessory, serial 1111111111ABCDEF4)
- Device 0:6.0 (accessory, serial 1111111111ABCDEF5)
- Device 0:7.0 (accessory, serial 1111111111ABCDEF6)
- Device 0:8.0 (accessory, serial 1111111111ABCDEF7)
- Device 0:9.0 (accessory, serial 1111111111ABCDEF8)
- Device 0:10.0 (accessory, serial 1111111111ABCDEF9)
这些设备分别连接到了bash中的dev文件,例如:
Device 0:1.0 -> /dev/ttyUSB0
Device 0:2.0 -> /dev/ttyUSB1
Device 0:3.0 -> /dev/ttyUSB2
Device 0:4.0 -> /dev/ttyUSB3
Device 0:5.0 -> /dev/ttyUSB4
Device 0:6.0 -> /dev/ttyUSB5
Device 0:7.0 -> /dev/ttyUSB6
Device 0:8.0 -> /dev/ttyUSB7
Device 0:9.0 -> /dev/ttyUSB8
Device 0:10.0 -> /dev/ttyUSB9
这些设备可以通过在终端中使用命令ls /dev/ttyUSB*
来查看。