Repository navigation
Conversation
Publish the OV7251 using its CIO2 media route and the same controller reservation as libcamera. Default to passive capture; explicitly requested illumination uses the kernel strobe control and returns one lit frame per pair. Include build, staged installation, removal and synthetic checks. Assisted-by: OpenAI Codex
Collaborator
Please expose it to (pipewire-)libcamera instead, or less preferably, v4l2loopback. PipeWire is difficult to debug synchronously and not necessarily installed. |
This was referenced Nov 22, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first-generation Surface Laptop has a separate monochrome OV7251. Its Intel CIO2 node delivers packed 10-bit frames, but the libcamera IPU3 pipeline accepts Bayer inputs and does not publish this sensor to desktop camera apps. This adds an optional user-session PipeWire source under
contrib/surface-laptop1-ir/. It installs no driver, changes no color-camera defaults, and enables no service automatically.Passive capture is the default (640×480 at 30 fps). On a kernel with a compatible synchronized strobe driver,
--illuminatedelivers 15 distinct illuminated frames/s by selecting the lit exposure in each pair. The launcher checks the SL1 DMI and sensor firmware identity, discovers the media route, and takes the same controller lock as libcamera so switching sources does not interrupt an active camera. Project kernels without the strobe control can still use passive mode; explicitly requested illumination fails if the control is absent.Tested on one physical Surface Laptop 1, Fedora 45 / 7.3.4-2.surface:
The three-page wiki proposal updates Camera Support, the SL1 device page and the SL1 feature-matrix cell to experimental / requires patches, following the wiki's existing convention. It applies to
linux-surface.wiki.gitat89ead87and is supplied separately because the wiki cannot receive a project PR. Color driver review · 7.3 build config · all patch versions and reproduction instructions.