web cam does not work ubuntu 21.04 with Lenovo X1 Gen 9

I can not get the integrated web cam working on my Lenovo X1 Gen 9 with Ubuntu 21.04. When opening Cheese I only see a black screen. It works with an external USB web cam. I have installed the latest updates and the latetes BIOS (1.39). The web cam shutter is open (no red dot).

Does anybody else has this problem and knows a solution? Any help is very appreciated.

Best Nielson


Many device access problems can be resolved through group membership changes.

Specifically, if ls -l shows that the group permissions (the second "rwx" triplet) is "rw" (e.g."-rw-rw----"), then, adding oneself to the group that owns the device will grant rw access.

Here's how:

device="/dev/whatever"
sudo adduser $USER $(stat -c "%G" $device)

This allows you membership in the group that can rw the device, but there is one more step.

To make all your processes members of the new group, logout and login. Group memberships are set up at login time.

To create a single process in the new group (for testing, prior to logout/login):

newgrp $(stat -c "%G" $device)  

or, just type the group name. See man newgrp.