Repository navigation
Power off pre-T2 Apple Macs after writing the hibernate image - #11345
Closed
rand0mdud3 wants to merge 1 commit into
Closed
rand0mdud3 wants to merge 1 commit into
rand0mdud3 wants to merge 1 commit into
Conversation
Author
|
Withdrawing: live A/B test on MacBookPro11,5 showed this quirk targets a symptom this model does not have, and cannot fix what is actually broken. Baseline (stock platform mode) powered off correctly with no reboot, but resume hangs with dead input (details in the new resume-hang issue + #10038). Hibernate on this model needs resume fixed first; a power-mode quirk alone would only make session loss quieter. Happy to re-propose scoped to confirmed-affected models if an 11,1 tester verifies the reboot symptom with working resume. |
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.
Fixes #10038.
Hibernate on pre-T2 Intel Macs writes the image but then reboots instead of powering off: systemd tries the platform (ACPI S4) mode first, which fails on this hardware, while the shutdown power-off path works fine. Kernel docs recommend shutdown mode for exactly this case, and resume still works from the swap signature on next boot.
Verified on MacBookPro11,5 (Apple Inc., no T2, /sys/power/disk defaults to [platform]): the real DMI+lspci gate fires, the drop-in lands, systemd-analyze cat-config shows HibernateMode=shutdown, and a second run no-ops. Live hibernate cycle not run here: this machine has no resume= target configured yet, so a real cycle could not restore the session.