USB 网络摄像头仅被延迟识别

USB 网络摄像头仅被延迟识别

我有一个外部网络摄像头,通过 USB 连接到我的计算机。在我的计算机上,我运行的是 KDE Neon 20.3(基于 Ubuntu 20.04),内核为 5.4.0-54-generic。

当我插入网络摄像头时,总是需要相当长的时间(可能大约 3-5 分钟)才能将其识别为网络摄像头(通过尝试使用guvcview它来访问它进行验证)。

但奇怪的是,它几乎立即被识别为 USB 设备。如果我lsusb在插入网络摄像头后不久执行,我会得到

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 013: ID 05a3:9331 ARC International Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

其中“相机”条目是仅在插入相机后才会出现的条目。

但在上述时间之前,guvcview抱怨找不到“视频设备”。

因此,USB设备的识别似乎与系统识别出相机已插入的时间不同。

我现在想知道这可能是什么原因,以及是否可以尝试让我的系统更快地识别相机(例如,通过手动执行某些命令)。有人有想法吗?


注意:一旦相机被识别,它就会像魅力一样发挥作用。因此,真正奇怪的只是识别本身,而不是 Linux 上相机的功能。

/var/log/kern.log编辑:插入相机后的相关内容:

Nov 30 19:31:17 bob kernel: [ 3501.535173] usb 3-1: new high-speed USB device number 11 using xhci_hcd
Nov 30 19:31:17 bob kernel: [ 3501.684089] usb 3-1: New USB device found, idVendor=05a3, idProduct=9331, bcdDevice= 1.00
Nov 30 19:31:17 bob kernel: [ 3501.684091] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 30 19:31:17 bob kernel: [ 3501.684091] usb 3-1: Product: HD Web Camera
Nov 30 19:31:17 bob kernel: [ 3501.684092] usb 3-1: Manufacturer: Ingenic Semiconductor CO., LTD.
Nov 30 19:31:17 bob kernel: [ 3501.684093] usb 3-1: SerialNumber: Ucamera001
Nov 30 19:31:17 bob kernel: [ 3501.690619] uvcvideo: Found UVC 1.00 device HD Web Camera (05a3:9331)
Nov 30 19:31:18 bob kernel: [ 3502.215188] uvcvideo: Failed to query (GET_INFO) UVC control 2 on unit 1: -110 (exp. 1).
Nov 30 19:31:18 bob kernel: [ 3502.320523] uvcvideo: Failed to query (GET_INFO) UVC control 7 on unit 2: -32 (exp. 1).
Nov 30 19:31:19 bob kernel: [ 3502.951206] uvcvideo: Failed to query (GET_INFO) UVC control 8 on unit 2: -110 (exp. 1).
Nov 30 19:31:19 bob kernel: [ 3503.463251] uvcvideo: Failed to query (GET_INFO) UVC control 9 on unit 2: -110 (exp. 1).
Nov 30 19:31:20 bob kernel: [ 3503.975219] uvcvideo: Failed to query (GET_INFO) UVC control 10 on unit 2: -110 (exp. 1).
Nov 30 19:31:20 bob kernel: [ 3504.487221] uvcvideo: Failed to query (GET_INFO) UVC control 1 on unit 2: -110 (exp. 1).
Nov 30 19:31:21 bob kernel: [ 3504.999206] uvcvideo: Failed to query (GET_INFO) UVC control 4 on unit 2: -110 (exp. 1).
Nov 30 19:31:21 bob kernel: [ 3505.511212] uvcvideo: Failed to query (GET_INFO) UVC control 5 on unit 2: -110 (exp. 1).
Nov 30 19:31:22 bob kernel: [ 3506.023255] uvcvideo: Failed to query (GET_INFO) UVC control 11 on unit 2: -110 (exp. 1).
Nov 30 19:31:32 bob kernel: [ 3516.203320] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
Nov 30 19:31:37 bob kernel: [ 3521.319412] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
Nov 30 19:31:37 bob kernel: [ 3521.319414] uvcvideo: Failed to initialize the device (-5).
Nov 30 19:32:18 bob kernel: [ 3562.279789] usb 3-1: 3:1: cannot set freq 16000 to ep 0x83
Nov 30 19:32:28 bob kernel: [ 3572.519903] usb 3-1: 6:2: cannot get min/max values for control 2 (id 6)
Nov 30 19:32:28 bob kernel: [ 3572.520236] usb 3-1: USB disconnect, device number 11
Nov 30 19:32:28 bob kernel: [ 3572.795884] usb 3-1: new high-speed USB device number 12 using xhci_hcd
Nov 30 19:32:29 bob kernel: [ 3572.944792] usb 3-1: New USB device found, idVendor=05a3, idProduct=9331, bcdDevice= 1.00
Nov 30 19:32:29 bob kernel: [ 3572.944794] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 30 19:32:29 bob kernel: [ 3572.944795] usb 3-1: Product: HD Web Camera
Nov 30 19:32:29 bob kernel: [ 3572.944796] usb 3-1: Manufacturer: Ingenic Semiconductor CO., LTD.
Nov 30 19:32:29 bob kernel: [ 3572.944797] usb 3-1: SerialNumber: Ucamera001
Nov 30 19:32:29 bob kernel: [ 3572.951314] uvcvideo: Found UVC 1.00 device HD Web Camera (05a3:9331)
Nov 30 19:32:29 bob kernel: [ 3572.977209] uvcvideo: Failed to query (GET_INFO) UVC control 6 on unit 2: -32 (exp. 1).
Nov 30 19:32:29 bob kernel: [ 3573.003183] uvcvideo: Failed to query (GET_INFO) UVC control 9 on unit 2: -32 (exp. 1).
Nov 30 19:32:29 bob kernel: [ 3573.029156] uvcvideo: Failed to query (GET_INFO) UVC control 4 on unit 2: -32 (exp. 1).
Nov 30 19:32:29 bob kernel: [ 3573.049934] uvcvideo: Failed to query (GET_INFO) UVC control 11 on unit 2: -32 (exp. 1).
Nov 30 19:32:29 bob kernel: [ 3573.076614] uvcvideo 3-1:1.0: Entity type for entity Processing 2 was not initialized!
Nov 30 19:32:29 bob kernel: [ 3573.076616] uvcvideo 3-1:1.0: Entity type for entity Camera 1 was not initialized!
Nov 30 19:32:29 bob kernel: [ 3573.076716] input: HD Web Camera: HD Web Camera as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input22
Nov 30 19:32:29 bob kernel: [ 3573.078773] usb 3-1: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
Nov 30 19:32:29 bob kernel: [ 3573.078774] usb 3-1: [6] FU [Mic Capture Volume] ch = 1, val = -1536/1536/1
Nov 30 19:32:29 bob kernel: [ 3573.317043] uvcvideo: Failed to query (GET_DEF) UVC control 6 on unit 2: -32 (exp. 2).
Nov 30 19:32:29 bob kernel: [ 3573.332525] uvcvideo: Failed to query (GET_DEF) UVC control 6 on unit 2: -32 (exp. 2).

相关内容