Bug 2325010 - IPU6 camera on Dell XPS 13 9340 not working
Summary: IPU6 camera on Dell XPS 13 9340 not working
Keywords:
Status: CLOSED DUPLICATE of bug 2333347
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 41
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2300336
TreeView+ depends on / blocked
 
Reported: 2024-11-10 14:30 UTC by jan p. springer
Modified: 2024-12-19 23:10 UTC (History)
21 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-19 23:10:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
journalctl -b 0 -k > kernel.txt (124.23 KB, text/plain)
2024-12-19 22:43 UTC, jan p. springer
no flags Details
lsusb > lsusb.txt (453 bytes, text/plain)
2024-12-19 22:44 UTC, jan p. springer
no flags Details
ls -l /sys/bus/i2c/devices/ > i2c-devices.txt (2.44 KB, text/plain)
2024-12-19 22:44 UTC, jan p. springer
no flags Details
ls -l /sys/bus/spi/devices/ > spi-devices.txt (289 bytes, text/plain)
2024-12-19 22:44 UTC, jan p. springer
no flags Details

Description jan p. springer 2024-11-10 14:30:35 UTC
ipu6 camera still not usable in firefox (via pipewire).

Reproducible: Always

Steps to Reproduce:
1. start firefox
2. go to any online video tool
3. ipu6 camera not there for selection
Actual Results:  
no ipu6 camera available

Expected Results:  
ipu6 camera available

dell xps 13 9430

Comment 1 jan p. springer 2024-11-30 00:57:44 UTC
actually, the ipu6 camera is not usable in anything that usually deals with video; is the pipewire setup broken? helvum shows around 20 to 30 ipu6 canmera (instances).

Comment 2 kja999 2024-12-02 08:37:11 UTC
Likewise on Lenovo X1 Gen 12.
Some cameras exist (around 40 IPU6 V4L2) but none work. /dev/media exists but reports no sensor available

Comment 3 Hans de Goede 2024-12-19 10:55:23 UTC
(In reply to jan p. springer from comment #1)
> actually, the ipu6 camera is not usable in anything that usually deals with
> video; is the pipewire setup broken? helvum shows around 20 to 30 ipu6
> canmera (instances).

This has been long fixed by:
https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2095

Please make sure you have applied all updates by running the following command in a terminal:

`sudo dnf update`

Due to a recent kernel bug you will need to make sure you update to kernel 6.12.5 otherwise you will get kernel 6.11.11 or 6.12.5 and your laptop will not boot:

`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-72be304d8a`

Before rebooting please enable some debugging by running:

`sudo grubby --update-kernel=ALL --args="intel_skl_int3472_discrete.dyndbg"

Reboot and read and follow:
https://fedoraproject.org/wiki/Changes/IPU6_Camera_support#How_To_Test
to test the cameras.

If things still do not work, please run the following commands to
collect logs after testing the cameras:

`journalctl -b 0 -k > kernel.txt`
`lsusb > lsusb.txt`
`ls -l /sys/bus/i2c/devices/ > i2c-devices.txt`
`ls -l /sys/bus/spi/devices/ > spi-devices.txt`

Comment 4 Hans de Goede 2024-12-19 10:57:00 UTC
(In reply to kja999 from comment #2)
> Likewise on Lenovo X1 Gen 12.
> Some cameras exist (around 40 IPU6 V4L2) but none work. /dev/media exists
> but reports no sensor available

The cameras not working on the X1 Carbon Gen 12 is a different issue which is caused by bug 2333299.

Comment 5 Hans de Goede 2024-12-19 10:59:56 UTC
p.s.

(In reply to Hans de Goede from comment #3)
> If things still do not work, please run the following commands to
> collect logs after testing the cameras:
> 
> `journalctl -b 0 -k > kernel.txt`
> `lsusb > lsusb.txt`
> `ls -l /sys/bus/i2c/devices/ > i2c-devices.txt`
> `ls -l /sys/bus/spi/devices/ > spi-devices.txt`

And then please attach the generated "*.txt" files to this bug.

Comment 6 jan p. springer 2024-12-19 22:43:44 UTC
Created attachment 2063296 [details]
journalctl -b 0 -k > kernel.txt

Comment 7 jan p. springer 2024-12-19 22:44:06 UTC
Created attachment 2063297 [details]
lsusb > lsusb.txt

Comment 8 jan p. springer 2024-12-19 22:44:25 UTC
Created attachment 2063298 [details]
ls -l /sys/bus/i2c/devices/ > i2c-devices.txt

Comment 9 jan p. springer 2024-12-19 22:44:43 UTC
Created attachment 2063299 [details]
ls -l /sys/bus/spi/devices/ > spi-devices.txt

Comment 10 Hans de Goede 2024-12-19 23:10:22 UTC
Thank you for the logs. The journal ctl output shows that you have a XPS 13 9340, not a 9430 (4 and 3 swapped) as you mentioned in the original description.

There is a known issue with the cameras on the XPS 13 9340 caused by the ov02c10 sensor not being supported by the mainline kernel and your logs show this is the issue on your model too.

The good news is that a driver for the ov02c10 sensor is undergoing review upstream and people have confirmed that with that driver things do work.

So with some patience this will hopefully get resolved soon(ish).

*** This bug has been marked as a duplicate of bug 2333347 ***


Note You need to log in before you can comment on or make changes to this bug.