我的电脑上只有一个 USB 摄像头设备。
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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 005: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 003: ID 2bdf:0284 SN0002 HIK 1080P CAMERA
事实证明确实如此SN0002 HIK 1080P CAMERA
。为什么 ls 命令显示两个设备?
ls -ltrh /dev/video*
crw-rw----+ 1 root video 81, 1 Jan 27 08:30 /dev/video1
crw-rw----+ 1 root video 81, 0 Jan 27 08:30 /dev/video0