[SOLVED] Webcam not working on Ubuntu 22.04 12th generation laptop

Note this is not a FW laptop and this is a Framework forum, I can offer one last thought.

sudo fuser -v /dev/video*

Should come back completely empty or with something in use. If it came back with Cannot open device /dev/video0,exiting

…then this means it’s not detecting the hardware.

While you’re on an Acer, on a Framework laptop there is a physical switch. If it is set to “block” the camera, it will produce a result of Cannot open device /dev/video0,exiting

Check your laptop for physical switches. You can also search lsusb for indications that it’s not being detected.

sudo lsusb | grep -i cam

If nothing is coming up, check again with just lsusb to look. Otherwise, sounds like your webcam is not detected.

Also worth checking this:

sudo apt install v4l-utils && v4l2-ctl --list-devices

You can also see if the driver is loaded:

lsmod | grep -i uvc

Should return uvc, uvcvideo, etc. Best of luck!