Bug 2577235

Summary: IPU6+IVSC webcam broken since 7.3: HIMX1092 ipu-bridge entry blocks sensor subdev node registration
Product: [Fedora] Fedora Reporter: Francois BENET <francois.benet>
Component: kernelAssignee: Kate Hsuan <hpa>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: acaringi, adscvr, airlied, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-30 19:14:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Francois BENET 2026-11-19 20:04:33 UTC
Since kernel 7.3, the internal IPU6 camera no longer works on laptops where the
RGB sensor sits behind an Intel IVSC and the firmware also declares a Himax
HM1092 IR sensor (ACPI HID HIMX1092). It worked on 7.2.

Hardware: Dell Precision 5690, Meteor Lake, IPU6, IVSC (Intel IVSC CSI), OV02E10 sensor (OVTI02E1)
Kernel: 7.3.4-200.fc44.x86_64

Symptoms:
- The sensor is bound and appears in the media graph, linked to "Intel IVSC CSI",
  but it gets no /dev/v4l-subdevN node:

  $ media-ctl -p -e "ov02e10 16-0010"
  - entity 368: ov02e10 16-0010 (1 pad, 1 link, 0 routes)
                type V4L2 subdev subtype Sensor flags 0
          pad0: SOURCE
                  -> "Intel IVSC CSI":0 [ENABLED,IMMUTABLE]
  (no "device node name" line)

- Only the CSI2 0-5 and "Intel IVSC CSI" subdevs have nodes.
- Userspace fails to configure the sensor (icamerasrc/libcamhal:
  "Failed to find DevName ... ov02e10 16-0010", then VIDIOC_STREAMON -EPIPE).

Root cause:
- Mainline commit 4fdb0342f05e ("media: ipu-bridge: Add Himax HM1092 IR sensor")
  adds HIMX1092 to ipu_supported_sensors[]. There is no in-kernel driver for it,
  so its async connection never binds:

  # cat /sys/kernel/debug/v4l2-async/pending_async_subdevices
  ipu6:
   [fwnode] dev=nil, node=HIMX1092-1/port@0/endpoint@0
  ov02e10 16-0010:
  Intel IVSC CSI:


  dmesg: "Found supported sensor HIMX1092:00" and "Found supported sensor OVTI02E1:00"
 

- The IPU6 ISYS notifier therefore never reaches .complete. The sensor behind
  the IVSC is bound through the mei_csi sub-notifier, whose .bound callback
  (mei_csi_notify_bound) only creates the media link and never calls
  v4l2_device_register_subdev_nodes(). The only call that would cover the
  sensor is in ISYS .complete, so the sensor node is never created.

- The same problem on the CVS bridge was fixed upstream by commit 7456b40bc992
  ("media: i2c: cvs: Add sensor node in bound callback"), which is in 7.3.4.

Fix tested:
  The attached patch applies the same change as 7456b40bc992 to
  drivers/media/pci/intel/ivsc/mei_csi.c: it registers the subdev nodes from
  mei_csi_notify_bound(). With it, the sensor gets its /dev/v4l-subdevN node and
  the camera works again. It applies cleanly to 7.3.3 and 7.3.4

Other reports of the same issue (Dell XPS 13 9340, XPS 14 9440, Latitude 7340/9440):
- https://github.com/omacom/omarchy/issues/15831
- https://github.com/omacom/omarchy-pkgs/issues/1467
- https://github.com/L0g0ff/KompassOS/issues/117


Here is the patch working on my machine (Dell Precision 5690):


diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers/media/pci/intel/ivsc/mei_csi.c
index c2917e1..668f5a0 100644
--- a/drivers/media/pci/intel/ivsc/mei_csi.c
+++ b/drivers/media/pci/intel/ivsc/mei_csi.c
@@ -30,6 +30,7 @@
 #include <media/ipu6-pci-table.h>
 #include <media/v4l2-async.h>
 #include <media/v4l2-ctrls.h>
