我正在尝试让这个旧网络摄像头与 Ubuntu 配合使用。Cheese 显示“未找到设备”。Zoom 应用程序仅将“摄像头”显示为视频设备,但没有图片。Camorama 程序能够获取图片,所以我不确定为什么 3 个程序中有 2 个不起作用。lsusb 显示:总线 005 设备 002:ID 046d:092d Logitech, Inc. QuickCam Express / Go
如果我拔下并重新插入,dmesg 会显示:
[10381.658660] usb 5-1: USB disconnect, device number 2
[10384.162530] usb 5-1: new full-speed USB device number 4 using uhci_hcd
[10384.375509] usb 5-1: New USB device found, idVendor=046d, idProduct=092d
[10384.375512] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10384.375514] usb 5-1: Product: Camera
[10384.375516] usb 5-1: Manufacturer:
[10384.378582] gspca_main: spca561-2.14.0 probing 046d:092d
[10384.435577] input: spca561 as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/input/input15
该设备显示在/dev 中:
/dev/video0 -l
crw-rw----+ 1 root video 81, 0 Mar 29 05:31 /dev/video0
我以为是权限问题,但我以“john”身份登录,并收到以下信息:cat /etc/group|grep vid video:x:44:john 因此我的用户代码在视频组中。如果我从命令行运行 cheese,则会收到以下错误:
** Message: 08:34:07.960: cheese-application.vala:211: Error during camera setup: No device found
(cheese:5090): cheese-CRITICAL **: 08:34:08.042: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:5090): GLib-CRITICAL **: 08:34:08.042: g_variant_new_string: assertion 'string != NULL' failed
(cheese:5090): GLib-CRITICAL **: 08:34:08.042: g_variant_ref_sink: assertion 'value != NULL' failed
(cheese:5090): GLib-GIO-CRITICAL **: 08:34:08.042: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:5090): GLib-CRITICAL **: 08:34:08.042: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:5090): GLib-GIO-CRITICAL **: 08:34:08.042: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given