我有一个 USB 摄像头,在我的 Ubuntu(当前版本 18.04.4 LTS,Linux E480 4.15.0-88-generic #88-Ubuntu SMP)上,它曾经工作得很好,即插即用。现在,几个月来它一直没有检测到。
插入摄像头后,dmesg 的尾部显示
[ 5862.596999] usb 1-3: new high-speed USB device number 15 using xhci_hcd
[ 5862.798746] usb 1-3: config 1 interface 1 altsetting 0 endpoint 0x82 has wMaxPacketSize 0, skipping
[ 5862.799144] usb 1-3: New USB device found, idVendor=1742, idProduct=0307
[ 5862.799149] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5862.799154] usb 1-3: Product: NCM03-V-02
[ 5862.799157] usb 1-3: Manufacturer: Nippon Chemi-Con Corporation
[ 5862.800479] uvcvideo: Found UVC 1.00 device NCM03-V-02 (1742:0307)
[ 5862.800516] uvcvideo: No streaming interface found for terminal 2.
[ 5862.800524] uvcvideo 1-3:1.0: Entity type for entity Extension 4 was not initialized!
[ 5862.800531] uvcvideo 1-3:1.0: Entity type for entity Processing 3 was not initialized!
[ 5862.800535] uvcvideo 1-3:1.0: Entity type for entity Camera 1 was not initialized!
[ 5862.801081] input: NCM03-V-02 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/input/input25
lsusb 显示此条目:
Bus 001 Device 015: ID 1742:0307
和 lsusb -t 这些(在 Bus 01 下):
|__ Port 3: Dev 15, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 15, If 1, Class=Video, Driver=, 480M
但是,相机没有列出/dev/v4l/*
,因此不在/dev/video*
。
v4l2-ctl --list-devices
不显示相机。
我尝试通过以下方式解决此问题,例如重新安装 v4l-utils 并重新添加模块 uvcvideo 和 xhci_hcd。
我推测“未找到终端的流式传输接口”和“实体 X 未初始化!”这两个消息不是一个好兆头,但互联网搜索对我没有帮助。
我有双启动(Linux / Windows),并且相机在 Windows 上运行。
有什么帮助吗?
答案1
我也遇到了类似的问题并且该软件包uvcdynctrl
解决了它。
$ sudo apt install uvcdynctrl
答案2
我遇到了类似的问题,并在dmesg
[ 119.312320] usb 1-5: Product: HD WebCam
[ 119.312322] usb 1-5: Manufacturer: Generic
[ 119.312325] usb 1-5: SerialNumber: XXXXXXXXXXXX
[ 119.314500] uvcvideo: Found UVC 1.00 device HD WebCam (0408:a060)
[ 119.317874] uvcvideo 1-5:1.0: Entity type for entity Extension 4 was not initialized!
[ 119.317880] uvcvideo 1-5:1.0: Entity type for entity Processing 2 was not initialized!
[ 119.317885] uvcvideo 1-5:1.0: Entity type for entity Camera 1 was not initialized!
偶然发现了这个回答它建议重新安装usbutils
。之后我的笔记本电脑开始检测我的相机。