0

enter image description here

If I open/close cheese two times or more , Ubuntu fails to find the build-in webcam. Only after reboot the webcam will be functional for me and only once.

dlin
  • 3,900
nazar2sfive
  • 1,493

1 Answers1

0

I don't know the cause of the problem, and many others reported the same frustration across the years. As a workaround, to avoid rebooting, you could disable and enable the webcam.

$ sudo modprobe -r uvcvideo
    (sudo rmmod uvcvideo may work as well)
$ sudo modprobe uvcvideo

This worked for many since old Ubuntus and not-so-old ones

sudo modprobe -r uvcvideo
sudo modprobe uvcvideo

If uvcvideo is not the right module in 20.04, you can list possible values with lsmod:

sudo lsmod

Other sources:

https://digitizor.com/how-to-reload-ubuntu-linux-laptop-webcam-fix-without-restart/