升级到 18.04 后集成网络摄像头不工作

Roh*_*Rao 3 webcam camera 18.04

我购买了一台成功运行 Ubuntu 12.10 的二手联想 Z370。我进行了全新安装,删除并安装了 18.04。但我的集成网络摄像头无法正常工作。

  1. Cheese 告诉我找不到设备

  2. 我已经运行sudo apt-get install libsbigudrv2 libsbigudrv0并收到以下消息

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libsbigudrv0 is already the newest version (5:0.5-0ubuntu10).
    libsbigudrv2 is already the newest version (2.0.0-0ubuntu1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    Run Code Online (Sandbox Code Playgroud)
  3. 我也跑了ls -ltrh /dev/video*,我得到的结果是

    ls: cannot access '/dev/video*': No such file or directory
    
    Run Code Online (Sandbox Code Playgroud)
  4. 我也运行了sudo apt-get install cheese build-essential linux-headers-``uname -r`,我得到的是

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    build-essential is already the newest version (12.4ubuntu1).
    cheese is already the newest version (3.28.0-1ubuntu1).
    linux-headers-4.15.0-29-generic is already the newest version (4.15.0-29.31).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    Run Code Online (Sandbox Code Playgroud)
  5. 我还在我的Esc钥匙上看到了一个相机图标,我按下了Fn+Esc但我无法检测到是否发生了任何事情。我可以报告的一件事是/dev/video仍然不可用。

  6. 运行lspci收益率

    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
    00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
    00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
    05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
    06:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    
    Run Code Online (Sandbox Code Playgroud)

那么,如何让网络摄像头工作呢?

编辑 1:根据 Martin 的输入运行更多命令。

  1. lsusb

    Bus 002 Device 007: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device
    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 001 Device 003: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
    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
    
    Run Code Online (Sandbox Code Playgroud)
  2. dmesg | grep uvc 什么都不给。

  3. dmesg | grep uvc运行后 检查sudo modprobe uvcvideo,它产生

    [ 2901.557462] usbcore: registered new interface driver uvcvideo
    
    Run Code Online (Sandbox Code Playgroud)
  4. 奶酪还是不行。

编辑 2:网络摄像头神秘地开始工作。我猜前几个月的软件更新使它成为可能。我在运行缩放时第一次注意到这一点。网络摄像头工作,然后在 5 秒左右后停止工作。所以我打开奶酪,网络摄像头可能工作了半分钟(质量很差),但后来停止工作。

小智 9

为了可能拯救像我这样浪费时间的其他人,一些笔记本电脑有一个键盘按钮来打开网络摄像头,比如我的 Clevo P150EM,Fn+F10

我还必须重新启动 Cheese 以检查它是否有效。