staging.inyokaproject.org

Ideapad S340 15API - Kamera funktioniert nicht

Status: Ungelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

TerraG

Avatar von TerraG

Anmeldungsdatum:
11. Juli 2011

Beiträge: 343

Hi,

wollte vor ca. 2 Stunden Google Meet testweise ausprobieren. Leider funktioniert die Kamera aber nicht. In der App wird unter Kamera "Integrated Camera: Integrated C" angezeigt, wobei ich denke das beim vierten Wort einfach mit "C" aufgehört wird. Wenn ich versuche die Kamera zu aktivieren schaltet sie sich direkt automatisch wieder aus - Meldung dabei "Kamera ist aus - Kamera wird gestartet - Keine Kamera gefunden", wobei das Lämpchen der Kamera kurz aufblinkt.

Cheese habe ich installiert und das funktioniert auch nicht, wobei es nachdem ich die Auflösung geändert hatte jetzt sogar gar nicht mehr startet.

Gibt es zu dem Problem Lösungen?

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2180

Moin,

keine Ahnung, ob's dazu Lösungen gibt, probier'n wir's mal aus:

Bitte unter Linux folgende Kommandos absetzen und im codeblock {{{ bla }}} hier posten:

lsusb
lsusb -t
ls -l /dev/video*

und ggfs. nochmal versuchen, die webcam mit guvciew zur Mitarbeit zu bewegen (ich traue Cheese nicht ganz über'n Weg).

Ansonsten gibt's immer die Möglichkeit, in dem die Kamera erst über eine Klappe oder über das BIOS/UEFI (auch softwaretechnisch) oder Fn-Tastenkombi erst aktiviert werden muss - bitte mal auch einen Blick in das Handbuch werfen.

TerraG

(Themenstarter)
Avatar von TerraG

Anmeldungsdatum:
11. Juli 2011

Beiträge: 343

Folgendes Ergebnis im Terminal:

Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0cf3:e500 Qualcomm Atheros Communications 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 04f2:b61e Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 2: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 2: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M
    |__ Port 3: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 3: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 4: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 4: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Feb 11 00:23 /dev/video0
crw-rw----+ 1 root video 81, 2 Feb 11 00:23 /dev/video2
Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ 

- guvciew funktioniert auch nicht. Bild bleibt schwarz, dann Fehlermeldung "Keine Rückmeldung".

- Klappe der Kamera ist offen.

- UEFI muss ich mal nachschauen. Nachtrag: Keine Option zur Kamera, lediglich ein "Integrated Graphic Controller" war auf "auto" gestellt.

- Die Aktivierung über die Tastatur habe ich schon erfolglos unter Win10 versucht.

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2180

Na, mal sehen:

Die Kamera ist: ID 04f2:b61e Chicony Electronics Co., Ltd Integrated Camera

Das Netz sagt dazu so mal grundsätzlich: sie funktioniert unter Linux. Das ist schon mal gut.

Der richtige Webcam-Treiber UVC ist auch geladen. Das ist ein standardisierter Treiber, d.h. die Hersteller stellen keinen eigenen Treiber zur Verfügung, sondern ihre Hardware muss sich von diesem bereits existenten Treiber steuern lassen. Manche schaffen das ganz gut, manche weniger gut.

Abgesehen davon hat diese Webcam zwei Schnittstellen:

    |__ Port 4: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 4: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M

mit jeweils einer eigenen Gerätedatei

crw-rw----+ 1 root video 81, 0 Feb 11 00:23 /dev/video0
crw-rw----+ 1 root video 81, 2 Feb 11 00:23 /dev/video2

Teste die Kamera mal bitte im Terminal mit beiden Befehlen:

guvcview -d /dev/video0
guvcview -d /dev/video2

1. Info: Wie ist das Verhalten bei welcher Gerätedatei? Wie lauten die Fehlermeldungen (im Terminal)?

So, jetzt suchen wir die Gerätedatei video0 oder video2 aus, die keine Fehlermeldung ausgegeben hat und laden den Treiber neu. Dazu möchte ich die Kernelausgaben sehen. Bitte öffne zwei Terminal-Fenster und tippe:

Terminalfenster 1:

sudo modprobe -r uvcvideo

Terminalfenster 2:

journalctl -f

Terminalfenster 1:

sudo modprobe uvcvideo

2. Info: Das, was in Terminalfenster 2 nun neu geschrieben wurde, bitte hier mal posten.

3. Info: Geht die Kamera denn unter Win10?

TerraG

(Themenstarter)
Avatar von TerraG

Anmeldungsdatum:
11. Juli 2011

Beiträge: 343

Hi, hier die Ergebnisse:

1.

guvcview -d /dev/video0
guvcview -d /dev/video2

Erster Befehl: Programm öffnet, Bild bleibt schwarz, dann Fehlermeldung "Keine Rückmeldung". Zweiter Befehl: Direkt Fehlermeldung, dass das Gerät nicht gefunden wird.

2. Folgende Ausgaben zum Vorgang mit den beiden Terminals:

//Ausgabe zweites Terminal nach "journalctl -f":

Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ journalctl -f
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API sudo[32222]:    Legna : TTY=pts/0 ; PWD=/home/Legna ; USER=root ; COMMAND=/usr/sbin/modprobe -r uvcvideo
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API sudo[32222]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API kernel: usbcore: deregistering interface driver uvcvideo
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32227]: 1-4:1.1: Process '/usr/lib/snapd/snap-device-helper unbind snap_cups_cupsd /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1 0:0' failed with exit code 1.
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32227]: 1-4:1.1: Process '/usr/lib/snapd/snap-device-helper unbind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1 0:0' failed with exit code 1.
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32229]: 1-4:1.0: Process '/usr/lib/snapd/snap-device-helper unbind snap_cups_cupsd /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0 0:0' failed with exit code 1.
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32229]: 1-4:1.0: Process '/usr/lib/snapd/snap-device-helper unbind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0 0:0' failed with exit code 1.
Feb 11 20:39:58 Legna-Lenovo-IdeaPad-S340-15API sudo[32222]: pam_unix(sudo:session): session closed for user root
Feb 11 20:40:06 Legna-Lenovo-IdeaPad-S340-15API systemd[1808]: Started Application launched by gnome-shell.
Feb 11 20:40:06 Legna-Lenovo-IdeaPad-S340-15API systemd[1808]: Started VTE child process 32268 launched by gnome-terminal-server process 32186.
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.31' (uid=1000 pid=2004 comm="/usr/bin/gnome-shell " label="unconfined")
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.31' (uid=1000 pid=2004 comm="/usr/bin/gnome-shell " label="unconfined")
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Activating service name='org.gnome.Characters.BackgroundService' requested by ':1.31' (uid=1000 pid=2004 comm="/usr/bin/gnome-shell " label="unconfined")
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Successfully activated service 'org.gnome.Characters.BackgroundService'
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API rtkit-daemon[1241]: Supervising 9 threads of 6 processes of 1 users.
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API rtkit-daemon[1241]: Supervising 9 threads of 6 processes of 1 users.
Feb 11 20:40:40 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Successfully activated service 'org.gnome.Calculator.SearchProvider'
Feb 11 20:40:42 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Activating service name='org.gnome.gedit' requested by ':1.31' (uid=1000 pid=2004 comm="/usr/bin/gnome-shell " label="unconfined")
Feb 11 20:40:42 Legna-Lenovo-IdeaPad-S340-15API dbus-daemon[1830]: [session uid=1000 pid=1830] Successfully activated service 'org.gnome.gedit'


