USB 摄像头经常断开连接

USB 摄像头经常断开连接

我正在做一个项目,需要连接 5 个 USB 摄像头,但经常出现故障。然而,它们在 30 分钟后全部断开连接。它们一个接一个地出现一些错误代码。我更换了电脑并更新了 bios,但问题仍然存在于 Ubuntu 18、20 和 22 中。重新连接它们的唯一方法是拔下并插入 USB 电缆,这非常耗时,而且不是解决方案。我正在使用一台损坏了 Ubuntu 20.04 的 PC。这些是它们产生的错误。

Corrupt JPEG data: premature end of data segment

[ WARN:[email protected]] global cap_v4l.cpp:872 requestBuffers VIDEOIO(V4L2:/dev/v4l/by-path/pci-0000:08:00.3-usb-0:3:1.0-video-index0): failed VIDIOC_REQBUFS: errno=19 (No such device)

Corrupt JPEG data: 82 extraneous bytes before marker 0xd6
Corrupt JPEG data: 35 extraneous bytes before marker 0xd7

[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('/dev/v4l/by-path/pci-0000:02:00.0-usb-0:1:1.0-video-index0'): can't open/read file: check file path/integrity


-- Logs begin at Mon 2023-07-03 22:14:38 EDT, end at Sun 2023-07-09 20:33:16 EDT. --
Jul 09 20:23:35 kc-B550I-AORUS-PRO-AX code.desktop[21380]: [main 2023-07-10T00:23:35.230Z] update#setState checking for updates
Jul 09 20:23:35 kc-B550I-AORUS-PRO-AX code.desktop[21380]: [main 2023-07-10T00:23:35.235Z] update#setState available for download
Jul 09 20:24:01 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:06 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:07 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:12 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:12 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:17 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:17 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:23 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:23 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:28 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:28 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:33 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:34 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:39 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: device descriptor read/8, error -110
Jul 09 20:24:39 kc-B550I-AORUS-PRO-AX kernel: usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: xhci_hcd 0000:08:00.3: WARN Event TRB for slot 3 ep 2 with no TDs queued?
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: uvcvideo 6-3:1.1: Failed to resubmit video URB (-19).
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: uvcvideo 6-3:1.1: Failed to resubmit video URB (-19).
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: uvcvideo 6-3:1.1: Failed to resubmit video URB (-19).
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: uvcvideo 6-3:1.1: Failed to resubmit video URB (-19).
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: uvcvideo 6-3:1.1: Failed to resubmit video URB (-19).
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) config/udev: removing device 3.0 USB Camera: 3.0 USB Camera
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) Option "fd" "48"
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) event18 - 3.0 USB Camera: 3.0 USB Camera: device removed
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) UnloadModule: "libinput"
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) systemd-logind: releasing fd for 13:82
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: usb 6-3: reset SuperSpeed USB device number 4 using xhci_hcd
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: usb 6-3: Found UVC 1.00 device 3.0 USB Camera (15aa:1555)
Jul 09 20:24:42 kc-B550I-AORUS-PRO-AX kernel: input: 3.0 USB Camera: 3.0 USB Camera as /devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb6/6-3/6-3:1.0/input/input182
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) config/udev: Adding input device 3.0 USB Camera: 3.0 USB Camera (/dev/input/event18)
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) 3.0 USB Camera: 3.0 USB Camera: Applying InputClass "libinput keyboard catchall"
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) Using input driver 'libinput' for '3.0 USB Camera: 3.0 USB Camera'
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 85 paused 0
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) 3.0 USB Camera: 3.0 USB Camera: always reports core events
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) Option "Device" "/dev/input/event18"
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) Option "_source" "server/udev"
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) event18 - 3.0 USB Camera: 3.0 USB Camera: is tagged by udev as: Keyboard
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) event18 - 3.0 USB Camera: 3.0 USB Camera: device is a keyboard
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) event18 - 3.0 USB Camera: 3.0 USB Camera: device removed
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb6/6-3/6-3:1.0/input/input182/>
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (II) XINPUT: Adding extended input device "3.0 USB Camera: 3.0 USB Camera" (type: KEYBOARD, id 8)
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) Option "xkb_model" "pc105"
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (**) Option "xkb_layout" "us"
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (WW) Option "xkb_variant" requires a string value
Jul 09 20:24:43 kc-B550I-AORUS-PRO-AX /usr/lib/gdm3/gdm-x-session[1436]: (WW) Option "xkb_options" requires a string value

 

答案1

在网上简单搜索device descriptor read/8, error -110https://stackoverflow.com/questions/13653692/device-descriptor-read-64-error-110其中部分内容是,

USB 错误 -110 表示“传输完成前超时”,这可能是由任何原因引起的。最常见的原因是功率超出;主机无法提供足够的电力。

但请自己读一读。

感谢您格式化日志文本。

相关内容