当卖家在我测试网络摄像头时(当时系统仍为 Windows)网络摄像头是可以工作的,但现在在 ubuntu 22.04 上它却无法工作了。
lsusb 检测到设备:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0408:4033 Quanta Computer, Inc. ACER HD User Facing
Bus 003 Device 002: ID 062a:4106 MosArt Semiconductor Corp. Wireless Mouse 2.4G
Bus 003 Device 005: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth
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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg 输出:
[ 3.464886] uvcvideo 3-7:1.1: Failed to query (129) UVC probe control : 26 (exp. 48).
[ 3.464919] uvcvideo 3-7:1.1: Failed to initialize the device (-5).
[ 3.501727] usbcore: registered new interface driver uvcvideo
我查找了一个模块,它似乎就在那里:
/usr/include/linux/uvcvideo.h
/usr/include/linux/usb/g_uvc.h
/usr/lib/modules/5.15.0-25-generic/kernel/drivers/media/usb/uvc
/usr/lib/modules/5.15.0-25-generic/kernel/drivers/media/usb/uvc/uvcvideo.ko
/usr/lib/modules/5.15.0-25-generic/kernel/drivers/usb/gadget/function/usb_f_uvc.ko
/usr/lib/modules/5.15.0-41-generic/kernel/drivers/media/usb/uvc
/usr/lib/modules/5.15.0-41-generic/kernel/drivers/media/usb/uvc/uvcvideo.ko
/usr/lib/modules/5.15.0-41-generic/kernel/drivers/usb/gadget/function/usb_f_uvc.ko
我已经使用 ubuntu 几年了,但在使用终端方面我并没有那么多经验。希望有人能帮助我。
谢谢。
答案1
你好,有一个针对相机的解决方案https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000947