//Ausgabe zweites Terminal nach "sudo modprobe uvcvideo" im ersten Terminal:

Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API sudo[32450]:    Legna : TTY=pts/0 ; PWD=/home/Legna ; USER=root ; COMMAND=/usr/sbin/modprobe uvcvideo
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API sudo[32450]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API kernel: mc: Linux media interface: v0.10
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API kernel: videodev: Linux video capture interface: v2.00
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: video4linux: Process '/usr/lib/snapd/snap-device-helper add snap_cheese_cheese /class/video4linux 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: video4linux: Process '/usr/lib/snapd/snap-device-helper add snap_chromium_chromedriver /class/video4linux 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: video4linux: Process '/usr/lib/snapd/snap-device-helper add snap_chromium_chromium /class/video4linux 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: video4linux: Process '/usr/lib/snapd/snap-device-helper add snap_firefox_firefox /class/video4linux 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: video4linux: Process '/usr/lib/snapd/snap-device-helper add snap_firefox_geckodriver /class/video4linux 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: 1-4:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API kernel: usb 1-4: Found UVC 1.00 device Integrated Camera (04f2:b61e)
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: 1-4:1.1: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1 0:0' failed with exit code 1.
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API sudo[32450]: pam_unix(sudo:session): session closed for user root
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API kernel: input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0/input/input46
Feb 11 20:41:39 Legna-Lenovo-IdeaPad-S340-15API kernel: usbcore: registered new interface driver uvcvideo
Feb 11 20:41:40 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: 1-4:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_cupsd /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0 0:0' failed with exit code 1.
Feb 11 20:41:40 Legna-Lenovo-IdeaPad-S340-15API systemd-udevd[32453]: 1-4:1.0: Process '/usr/lib/snapd/snap-device-helper bind snap_cups_ippeveprinter /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0 0:0' failed with exit code 1.
Feb 11 20:41:42 Legna-Lenovo-IdeaPad-S340-15API rtkit-daemon[1241]: Supervising 9 threads of 6 processes of 1 users.
Feb 11 20:41:42 Legna-Lenovo-IdeaPad-S340-15API rtkit-daemon[1241]: Supervising 9 threads of 6 processes of 1 users.

