1

Problem

Hey, I've got a brand new Lenovo Yoga Slim 9i, and installed Ubuntu 24.04 (had some problems installing both 20 and 22, and the only one that worked was 24), but currently I cannot use my webcam.

Apparently no app that uses a camera seems to be able to recognize the camera device (solved this issue - see UPDATE section - but I'll leave it here for other people that may be facing it). I've tried with the following apps:

  • Discord
  • CHeese
  • Snapshot

Solutions tried

I've also tried some of the 'solutions' that apparently helped other people with similar camera-related problems, but didn't work for me:

1)

sudo adduser $USER video
sudo apt-get install v4l-utils
systemctl --user restart pipewire
  1. Switch on and off the physical 'disable camera' button on the side of the pc.

  2. Tried to check camera-related settings in BIOS but there was none.

Checking for camera device (camera device problem fixed - see UPDATE section)

Also, when I run v4l2-ctl --list-devices I get:

Cannot open device /dev/video0, exiting.

And when I run s -l /dev/video* I get:

ls: cannot access '/dev/video*': No such file or directory

Finally, when I run lsusb I get:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 17ef:f006 Lenovo Zephyr for ZhanLu
Bus 003 Device 003: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Which doesn't seem to show any camera-related device.


UPDATE

  • Tried restarting the machine with the physical camera toggle on (only thought of that now)
  • Now the OS seems to have created the corresponding camera devices:

When running v4l2-ctl --list-devices I get:

v4l2-ctl --list-devices
ipu6 (PCI:pci:pci0000:00): /dev/video1
/dev/video2
/dev/video3
/dev/video4
/dev/video5
/dev/video6
/dev/video7
/dev/video8
ipu6 (pci:pci0000:00):
/dev/media0
Intel MIPI Camera (platform:v4l2loopback-000):
/dev/video0

And I tried running ffplay /dev/video<n>, changing n for each of those devices. Only viedo0 seems to open a GUI, but still, all black image.

(New) Problem

When I tried opening Cheese I'm getting:

There was an error playing video from the webcam

And when trying snaphot I get:

Could not play camera stream

I also tried all solutions described above, but still nothing.

What can I try to make the camera work?

System Specs

  • Machine Model: Lenovo Yoga Slim 9i
  • OS: Ubuntu 24.04.01 LTS

0 Answers0