Webcam and mic stopped working

I am getting error in any webcam related application as “No webcam and mic detected”.

The groups didn’t have audio & video

$ groups
sys vboxusers rfkill users kvm wheel anks

So, I did
sudo usermod -aG audio,video $USER

$ v4l2-ctl --list-devices
Cannot open device /dev/video0, exiting.
$ mpv av://v4l2:/dev/video0 --profile=low-latency --untimed
[ffmpeg/demuxer] video4linux2,v4l2: Cannot open video device /dev/video0: No such file or directory
[lavf] avformat_open_input() failed
Failed to recognize file format.

Exiting... (Errors when loading file)

After doing modprobe v4l2loopback,

$ v4l2-ctl --list-devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
	/dev/video0

No output on sudo dmesg | grep -i camera

$ lsusb
Bus 002 Device 003: ID 8086:0189 Intel Corp. Centrino Advanced-N 6230 Bluetooth adapter
Bus 002 Device 004: ID 04f2:0833 Chicony Electronics Co., Ltd KU-0833 Keyboard
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 3938:1031 MOSART Semi. 2.4G Wireless Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0408:2fb1 Quanta Computer, Inc. Laptop_Integrated_Webcam_2HDM
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsmod|grep uvcvideo
uvcvideo              147456  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_v4l2         40960  1 uvcvideo
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videodev              307200  4 videobuf2_v4l2,v4l2loopback,uvcvideo,videobuf2_common
mc                     65536  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common

eos-log: inxi -Fxxc0z, journalctl -b -0

The webcam or mic doesn’t get detected with lts kerbel or after reboot. What should I do?
Also tried sudo rmmod uvcvideo && sudo modprobe uvcvideo

You writed “stopped working”. So i suggest it had worked?

Did it stop after a update? Or after a change of something?

Could it be that the device is a notebook? Maybe you pressed a Keycombo on that, wich deactives Webcam and mic on hardware level?

I think it changed after one of the update, but I am not sure.

It’s a laptop, but I couldn’t find any combination for activation/deactivation of webcam and mic.

And you running LTS Kernel? Try the normal one.

But you writed that the Webcam or Mic didnt get detected.

But its there.

Edit: Your submitted log says you running the normal Kernel already. So you tried it with LTS and it didnt get detected?

Edit: What says dmesg after a reboot?

After reboot:

$ sudo dmesg | grep -i "webcam"
[    1.182418] usb 1-1.4: Product: Laptop_Integrated_Webcam_2HDM
[   56.068575] usb 1-1.4: Found UVC 1.00 device Laptop_Integrated_Webcam_2HDM (0408:2fb1)

$ v4l2-ctl --list-devices
Cannot open device /dev/video0, exiting.

$ lsmod|grep uvcvideo
uvcvideo              147456  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_v4l2         40960  1 uvcvideo
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videodev              307200  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc                     65536  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common

But, I can’t still access camera:

2022-01-11-215944_1366x768_scrot
2022-01-11-215559_1366x768_scrot

I suggest to check first with other tools like described here https://wiki.archlinux.org/title/Webcam_setup

That Webcam in Browser dont work, could be a hole other story.

I did check that.

According to uvc supported device list: this webcam is supported by uvcvideo.
0408:2fb1
http://www.ideasonboard.org/uvc/#devices

Now in recent reboot, the device again disappered from lsusb

No output to any of the following command:

$ lsusb | grep -i 'webcam'
$ lsusb | grep -i 'cam'
$ sudo dmesg | grep -i "webcam"
$ sudo dmesg | grep -i "uvc"
$ sudo dmesg | grep -i "cam"

Mic problem is resolved by selecting correct input from PulseAudio Settings.

Edit: Only Internal mic is working

Seemed to be random detection problem.

Did
sudo rmmod uvcvideo && sudo modprobe uvcvideo

Now, next reboot has:

$ lsusb | grep -i 'cam'
Bus 001 Device 003: ID 0408:2fb1 Quanta Computer, Inc. Laptop_Integrated_Webcam_2HDM
$ sudo dmesg | grep -i "cam"
[    1.209255] usb 1-1.4: Product: Laptop_Integrated_Webcam_2HDM
[   32.808019] usb 1-1.4: Found UVC 1.00 device Laptop_Integrated_Webcam_2HDM (0408:2fb1)
$ modinfo uvcvideo | grep version
version:        1.1.1
srcversion:     E1FF5E556A67C7E7204B821

But again same for

$ v4l2-ctl --list-devices
Cannot open device /dev/video0, exiting.

Edit: Seem to be uvcvideo related

$ sudo dmesg | grep -i "uvc"
[   32.808019] usb 1-1.4: Found UVC 1.00 device Laptop_Integrated_Webcam_2HDM (0408:2fb1)
[   37.943746] uvcvideo 1-1.4:1.1: Failed to set UVC probe control : -110 (exp. 26).
[   43.063719] uvcvideo 1-1.4:1.1: Failed to query (129) UVC probe control : -110 (exp. 26).
[   43.063745] uvcvideo 1-1.4:1.1: Failed to initialize the device (-5).
[   43.064076] usbcore: registered new interface driver uvcvideo

Could you try to boot a Ubuntu Live CD for example and test there and to look what dmesg says there?

Here’s the output:

And works it on Ubuntu?

No.

It could most likely be a hardware problem!

You could try to reset BIOS Settings. But i dont think this helps.

The only Thing you can do to see if it is really a hardware problem, would be to try under windows. But that didnt tell somebody why it didnt work under linux (and you said it had worked).

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.