3. Nein, unter Win10 hat die Kamera weder mit der Kamera App noch mit Google Meet funktioniert. Auch nach Anwendung mehrere Lösungsvorschläge aus dem Internet nicht.

TerraG

(Themenstarter)
Avatar von TerraG

Anmeldungsdatum:
11. Juli 2011

Beiträge: 343

Nachtrag

Habe heute Morgen nochmal folgende Befehl versucht:

guvcview -d /dev/video0

Ergebnis war das direkt ein Auswahlfenster mit zweimal "Integrated Camera" zur Auswahl kam. Bei einer dieser Optionen kommt direkt die Fehlermeldung "Gerät nicht gefunden". Bei der anderen Option öffnet das Programm und es wiederholt sich folgende Fehlermeldung:

Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ guvcview -d /dev/video0
GUVCVIEW: version 2.0.7
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Datei oder Verzeichnis nicht gefunden
ALSA lib pcm_dsnoop.c:601:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
libv4l2: error turning on stream: Protokollfehler
V4L2_CORE: (VIDIOC_STREAMON) Unable to start stream: Protokollfehler 
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first

Beende ich das Programm dann kommt noch folgende Meldung im Terminal:

V4L2_CORE: (VIDIOC_REQBUFS) Failed to delete buffers: Das Gerät oder die Ressource ist belegt (errno 16)
V4L2_CORE: failed to unsubscribe events: Kein passendes Gerät gefunden

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2180

TerraG schrieb:

libv4l2: error turning on stream: Protokollfehler
V4L2_CORE: (VIDIOC_STREAMON) Unable to start stream: Protokollfehler 
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first

Also, es sieht so aus, als würde der Treiber geladen werden, bekommt aber von der Hardware keine Informationen. Lt. Internet funktioniert die Kamera wohl manchmal, kommt aber auch in anderen Systemen über einen 'detected' Status nicht hinaus. Das und der Umstand, dass diese individuelle Kamera unter Win10 auch nicht zum Laufen gebracht wird, würde mich auf eine nicht funktionierende UVC-Implementierung schließen lassen, aber auch ein Hardwaredefekt wäre möglich. Sorry, aber das sind schlechte Karten.

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2180

dirkolus schrieb:

Lt. Internet funktioniert die Kamera wohl manchmal, kommt aber auch in anderen Systemen über einen 'detected' Status nicht hinaus.

Demnach könnte man die Kamera nochmal unter Mint 19.2 testen, einfach mit einem bootbaren Image ausprobieren. Aber das ist halt nicht nachhaltig.

TerraG

(Themenstarter)
Avatar von TerraG

Anmeldungsdatum:
11. Juli 2011

Beiträge: 343

Hi,

