我在 ThinkPad X1 Carbon 中安装了 Ubuntu 22.04,打开 cheese 时显示“未找到设备”。我不认为问题出在 Cheese,因为通过终端搜索摄像头时找不到。我还检查了 BIOS,发现摄像头已启用(我可以在 Windows 中使用它)。
我认为一定是缺少驱动程序,所以我搜索了解决方案。按照说明,运行后sudo ubuntu-drivers list
不返回任何内容,
sudo ubuntu-drivers install
返回All the available drivers are already installed
并sudo apt install nvidia-fabricmanager-525 libnvidia-nscq-525
返回:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libnvidia-nscq-525 is already the newest version (525.147.05-0ubuntu0.22.04.1).
nvidia-fabricmanager-525 is already the newest version (525.147.05-0ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
有人能帮我找到丢失的驱动程序或者给我一些提示吗?
lsusb 返回:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 8086:0b63 Intel Corp. USB Bridge
Bus 003 Device 003: ID 046d:c548 Logitech, Inc. USB Receiver
Bus 003 Device 002: ID 06cb:00fc Synaptics, Inc.
Bus 003 Device 005: ID 8087:0033 Intel Corp.
Bus 003 Device 006: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID
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
答案1
运行后sudo adduser $USER video
,我遵循了以下操作:
ffmpeg 有没有办法将视频发送到 Ubuntu 上的 /dev/video0?
通过运行ffplay /dev/video0
我现在就有了视频。
它并不完美,但可以工作。要在 Teams 中使用摄像头,我会在终端中运行它,然后在 Teams 中打开摄像头。如果有人有其他解决方案,请分享 :)