+#include <media/v4l2-device.h>
 #include <media/v4l2-fwnode.h>
 #include <media/v4l2-subdev.h>
 
@@ -513,7 +514,7 @@ static int mei_csi_notify_bound(struct v4l2_async_notifier *notifier,
 				struct v4l2_async_connection *asd)
 {
 	struct mei_csi *csi = notifier_to_csi(notifier);
-	int pad;
+	int pad, ret;
 
 	pad = media_entity_get_fwnode_pad(&subdev->entity, asd->match.fwnode,
 					  MEDIA_PAD_FL_SOURCE);
@@ -522,10 +523,21 @@ static int mei_csi_notify_bound(struct v4l2_async_notifier *notifier,
 
 	csi->remote = &subdev->entity.pads[pad];
 
-	return media_create_pad_link(&subdev->entity, pad,
-				     &csi->subdev.entity, CSI_PAD_SINK,
-				     MEDIA_LNK_FL_ENABLED |
-				     MEDIA_LNK_FL_IMMUTABLE);
+	ret = media_create_pad_link(&subdev->entity, pad,
+				    &csi->subdev.entity, CSI_PAD_SINK,
+				    MEDIA_LNK_FL_ENABLED |
+				    MEDIA_LNK_FL_IMMUTABLE);
+	if (ret)
+		return ret;
+
+	/*
+	 * The sensor is bound through this sub-notifier, after the IPU6 ISYS
+	 * .bound callback has run for the IVSC itself. ISYS only creates the
+	 * remaining nodes from .complete, which is never reached when another
+	 * sensor declared by ipu-bridge has no driver. Create the sensor node
+	 * here so it does not depend on .complete.
+	 */
+	return v4l2_device_register_subdev_nodes(subdev->v4l2_dev);
 }
 
 static void mei_csi_notify_unbind(struct v4l2_async_notifier *notifier,
 

Reproducible: Always

Comment 1 Kate Hsuan 2026-11-20 06:12:50 UTC
Hi,

Thank you for reporting the issue.

The MR https://gitlab.com/cki-project/kernel-ark/-/merge_requests/4884 included those patches you mentioned and landed in 7.3
You can test the latest kernel to verify if the camera works.

Comment 2 Francois BENET 2026-11-24 17:05:30 UTC
Hello,

Yes the patches are working, thank you.

Comment 3 Francois BENET 2026-11-26 12:18:37 UTC
Hello,

I'm sorry I made a mistake when I tried the new 7.3.5 fedora kernel release.

On the 7.3.5-200.fc44 kernel the camera is still not working.

  $ media-ctl -p -e "ov02e10 16-0010"
  - entity 368: ov02e10 16-0010 (1 pad, 1 link, 0 routes)
                type V4L2 subdev subtype Sensor flags 0
          pad0: SOURCE
                  -> "Intel IVSC CSI":0 [ENABLED,IMMUTABLE]

  # cat /sys/kernel/debug/v4l2-async/pending_async_subdevices
  ipu6:
   [fwnode] dev=nil, node=HIMX1092-1/port@0/endpoint@0
  ov02e10 16-0010:
  Intel IVSC CSI:


Regards

Comment 4 Augusto Caringi 2026-11-30 19:14:09 UTC
Hi,

Closing as duplicate of BZ#2569787, which tracks the same regression.

Root cause: commit 4fdb0342f05e ("media: ipu-bridge: Add Himax HM1092 IR sensor") was partially stable-backported into 7.3.x without its companion driver. HIMX1092 has no kernel driver, never binds, and permanently blocks the IPU6 ISYS async notifier from completing. As a result, sensors behind IVSC (such as ov02e10) never get their /dev/v4l-subdev* node.

The fix is upstream commit 7260f78c05051fdcfaf337eb1ebef69ec0436c3c ("media: ivsc: csi: Add sensor node in bound callback"), currently in linux-next and tagged Cc: stable.org. We will prepare a scratch build with this patch included so that it can be tested.

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