Kameradefekt wäre eine Möglichkeit, wobei die Kamera letztes Jahr Sept/Okt bei einem Onlineverfahren noch funktioniert hatte.

Andererseits haben die ganzen Fehler die guvcview da ausgibt ja zumindest auf den ersten Blick nichts mit der Hardware zu tun.

Der Vollständigkeit halber hier noch die Ausgabe im Terminal mit "Cheese":

Legna@Legna-Lenovo-IdeaPad-S340-15API:~$ cheese
Gtk-Message: 19:27:52.846: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:27:52.847: Failed to load module "canberra-gtk-module"

(cheese:42940): GLib-GObject-CRITICAL **: 19:27:53.380: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(cheese:42940): cheese-WARNING **: 19:27:53.390: Can't find vp8enc preset: "Profile Realtime", using alternate preset: "Cheese Realtime". If you see this, make a bug report!

(cheese:42940): GStreamer-WARNING **: 19:27:53.390: gst_value_deserialize_g_value_array: unimplemented

(cheese:42940): GStreamer-WARNING **: 19:27:53.390: gst_value_deserialize_g_value_array: unimplemented

(cheese:42940): GStreamer-WARNING **: 19:27:53.390: gst_value_deserialize_g_value_array: unimplemented

(cheese:42940): GStreamer-WARNING **: 19:27:53.405: gst_value_deserialize_g_value_array: unimplemented

(cheese:42940): GStreamer-WARNING **: 19:27:53.405: gst_value_deserialize_g_value_array: unimplemented

(cheese:42940): GStreamer-WARNING **: 19:27:53.405: gst_value_deserialize_g_value_array: unimplemented

(cheese:42940): cheese-WARNING **: 19:27:53.865: Could not read from resource.: gstv4l2bufferpool.c(1126): gst_v4l2_buffer_pool_poll (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1:
poll error 1: Invalid argument (22)


(cheese:42940): GLib-GObject-CRITICAL **: 19:27:53.879: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(cheese:42940): GLib-GObject-CRITICAL **: 19:27:54.599: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed


//Nachdem ich in Cheese die zweite Kamera auswähle:

(cheese:6078): cheese-WARNING **: 19:44:59.381: Could not read from resource.: gstv4l2bufferpool.c(1126): gst_v4l2_buffer_pool_poll (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin19/GstV4l2Src:v4l2src2:
poll error 1: Invalid argument (22)


(cheese:6078): GLib-GObject-CRITICAL **: 19:44:59.394: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(cheese:6078): GLib-GObject-CRITICAL **: 19:45:00.121: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

Werde das Problem evtl. nochmal unter Win10 angehen.

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2180

TerraG schrieb:

Kameradefekt wäre eine Möglichkeit, wobei die Kamera letztes Jahr Sept/Okt bei einem Onlineverfahren noch funktioniert hatte.

Ok, wichtige Info. Unter welchem OS, Version?

Andererseits haben die ganzen Fehler die guvcview da ausgibt ja zumindest auf den ersten Blick nichts mit der Hardware zu tun.

Das stimmt, und ich habe im obigen Post die Stelle zitiert, ab der sich Dein Log von meinem guvcview-Output stark unterschieden hat. D.h. die 'Fehler'meldungen davor kann ich mit einem Thinkpad mit anderem funktionierender Kameramodell (allerdings auch Chicony) nachstellen, erst das Zitat zeigte einen Unterschied.

Der Vollständigkeit halber hier noch die Ausgabe im Terminal mit "Cheese":

Auch hier zeigt sich wenig Hardware-relevantes, erst bei v4l2 bezieht sich der Fehler definitiv auf Videodaten (und damit auch nicht explizit auf Hardware).

Werde das Problem evtl. nochmal unter Win10 angehen.

Achte darauf, aktuelle Treiber zu laden. In dieser Konstellation haben es die Hersteller leichter (wenn gewollt) als in Linux, Bugs im Treiber zu fixen bzw. den Treiber an die Bugs anzupassen. Denn ich glaube auch nicht, dass es so viele 'kaputte' Webcams in Linux-Laptops gibt, sie kommen nur mit den vorhandenen Linuxtreibern nicht klar.

Antworten |