已检测到集成网络摄像头但不工作

已检测到集成网络摄像头但不工作

我的集成网络摄像头在 Ubuntu 18.04 内核 4.18.0 上运行良好。然后,出现了一些问题,我重新安装了 Ubuntu 并将其更新到内核 5.3.0。之后我发现我的网络摄像头无法正常工作。它在任何相机应用程序(例如 Cheese)中都显示黑屏。所以我搜索了一下,并尝试了以下命令:

sudo apt-get install cheese build-essential linux-headers-`uname -r`
sudo apt-get install guvcview

然后,我重新启动并按下Fn+ V(相机快捷键),然后打开 Cheese,它在所有应用中都可以正常工作。但在下次启动时,我发现它不起作用,并且再次显示黑屏。我再次尝试了之前的命令,但没有任何变化。

$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:a014 Alcor Micro Corp. Asus Integrated Webcam
Bus 001 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ uname -r
5.3.0-42-generic
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic

答案1

重新启动系统并选择除 5.3 以外的任何其他内核版本作为内核。

答案2

就我而言,我已经能够通过将内核从版本 5.4.0-33 更新到版本 5.5.1 来解决这个问题。您可以按照以下步骤轻松地手动完成此操作:

https://www.tecmint.com/upgrade-kernel-in-ubuntu/

相关内容