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.
1 Answer
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/