Repository navigation
j81: screen off, suspend and resume work - #194
Merged
Merged
Conversation
An iPad Air 2 running Omarchy goes dark when idle or on Power and then suspends (s2idle) through omarchy-powerd. It suspended and resumed five times, for 21 seconds to an hour: three times from idle, woken by Home, and twice from Power, woken by Power, once with the USB cable unplugged. The display, touch, Wi-Fi, Bluetooth and the USB network came back. Over the hour asleep the battery dropped about 2%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SmartIO on the A8/A8X (AppleA7IOP version 1), MCA version 1 in the S8000 MCA driver, the MAX98721 speaker amplifier driver, the T7001 NCO, the device tree and a UCM profile; both speakers play in stereo. The headphone jack and the microphones are not part of it. Squashed from ricktav's j81/audio (17aa5eb); patch files renumbered to follow main.
From ricktav's j81/bluetooth (988f955).
From ricktav's j81/power (2806bca).
Patch numbers follow main's, and the changelog, compatibility table and driver catalog are combined with the other J81 changes. ricktav's patches are unchanged.
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
Screen off, suspend and resume work on the iPad Air 2 (J81). This sets
screen_off,suspendandresumefromuntestedtoworking, with a CHANGELOG line and the regenerated matrix. It changes no code.Testing
iPad Air 2 Wi-Fi (J81, iPad5,3) running an installed Omarchy (internal storage, j81: internal storage (ANS1) — install and launch Omarchy on the iPad Air 2 #188), kernel 7.3.0-rc1-orchard-apple-4k. The kernel and modules were built from j81: speakers — SmartIO, MCA v1 and MAX98721 on the iPad Air 2 #192's branch (audio); nothing in it touches power management.
The kernel offers
s2idleonly (/sys/power/mem_sleep).omarchy-powerddarkens the screen on idle, locks, and then suspends through logind.Five suspend cycles in one boot: three from idle, woken by the Home button (
wakeup_irq=56), and two from a Power press, woken by Power (wakeup_irq=57), one of them with the USB cable unplugged:/sys/power/suspend_stats: 5 successes, 0 failures.dwc2keeps the USB gadget session over sleep, so the USB network (SSH) stays up. With the cable unplugged during sleep, plugging it back in after the resume brings the USB network back by itself.After the hour-long sleep: Bluetooth came back (a Bluetooth keyboard and the QC45 headphones worked), touch works, and the speakers play.
Battery: 66% to 64% over the hour asleep, against roughly 1% per 1.5 minutes awake and busy.
Screen off: Power darkens and locks the screen; Power or Home within the ~10 s before suspend lights it again in about 1 ms.
tools/catalog/generate matrix --checkpasses.🤖 Generated with Claude Code