Bug 2355032 - IPU6 camera on Dell Latitude 7440 laptop is not working
Summary: IPU6 camera on Dell Latitude 7440 laptop is not working
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 42
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2333347
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-26 10:51 UTC by andsky
Modified: 2025-04-15 13:08 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Dmesg log (110.05 KB, text/plain)
2025-03-26 10:52 UTC, andsky
no flags Details
lsusb output (484 bytes, text/plain)
2025-03-26 11:15 UTC, andsky
no flags Details
i2c-devices (2.19 KB, text/plain)
2025-03-26 11:16 UTC, andsky
no flags Details
spi-devices (399 bytes, text/plain)
2025-03-26 11:16 UTC, andsky
no flags Details
kernel.txt (115.18 KB, text/plain)
2025-03-26 11:17 UTC, andsky
no flags Details
acpidump (3.99 MB, text/plain)
2025-03-26 11:26 UTC, andsky
no flags Details
kernel-IPU6 log (122.66 KB, text/plain)
2025-03-26 23:27 UTC, andsky
no flags Details
kernel-IPU6 log (116.17 KB, text/plain)
2025-04-15 13:08 UTC, andsky
no flags Details

Description andsky 2025-03-26 10:51:19 UTC
Use camera with a webcam app. Open cheese or https://mozilla.github.io/webrtc-landing/gum_test.html. No playback.
No device found.
NotFoundError: The object can not be found here.

2. What is the Version-Release number of the kernel:
6.14.0-63.fc42.x86_64

Reproducible: Always

Comment 1 andsky 2025-03-26 10:52:21 UTC
Created attachment 2082049 [details]
Dmesg log

Comment 2 andsky 2025-03-26 11:15:13 UTC
Created attachment 2082051 [details]
lsusb output

Comment 3 andsky 2025-03-26 11:16:13 UTC
Created attachment 2082052 [details]
i2c-devices

Comment 4 andsky 2025-03-26 11:16:41 UTC
Created attachment 2082053 [details]
spi-devices

Comment 5 andsky 2025-03-26 11:17:21 UTC
Created attachment 2082054 [details]
kernel.txt

Comment 6 Hans de Goede 2025-03-26 11:20:12 UTC
Looking at your dmesg this line seems to be the problem:

Mar 26 10:48:44 kernel: int3472-discrete INT3472:01: INT3472 seems to have no dependents.

Which is a problem I've not seen before.

Please run:

sudo dnf install acpica-tools
sudo acpidump -o acpidump.txt

and then attach the generated acpidump.txt here. Then when I can make some time (this may be a while) I'll take a look at your ACPI tables and see if I can figure out where that error is coming from. Likely the dependents list will be dynamically generated though, making this difficult to debug.

Comment 7 andsky 2025-03-26 11:26:21 UTC
Created attachment 2082055 [details]
acpidump

Comment 8 Hans de Goede 2025-03-26 11:44:41 UTC
Thank you for the acpidump, after asking for that I realized that the:

Mar 26 10:48:44 kernel: int3472-discrete INT3472:01: INT3472 seems to have no dependents.

message might be normal on devices which use the iVSC glue chip, so I checked on my own iVSC test laptop and this indeed is normal and your laptop indeed is using the iVSC chip. So this is not the problem.

Your laptop appears to be using an ov02c10 (OVTI02C1) sensor which is not yet supported in the mainline / Fedora kernels. Getting support added for this is being tracked in bug 2333347 (and is almost ready to go upstream).

I need to build a test 6.14.0 kernel for some other user with some IPU6 related patches, I'll also add in the ov02c10 driver to that test kernel and then ask you to test. Then we can confirm that the missing sensor driver is the problem.

