Skip to content

Optional smooth automatic brightness - #35

Open
brkosebay wants to merge 3 commits into
OrchardLinux:mainfrom
brkosebay:j71t/brightness
Open

brkosebay wants to merge 3 commits into
OrchardLinux:mainfrom
brkosebay:j71t/brightness

Conversation

@brkosebay

Copy link
Copy Markdown
Contributor

Problem

Ambient light changes need a faster brightening response and a visible automatic-mode control.

Changes

Add optional generic IIO/sensor-proxy auto-brightness with asymmetric fast-up/slow-down smoothing, a brighter curve, powerd write arbitration and a Display panel toggle. Owner confirms the generic policy is smooth with improved fast-up response.

Device testing

Tested on an iPad 5 (J71t) on 2026-11-08 as part of the integrated J71t stack (kernel 7.3.0-rc1-orchard-apple-16k-topic-warmport-20261108). This isolated branch has not been booted on its own.

Owner: smooth, fast-up improved, bar toggle works.

Observed operations: Omarchy menu → Restart; host-assisted scripts/orchard/warm-reboot.py with display/normal profiles and the file loader (kexec -s); CPU1 sysfs offline/online; USB cold boots/rebind and bulk uploads; desktop interaction.

What remains: exact submitted branch device test, other-device regressions, NCM long soak, the 500 mA warm charging gap, RTC alarms, suspend/resume and cover wake. Bluetooth pairing does not qualify keyboard input or audio.

Host validation

PYTHONDONTWRITEBYTECODE=1 python -m unittest discover -s tests -v: PASS. No kernel/image builds performed.

Patch application: N/A; whitespace check (excluding nested patch text): PASS.

Other devices affected

Shared distro tablet services/settings affect every omarchy-a device that uses them. No other device was tested.

Dependencies and merge order

Depends on (merge first): #34, #33. The branch carries those commits; review the last commit as this topic. It will be rebased once they merge.

Runtime pairing: OrchardLinux/orchard#101. Hardware producer first, then distro consumer; warm-kernel has no source dependency on warm-restart. Publish/install a complete matched kernel/modules/initrd/DT/BLS set.

Known rework before merge

None known for the generic policy. The opt-in iOS-derived J71t profile is not part of this pull request: it still embeds panel calibration constants and will follow separately once those come from a runtime source.

Proposed CHANGELOG line (Unreleased)

Optional smooth automatic brightness.

🤖 Generated with Claude Code

@brkosebay
brkosebay marked this pull request as ready for review November 8, 2026 15:51
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.

1 participant