I got a USB endoscope camera but Cheese does not recognize it. It works with guvcview
though.
Here’s what I see with journalctl
when plugging in the camera:
kernel: usb 1-3: new high-speed USB device number 23 using xhci_hcd
kernel: usb 1-3: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
kernel: usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
kernel: usb 1-3: Product: USB 2.0 Hub
kernel: hub 1-3:1.0: USB hub found
kernel: hub 1-3:1.0: 4 ports detected
upowerd[3511]: treating change event as add on /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/kernel: usb 1-3.4: new high-speed USB device number 24 using xhci_hcd
kernel: usb 1-3.4: New USB device found, idVendor=2b16, idProduct=6689, bcdDevice= 6.19
kernel: usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-3.4: Product: DP 5M CAM
kernel: usb 1-3.4: Manufacturer: SunplusIT Inc
kernel: usb 1-3.4: SerialNumber: 01.00.00
kernel: uvcvideo: Found UVC 1.00 device DP 5M CAM (2b16:6689)
kernel: input: DP 5M CAM: DP 5M CAM as /devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-3/1-3.4/1-3.mtp-probe[352465]: checking bus 1, device 24: "/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/mtp-probe[352465]: bus: 1, device: 24 was not an MTP device
mtp-probe[352488]: checking bus 1, device 24: "/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/mtp-probe[352488]: bus: 1, device: 24 was not an MTP device
And when Cheese is started:
cheese[352742]: cheese-application.vala:214: Error during camera setup: No device found
cheese[352742]: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
cheese[352742]: g_variant_new_string: assertion 'string != NULL' failed
cheese[352742]: g_variant_ref_sink: assertion 'value != NULL' failed
cheese[352742]: g_settings_schema_key_type_check: assertion 'value != NULL' failed
cheese[352742]: g_variant_get_type_string: assertion 'value != NULL' failed
cheese[352742]: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a ll)' was given
cheese[352742]: g_variant_unref: assertion 'value != NULL' failed
cheese[352742]: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
This is on Fedora 33 using MATE DE. As a side note, there is unfortunately a still-unpatched bug with Cheese’s Preferences menu being hidden for non-Gnome DE’s:
If a solution for that could come to Fedoraland that would be great…
Back to the camera issue, I also tried plugging it into a laptop running Fedora 33 Gnome Shell, but it got recognized differently there, seemingly as a keyboard. Cheese does not recognize the USB camera as an input device on that system either.
kernel: usb 2-2: new high-speed USB device number 5 using xhci_hcd
kernel: usb 2-2: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
kernel: usb 2-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
kernel: usb 2-2: Product: USB 2.0 Hub
kernel: hub 2-2:1.0: USB hub found
kernel: hub 2-2:1.0: 4 ports detected
upowerd[1618]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
kernel: usb 2-2.4: new high-speed USB device number 6 using xhci_hcd
kernel: usb 2-2.4: New USB device found, idVendor=2b16, idProduct=6689, bcdDevice= 6.19
kernel: usb 2-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-2.4: Product: DP 5M CAM
kernel: usb 2-2.4: Manufacturer: SunplusIT Inc
kernel: usb 2-2.4: SerialNumber: 01.00.00
kernel: uvcvideo: Found UVC 1.00 device DP 5M CAM (2b16:6689)
kernel: input: DP 5M CAM: DP 5M CAM as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.4/2-2.4:1.0/input/input22
mtp-probe[6920]: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.4"
mtp-probe[6920]: bus: 2, device: 6 was not an MTP device
/usr/libexec/gdm-x-session[2187]: (II) config/udev: Adding input device DP 5M CAM: DP 5M CAM (/dev/input/event19)
/usr/libexec/gdm-x-session[2187]: (**) DP 5M CAM: DP 5M CAM: Applying InputClass "evdev keyboard catchall"
/usr/libexec/gdm-x-session[2187]: (**) DP 5M CAM: DP 5M CAM: Applying InputClass "libinput keyboard catchall"
/usr/libexec/gdm-x-session[2187]: (**) DP 5M CAM: DP 5M CAM: Applying InputClass "system-keyboard"
/usr/libexec/gdm-x-session[2187]: (II) Using input driver 'libinput' for 'DP 5M CAM: DP 5M CAM'
/usr/libexec/gdm-x-session[2187]: (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 76 paused 0
/usr/libexec/gdm-x-session[2187]: (**) DP 5M CAM: DP 5M CAM: always reports core events
/usr/libexec/gdm-x-session[2187]: (**) Option "Device" "/dev/input/event19"
/usr/libexec/gdm-x-session[2187]: (**) Option "_source" "server/udev"
/usr/libexec/gdm-x-session[2187]: (II) event19 - DP 5M CAM: DP 5M CAM: is tagged by udev as: Keyboard
/usr/libexec/gdm-x-session[2187]: (II) event19 - DP 5M CAM: DP 5M CAM: device is a keyboard
/usr/libexec/gdm-x-session[2187]: (II) event19 - DP 5M CAM: DP 5M CAM: device removed
/usr/libexec/gdm-x-session[2187]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.4/2-2.4:1.0/input/input22/event19"
/usr/libexec/gdm-x-session[2187]: (II) XINPUT: Adding extended input device "DP 5M CAM: DP 5M CAM" (type: KEYBOARD, id 16)
/usr/libexec/gdm-x-session[2187]: (**) Option "xkb_layout" "us,ca"
/usr/libexec/gdm-x-session[2187]: (**) Option "xkb_variant" ",multix"
/usr/libexec/gdm-x-session[2187]: (II) event19 - DP 5M CAM: DP 5M CAM: is tagged by udev as: Keyboard
/usr/libexec/gdm-x-session[2187]: (II) event19 - DP 5M CAM: DP 5M CAM: device is a keyboard
mtp-probe[6952]: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.4"
mtp-probe[6952]: bus: 2, device: 6 was not an MTP device
/usr/libexec/gdm-x-session[6954]: The XKEYBOARD keymap compiler (xkbcomp) reports:
/usr/libexec/gdm-x-session[6954]: > Error: Key <MDSW> added to map for multiple modifiers
/usr/libexec/gdm-x-session[6954]: > Using Mod3, ignoring Mod5.
/usr/libexec/gdm-x-session[6954]: > Warning: Could not resolve keysym XF86FullScreen
/usr/libexec/gdm-x-session[6954]: Errors from xkbcomp are not fatal to the X server