集成网络摄像头不工作 - Ubuntu 18.04

集成网络摄像头不工作 - Ubuntu 18.04

由于整个 Covid-19 疫情,我需要能够在相对较新的 Dell Vostro 5590 笔记本电脑上使用 Skype。不幸的是,我无法让网络摄像头工作。它显示黑屏(在 Skype 和 Cheese 等软件中)。我还安装了 guvcview,但事实证明这没什么用。这是一个集成的高清网络摄像头。我已经检查过我的用户是否已添加到视频组。

任何帮助都值得感激...是否有我可以安装的特殊 Linux 驱动程序?

不确定要提供什么信息,但是这里是输出lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:565a Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 8087:0aaa Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci给出

00:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Device 9b41 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Device 02f9
00:13.0 Serial controller: Intel Corporation Device 02fc
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Device 02f0
00:15.0 Serial bus controller [0c80]: Intel Corporation Device 02e8
00:16.0 Communication controller: Intel Corporation Device 02e0
00:17.0 SATA controller: Intel Corporation Device 02d3
00:1c.0 PCI bridge: Intel Corporation Device 02bc (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 02a4
01:00.0 3D controller: NVIDIA Corporation Device 1d13 (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Non-Volatile memory controller: Device 1e0f:0001

但我认为其中没有网络摄像头信息...此外,当我查看所获得的信息时,dmesg | less我看到:

[    2.311696] uvcvideo 1-6:1.0: Entity type for entity Realtek Extended Controls Unit was not initialized!

[    2.311740] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input6
[    2.311797] usbcore: registered new interface driver uvcvideo
[    2.311798] USB Video Class driver (1.1.1)

但我不知道我能用它做什么!有什么建议吗?小提示:这台笔记本电脑没有预装 Ubuntu。我自己安装了。

编辑:我启动了 gucview 并尝试拍摄一些照片。我在终端中得到了以下信息:

ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

谢谢并保持健康!

答案1

检查是否有某种开关可以激活网络摄像头,例如按键:fn + CAM。如果没有,请查看笔记本电脑侧面是否有物理开关。如果没有,请尝试在 BIOS 选项中查找是否有设置来激活摄像头。某些 DELL 型号有一个名为“杂项设备”的面板。

答案2

从您的“lsusb”输出来看,这是您的网络摄像头:

Bus 001 Device 002: ID 0bda:565a Realtek Semiconductor Corp.

是的,确实看到了。Linux 硬件数据库显示内核 3.7 及更高版本支持它。请参阅:

https://linux-hardware.org/index.php?id=usb:0bda-565a

太棒了!Ubuntu 18.04 使用的是内核 4.15(如果更新则为更新版本),所以一切就绪了。嗯。所以看起来 uvc 驱动程序应该可以立即使用。

是否有东西阻碍了摄像头的开启?请检查 BIOS、笔记本电脑上的任何物理开关、键盘上用于打开或关闭摄像头的任何按键,或 gnome 设置中的设置。

此外,您还可以安装 v4l-utils。

sudo apt install v4l-utils

更多信息:https://launchpad.net/ubuntu/+source/v4l-utils

这是一组用于测试相机的命令行工具。例如,命令“qv4l2”将启动一个详细且略微复杂的程序来测试您的相机。可以帮您找到一些帮助。

最好的

答案3

对于我来说(Lenovo IdeaPad 在 VMWare 下作为客户机运行 Ubuntu 18.04),USB 仿真必须设置为 3.0,然后相机才能工作。

答案4

对于我的戴尔 Latitude 笔记本电脑,我已通过在启动菜单上按 F2 禁用安全启动。使用 cheese 测试并成功。

chinhx@chinhx-Latitude-7280:~$ ls -la /dev/video* crw-rw-rw-+ 1 root video 81, 0 Jul 6 16:38 /dev/video0 crw-rw-rw-+ 1 root video 81, 1 Jul 6 16:38 /dev/video1

相关内容