Repository navigation
Add Surface Pro 11 ambient light sensor support - #828
Merged
ryanrhughes merged 5 commits intoOct 21, 2026
Merged
Conversation
The Surface Pro 11's light sensor runs on the ADSP's Qualcomm sensor core, which reports nothing until the host serves it its configuration. Build hexagonrpcd, with registry write support, and libssc, reading Microsoft's "color" sensor, from pinned upstream source into a private directory, and point iio-sensor-proxy at that libssc through a drop-in. The libssc pin includes the fix for iio-sensor-proxy spinning when the sensor server never appears. The configuration is Microsoft and Qualcomm's and is not shipped. surface-pro-11-sensors-extract copies it from the machine's own Windows driver store, with the SoC ID and revision from the running system; it runs only on the Surface Pro 11 OLED and reuses an already mounted Windows partition. The service starts when the ADSP appears, so a missing DSP never delays boot or iio-sensor-proxy, and a sleep hook stops iio-sensor-proxy across suspend so the light stream does not wake the SoC. The package is tagged for the Qualcomm platform guard and published to edge. Validated with test.sh, hexagonrpc's tests, and on a Surface Pro 11: the extracted root matches the previously qualified one, the service starts from the ADSP device, and iio-sensor-proxy reports live illuminance. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 6, 2026
Contributor
|
@turbineBMW the build and test checks never ran on this PR. Push once more, an empty commit is enough, so they run and |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryanrhughes
enabled auto-merge (squash)
October 21, 2026 03:43
README.package.md changed after its checksum was generated, so makepkg's source check failed before the build started. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auto-merge was automatically disabled
October 21, 2026 10:26
Head branch was pushed to by a user without write access
ryanrhughes
enabled auto-merge (squash)
October 21, 2026 10:26
The release ring replaced channels on master (61ff008) and metadata validation now refuses the key. The package publishes to edge on merge like every other package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auto-merge was automatically disabled
October 21, 2026 11:05
Head branch was pushed to by a user without write access
ryanrhughes
enabled auto-merge (squash)
October 21, 2026 11:05
3 tasks done
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
6 of 8 tasks
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.
Summary
colorsensor) from pinned upstream source into a private directory, and points iio-sensor-proxy at that libssc with a drop-in. Arch's iio-sensor-proxy is otherwise untouched. The libssc pin includes the fix for iio-sensor-proxy spinning when the sensor server never appears.surface-pro-11-sensors-extractcopies it from the machine's own Windows driver store, the same model asqcom-firmware-extract(Add safe Windows firmware extraction for Snapdragon laptops #221). It runs only on the Surface Pro 11 OLED (device-tree gated) and reuses an already mounted Windows partition.groups=('omarchy-platform-qualcomm'), edge.Consumers: the ALS keyboard-backlight work in omarchy#13148 and auto-brightness.
Dependencies
None to build. Needs the ADSP running, so the Surface DSP firmware from #221 (with the Windows-name fix offered there).
Test plan
test.shand hexagonrpc's tests passmonitor-sensor --lightreports live illuminance (about 30 lux indoors, over 100 in daylight) on kernel 7.3-rc6