I investigated the issue further and found a concrete kernel-side cause
for the IPU7 probe failure.
The problem was originally reproducible with the stock Ubuntu kernel on
this system. After installing the recommended Ubuntu 26.04 OEM/IPU7
camera stack, the same kernel-side failure remained:
Found supported sensor SONY471A:00
sysfs: cannot create duplicate filename '/kernel/software_nodes/SONY471A-0'
kobject_add_internal failed ... -EEXIST
error -EEXIST: IPU bridge init failed
probe with driver intel-ipu7 failed with error -17
I inspected the exact Ubuntu source package corresponding to the
installed 7.0.0-1008-oem kernel:
Source: linux-oem-7.0
Version: 7.0.0-1008.8
In:
drivers/media/pci/intel/ipu-bridge.c
the ipu_supported_sensors[] array contains the following block twice:
/* Sony IMX471 */
IPU_SENSOR_CONFIG("SONY471A", 1, 200000000),
For comparison, the current upstream version of this file contains only
one SONY471A entry.
I tested a minimal local correction by removing only the second
duplicated block while retaining the original SONY471A configuration.
I then rebuilt ipu_bridge.ko against 7.0.0-1008-oem. Because Secure Boot
is enabled, I signed the locally rebuilt module with an enrolled MOK and
installed it as an override at:
/lib/modules/7.0.0-1008-oem/updates/ipu-bridge.ko
After rebooting, the duplicate software-node failure disappeared. The
kernel now reports:
Found supported sensor SONY471A:00
Connected 1 cameras
imx471 probe successfully
All sensor registration completed.
IPU psys probe done.
The IPU7 device now completes its kernel probe and the IMX471 sensor is
successfully registered.
I have attached the minimal formal patch and the supporting source,
package, module, and kernel-log evidence for review.
** Patch added: "Minimal tested patch removing the duplicated SONY471A sensor
block"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2158540/+attachment/5981867/+files/0001-media-ipu-bridge-remove-duplicate-SONY471A-entry.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158540
Title:
ThinkPad X9-15 Gen 1: IPU7 camera probe fails — duplicate
software_node SONY471A-0 (-EEXIST), bridge init failed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2158540/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs