首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu 22.04:找不到相机

Ubuntu 22.04:找不到相机
EN

Ask Ubuntu用户
提问于 2022-12-31 22:28:45
回答 1查看 2.1K关注 0票数 0

我的Ubuntu笔记本电脑找不到它的相机,所以我不能使用视频。

照相机显示“找不到设备”不起作用。

从这个问题上,

sudo lshw -class video

有输出

代码语言:javascript
复制
  *-display                 
       description: VGA compatible controller
       product: CometLake-U GT2 [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: irq:142 memory:b2000000-b2ffffff memory:c0000000-cfffffff ioport:5000(size=64) memory:c0000-dffff
  *-display
       description: 3D controller
       product: GP108M [GeForce MX250]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:141 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128)

我也可以

lsusb -v | grep Camera

正如集成相机所建议的

给出错误:

代码语言:javascript
复制
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing

来自lsusb的输出是巨大的,我不想为了简洁而把这么多信息放在这里。

启动cheese时,在终端上会收到以下警告:

代码语言:javascript
复制
** Message: 16:26:26.963: cheese-application.vala:222: Error during camera setup: No device found


(cheese:19569): cheese-CRITICAL **: 16:26:26.972: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed

(cheese:19569): GLib-CRITICAL **: 16:26:26.972: g_variant_new_string: assertion 'string != NULL' failed

(cheese:19569): GLib-CRITICAL **: 16:26:26.972: g_variant_ref_sink: assertion 'value != NULL' failed

(cheese:19569): GLib-GIO-CRITICAL **: 16:26:26.972: g_settings_schema_key_type_check: assertion 'value != NULL' failed

(cheese:19569): GLib-CRITICAL **: 16:26:26.972: g_variant_get_type_string: assertion 'value != NULL' failed

(cheese:19569): GLib-GIO-CRITICAL **: 16:26:26.972: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given

(cheese:19569): GLib-CRITICAL **: 16:26:26.972: g_variant_unref: assertion 'value != NULL' failed

** (cheese:19569): CRITICAL **: 16:26:26.972: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed

“关于”屏幕显示以下系统信息:

另外,lspci列表

代码语言:javascript
复制
00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (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/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
00:14.5 SD Host controller: Intel Corporation Comet Lake PCH-LP SCS3
00:15.0 Serial bus controller: Intel Corporation Serial IO I2C Host Controller
00:15.1 Serial bus controller: Intel Corporation Comet Lake Serial IO I2C Host Controller
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode]
00:1c.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #1 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #13 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller
02:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX250] (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980

我怎样才能让我的相机/摄像头重新工作?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2023-01-01 16:40:41

我登录到同一台笔记本电脑的窗口,发现那里的摄像头也不工作。在互联网搜索中,我发现第一批检查之一是是否有开关关闭相机。

这台笔记本电脑上有这样一个开关。我移动了开关,Ubuntu分区又有了一个工作摄像头。

我真傻。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1448166

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档