Skip to content

Fix IPU7 PSYS camera support on Linux 7.1 - #117

Merged
dhh merged 1 commit into
omacom-io:masterfrom
spencerbull:agent/ipu7-psys-bus-registration
Jul 13, 2026
Merged

Fix IPU7 PSYS camera support on Linux 7.1#117
dhh merged 1 commit into
omacom-io:masterfrom
spencerbull:agent/ipu7-psys-bus-registration

Conversation

@spencerbull

@spencerbull spencerbull commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • backport Intel's pending IPU7 PSYS bus-registration fix to the driver revision pinned by intel-ipu7-camera
  • apply the backport during prepare() and bump the Omarchy camera stack version to 1.0.5-1
  • retain the downstream patch only until the upstream fix is merged and the pinned driver commit includes it

Root cause

The IPU7 PSYS driver assigns a custom intel-ipu7-psys bus to its character device but never registers that bus. Linux 7.1 rejects device_register() on the unregistered bus, producing:

bus_add_device: cannot add device 'ipu7-psys0' to unregistered bus 'intel-ipu7-psys'
intel-ipu7-psys ipu7-psys0: psys device_register failed
intel_ipu7_psys.psys intel_ipu7.psys.40: probe with driver intel_ipu7_psys.psys failed with error -22

Without /dev/ipu7-psys0, CamHAL cannot initialize the hardware ISP and the internal camera stalls.

The backport registers the PSYS bus before the auxiliary driver and unregisters both in reverse order during module exit.

Upstream status

This is a backport of the fix proposed in intel/ipu7-drivers#87, adapted to Omarchy's older pinned driver commit. The downstream patch can be removed after that PR merges and _ipu7_drivers_commit is updated to include it.

Related upstream reports:

Validation

Tested on a Panther Lake Dell XPS with OV08X40 using linux-ptl 7.1.3-arch1-1-ptl:

  • built the complete intel-ipu7-camera 1.0.5-1 package successfully with makepkg
  • installed the package and confirmed DKMS loaded the packaged intel-ipu7-psys.ko.zst
  • confirmed /dev/ipu7-psys0 and its compatibility symlink are created
  • confirmed Chromium can acquire /dev/video50; an earlier isolated test captured 60 consecutive frames with exit status 0
  • confirmed v4l2-relayd@ipu7.service remains active with no new PSYS or CamHAL errors
  • confirmed WirePlumber exposes Hardware ISP Camera (V4L2)
  • dry-ran the downstream patch against pinned IPU7 commit a88b19096a738d0708742a78d6540d6d4a3021ff
  • verified the PKGBUILD has matching source and checksum array lengths

@spencerbull
spencerbull force-pushed the agent/ipu7-psys-bus-registration branch from e3460c6 to 96e87b4 Compare July 13, 2026 18:45
@spencerbull
spencerbull marked this pull request as ready for review July 13, 2026 19:05
@dhh
dhh merged commit 5dc2173 into omacom-io:master Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants