Second video device not accessible in Cheese

Bug #1991480 reported by Hilbricht
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have two USB video devices, a Logitech Webcam (first device, /dev/video0) and a CZUR book scanner (basically a camera, second device, /dev/video2), both working in applications such as guvcview, vlc, OBS or webcamoid:

v4l2-ctl --list-devices
UVC Camera (046d:0825) (usb-0000:00:14.0-1.3.1):
 /dev/video0
 /dev/video1
 /dev/media0

CZUR (usb-0000:00:14.0-1.4.2):
 /dev/video2
 /dev/video3
 /dev/media1
However, in Cheese I cannot access the CZUR book scanner: In the GUI, the menu to choose a device is greyed out showing only the UVC camera, on the commandline cheese -d CZUR falls back to the UVC camera I obtained the device name with

udevadm info /sys/class/video4linux/video2 | grep ID_V4L_PRODUCT
E: ID_V4L_PRODUCT=CZUR
and when I replace the device name with dconf editor Cheese falls back to the UVC device again.

This is the output of gst-device-monitor-1.0 with respect to the first and second video device:

gst-device-monitor-1.0 Video
Probing devices...

Device found:

 name : UVC Camera (046d:0825)
 class : Video/Source
 caps : video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 15/2, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 15/2, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)1184, height=(int)656, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)960, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)1024, height=(int)576, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)960, height=(int)544, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)864, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)800, height=(int)448, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)752, height=(int)416, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)544, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)320, height=(int)176, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         video/x-raw, format=(string)YUY2, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)1184, height=(int)656, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)960, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)1024, height=(int)576, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)960, height=(int)544, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)864, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)800, height=(int)448, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)752, height=(int)416, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)544, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)320, height=(int)176, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
         image/jpeg, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
 properties:
  udev-probed = true
  device.bus_path = pci-0000:00:14.0-usb-0:1.3.1:1.0
  sysfs.path = /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/video4linux/video0
  device.bus = usb
  device.subsystem = video4linux
  device.vendor.id = 046d
  device.vendor.name = 046d
  device.product.id = 0825
  device.product.name = "UVC\ Camera\ \(046d:0825\)"
  device.serial = 046d_0825_B73C4F50
  device.capabilities = :capture:
  device.api = v4l2
  device.path = /dev/video0
  v4l2.device.driver = uvcvideo
  v4l2.device.card = "UVC\ Camera\ \(046d:0825\)"
  v4l2.device.bus_info = usb-0000:00:14.0-1.3.1
  v4l2.device.version = 331573 (0x00050f35)
  v4l2.device.capabilities = 2225078273 (0x84a00001)
  v4l2.device.device_caps = 69206017 (0x04200001)
 gst-launch-1.0 v4l2src ! ...

Device found:

 name : CZUR
 class : Video/Source
 caps : image/jpeg, width=(int)4608, height=(int)3456, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)8/1;
         image/jpeg, width=(int)4320, height=(int)3240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)8/1;
         image/jpeg, width=(int)4000, height=(int)3000, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)8/1;
         image/jpeg, width=(int)3264, height=(int)2448, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)8/1;
         image/jpeg, width=(int)2592, height=(int)1944, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)8/1;
         image/jpeg, width=(int)2048, height=(int)1536, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)8/1;
         image/jpeg, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1;
         image/jpeg, width=(int)1600, height=(int)1200, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1;
         image/jpeg, width=(int)1536, height=(int)1152, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1;
         image/jpeg, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1;
 properties:
  udev-probed = true
  device.bus_path = pci-0000:00:14.0-usb-0:1.4.2:1.0
  sysfs.path = /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2:1.0/video4linux/video2
  device.bus = usb
  device.subsystem = video4linux
  device.vendor.id = 04fc
  device.vendor.name = 04fc
  device.product.id = 1101
  device.product.name = CZUR
  device.serial = 04fc_CZUR_HU123456
  device.capabilities = :capture:
  device.api = v4l2
  device.path = /dev/video2
  v4l2.device.driver = uvcvideo
  v4l2.device.card = CZUR
  v4l2.device.bus_info = usb-0000:00:14.0-1.4.2
  v4l2.device.version = 331573 (0x00050f35)
  v4l2.device.capabilities = 2225078273 (0x84a00001)
  v4l2.device.device_caps = 69206017 (0x04200001)
 gst-launch-1.0 v4l2src device=/dev/video2 ! ...

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cheese 3.34.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-48.54~20.04.1-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 2 11:16:39 2022
ExecutablePath: /usr/bin/cheese
MachineType: Intel(R) Client Systems NUC10i5FNH
ProcEnviron:
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, user)
 LANG=de_DE.UTF-8
RelatedPackageVersions:
 cheese 3.34.0-1ubuntu1
 cheese-common 3.34.0-1ubuntu1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/18/2020
dmi.bios.release: 5.16
dmi.bios.vendor: Intel Corp.
dmi.bios.version: FNCML357.0047.2020.1118.1629
dmi.board.asset.tag: Default string
dmi.board.name: NUC10i5FNB
dmi.board.vendor: Intel Corporation
dmi.board.version: K61361-306
dmi.chassis.type: 35
dmi.chassis.vendor: Intel Corporation
dmi.chassis.version: 2.0
dmi.ec.firmware.release: 3.9
dmi.modalias: dmi:bvnIntelCorp.:bvrFNCML357.0047.2020.1118.1629:bd11/18/2020:br5.16:efr3.9:svnIntel(R)ClientSystems:pnNUC10i5FNH:pvrK61160-307:rvnIntelCorporation:rnNUC10i5FNB:rvrK61361-306:cvnIntelCorporation:ct35:cvr2.0:skuBXNUC10i5FNH:
dmi.product.family: FN
dmi.product.name: NUC10i5FNH
dmi.product.sku: BXNUC10i5FNH
dmi.product.version: K61160-307
dmi.sys.vendor: Intel(R) Client Systems
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: tobias 2453 F.... pulseaudio
 /dev/snd/pcmC2D0p: tobias 2453 F...m pulseaudio
 /dev/snd/controlC0: tobias 2453 F.... pulseaudio
 /dev/snd/controlC1: tobias 2453 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
MachineType: Intel(R) Client Systems NUC10i5FNH
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-48-generic root=UUID=bbac8e48-f78b-4cff-83fe-f339993cc42a ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-48.54~20.04.1-generic 5.15.53
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-48-generic N/A
 linux-backports-modules-5.15.0-48-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
Tags: focal
Uname: Linux 5.15.0-48-generic x86_64
UnreportableReason: In diesem Bericht geht es um ein Paket, welches nicht installiert ist.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare scanner sudo vboxusers video
_MarkForUpload: False
dmi.bios.date: 11/18/2020
dmi.bios.release: 5.16
dmi.bios.vendor: Intel Corp.
dmi.bios.version: FNCML357.0047.2020.1118.1629
dmi.board.asset.tag: Default string
dmi.board.name: NUC10i5FNB
dmi.board.vendor: Intel Corporation
dmi.board.version: K61361-306
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 35
dmi.chassis.vendor: Intel Corporation
dmi.chassis.version: 2.0
dmi.ec.firmware.release: 3.9
dmi.modalias: dmi:bvnIntelCorp.:bvrFNCML357.0047.2020.1118.1629:bd11/18/2020:br5.16:efr3.9:svnIntel(R)ClientSystems:pnNUC10i5FNH:pvrK61160-307:rvnIntelCorporation:rnNUC10i5FNB:rvrK61361-306:cvnIntelCorporation:ct35:cvr2.0:skuBXNUC10i5FNH:
dmi.product.family: FN
dmi.product.name: NUC10i5FNH
dmi.product.sku: BXNUC10i5FNH
dmi.product.version: K61160-307
dmi.sys.vendor: Intel(R) Client Systems

Revision history for this message
Hilbricht (hilbricht) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1991480

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Hilbricht (hilbricht) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Hilbricht (hilbricht) wrote : CRDA.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : IwConfig.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : Lspci.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : Lspci-vt.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : Lsusb.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : Lsusb-t.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : Lsusb-v.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : ProcModules.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : PulseList.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : RfKill.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : UdevDb.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : WifiSyslog.txt

apport information

Revision history for this message
Hilbricht (hilbricht) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
affects: linux (Ubuntu) → cheese (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.