Comment 9 andsky 2025-03-26 18:39:47 UTC
(In reply to Hans de Goede from comment #8)
> Thank you for the acpidump, after asking for that I realized that the:
> 
> Mar 26 10:48:44 kernel: int3472-discrete INT3472:01: INT3472 seems to have
> no dependents.
> 
> message might be normal on devices which use the iVSC glue chip, so I
> checked on my own iVSC test laptop and this indeed is normal and your laptop
> indeed is using the iVSC chip. So this is not the problem.
> 
> Your laptop appears to be using an ov02c10 (OVTI02C1) sensor which is not
> yet supported in the mainline / Fedora kernels. Getting support added for
> this is being tracked in bug 2333347 (and is almost ready to go upstream).
> 
> I need to build a test 6.14.0 kernel for some other user with some IPU6
> related patches, I'll also add in the ov02c10 driver to that test kernel and
> then ask you to test. Then we can confirm that the missing sensor driver is
> the problem.

Thank you so much. Just let me know when the kernel is ready and I will definitely test it.

Comment 10 Hans de Goede 2025-03-26 20:56:49 UTC
I have prepared a test-kernel with the following patches:

1. 2 hi566 power-on sequence fixes (not posted upstream yet)
2. ov02c10 support https://lore.kernel.org/linux-media/20250319145927.70534-1-hdegoede@redhat.com/
3. ov02e10 support https://lore.kernel.org/linux-media/20250325-b4-media-comitters-next-25-03-13-ov02e10-v2-2-4d933ac8cff6@linaro.org/
4. Lattice / usbio handshake pin support https://lore.kernel.org/platform-driver-x86/20250325161340.342192-1-hdegoede@redhat.com/

This should make the camera on the laptop from this bug work, please give the test kernel a try:

https://koji.fedoraproject.org/koji/taskinfo?taskID=130775742

Here are some instructions for directly installing a kernel from koji:

https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt

Comment 11 andsky 2025-03-26 23:27:09 UTC
Created attachment 2082126 [details]
kernel-IPU6 log

I got around to test the kernel and sadly it didn't work on my laptop. It's the same behavior as before. I have attached the kernel logs. Let me know if you need anything else.

Comment 12 Ondrej Dolak 2025-03-28 20:46:37 UTC
Hi,

I have Dell latitude 7440 2in1. The camera is working with 6.13 kernel and the rpmfusion IPU6 stuff but it is very unstable. I'm using it mostly with Teams.

- Chrome - it doesn't work (with pipewire flag)
- Firefox - it works but it often crashes (blackout). It could be caused by Teams but I'm no sure.
- qcam - works
- Kamoso - sometimes works, sometimes crashes

Using 6.14 ipu kernel

- Firefox + gum test - works but the picture is upside down
- qcam - works - picture is upside down
- Kamoso - works - picture is upside down

Comment 13 Hans de Goede 2025-04-15 11:13:25 UTC
(In reply to andsky from comment #11)
> Created attachment 2082126 [details]
> kernel-IPU6 log
> 
> I got around to test the kernel and sadly it didn't work on my laptop. It's
> the same behavior as before. I have attached the kernel logs. Let me know if
> you need anything else.

Thank you for testing. I'm not seeing any lines like these:

Dec 18 12:55:03 li-4c4c4544-0033-4a10-8056-b2c04f4a3634.ibm.com kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
Dec 18 12:55:03 li-4c4c4544-0033-4a10-8056-b2c04f4a3634.ibm.com kernel: intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x80000000 mask 0x0

in your log, while I do see the ivsc and sensor drivers loading, so these should show up.

I guess that at some point you may have installed the rpmfusion drivers which used to blackist the intel-ipu6 module ?

Please check if you have a '/etc/modprobe.d/ipu6-driver-select.conf' file and if yes remove it and then boot the test kernel again and see if qcam works ('sudo dnf install libcamera-qcam').

Comment 14 andsky 2025-04-15 13:08:36 UTC
Created attachment 2085062 [details]
kernel-IPU6 log

Hi!
Thank you for the suggestion. I have been messing around trying to get the camera to work so of course that file was present. I deleted it and now the camera is working. The picture is upside-down though. The camera seems to work briefly in gumtest using firefox before picture is disappearing. Qcam and camera apps doesn't seem to crash though.

I have attached my kernel log if you need to take a look? Do I need to create a new bug report about the picture being upside-down? When will the fixes in the custom kernel end up in main fedora?


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