我有一台翻新的联想 Ideapad 320笔记本电脑,我大约 9 个月前购买的。我开始使用它的集成摄像头(联想EasyCamera) 几天前,仅用于视频通话。我发现奇怪的是,就在我启动Ubuntu 18.04,它工作正常,侧灯一直亮着;但是,闲置一段时间后或打开相机后,它突然就死机了,停止工作。我不知道这可能是驱动程序、电源还是其他类型的问题。
sudo lshw
我已检查两次的输出,并且在该usb
部分(据我所知,相机是通过 USB 内部连接的),它显示以下内容:
- 启动后,相机立即开始工作:
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.3.0-40-generic xhci-hcd
physical id: 0
bus info: usb@1
logical name: usb1
version: 5.03
capabilities: usb-2.00
configuration: driver=hub slots=12 speed=480Mbit/s
*-usb:0
description: Bluetooth wireless interface
product: Bluetooth Radio
vendor: Realtek
physical id: 7
bus info: usb@1:7
version: 2.00
serial: 00e04c000001
capabilities: bluetooth usb-2.10
configuration: driver=btusb maxpower=500mA speed=12Mbit/s
*-usb:1
description: Video
product: EasyCamera
vendor: SunplusIT Inc
physical id: 8
bus info: usb@1:8
version: 53.17
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
- 相机停止工作后:
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.3.0-40-generic xhci-hcd
physical id: 0
bus info: usb@1
logical name: usb1
version: 5.03
capabilities: usb-2.00
configuration: driver=hub slots=12 speed=480Mbit/s
*-usb:0
description: Bluetooth wireless interface
product: Bluetooth Radio
vendor: Realtek
physical id: 7
bus info: usb@1:7
version: 2.00
serial: 00e04c000001
capabilities: bluetooth usb-2.10
configuration: driver=btusb maxpower=500mA speed=12Mbit/s
另外,我尝试过但没有成功:
uvcvideo
在运行时卸载并重新加载内核模块。uvcvideo
在启动时明确加载内核模块,并在/etc/modules
文件中添加一行带有其名称的内容。- 按下
Fn+Esc
两个热键,我的键盘布局都会显示屏幕或摄像头的标志(Fn+F6
,Fn+F8
和Fn+F10
)。 - 使用 Cheese 和 GTK UVC Video Viewer 软件测试相机(均未识别)。
journalctl
作为额外的数据,我获得了有关该模块的结果日志,并发现了这一点:
mar 24 18:35:08 i320 kernel: uvcvideo: Found UVC 1.00 device EasyCamera (5986:210f)
mar 24 18:35:08 i320 kernel: uvcvideo 1-8:1.0: Entity type for entity Extension 4 was not initialized!
mar 24 18:35:08 i320 kernel: uvcvideo 1-8:1.0: Entity type for entity Extension 3 was not initialized!
mar 24 18:35:08 i320 kernel: uvcvideo 1-8:1.0: Entity type for entity Processing 2 was not initialized!
mar 24 18:35:08 i320 kernel: uvcvideo 1-8:1.0: Entity type for entity Camera 1 was not initialized!
mar 24 18:35:08 i320 kernel: usbcore: registered new interface driver uvcvideo
mar 24 18:35:06 i320 systemd-modules-load[317]: Inserted module 'uvcvideo'
如果有人知道如何解决这个问题,或者有什么办法可以帮助我找出问题所在,请告诉我。我将不胜感激。