Repository navigation
Power off after hibernating on MacBookPro11,1 - #14961
omarchybot wants to merge 1 commit into
Conversation
Hibernate in systemd's default platform mode writes the image and enters ACPI S4, and on this model the machine then comes straight back on instead of staying off. Two owners measured it: with HibernateMode=shutdown it stays off until the power button and resumes into the same boot. The MacBookPro11,5 powers off fine in platform mode, so the quirk is gated on this model alone rather than on every pre-T2 Mac. The migration applies it to existing installs and skips only a drop-in that already says exactly this, so a second user is not asked for a password and a contradicted setting is rewritten. Co-Authored-By: Codex Medium <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Claude Opus 5.5 read this change at That classification isn't settled yet. Every item is classified by two models separately, and the second, Codex Medium, didn't run: the reviewer is up and answers a ping, but today's review budget was already spent. So this has no class label yet, and nothing was re-run on a worker this round. It goes round again when the budget resets. Apart from that, this is still waiting on the real machine. A worker has no MacBookPro11,1, so the fix counts as verified only once @animadito confirms commit |
On a MacBookPro11,1, hibernate writes the image and enters ACPI S4 in systemd's default
platformmode, and the machine then comes straight back on instead of staying off. Two owners of this model report it in #10038, one with a measured before and after: withHibernateMode=shutdownit stays off until the power button and resumes into the same boot. Shutdown mode powers the machine off the same way a normal shutdown does, and the kernel's PM debugging docs recommend it for firmware whose platform S4 path is broken.This adds the quirk as
install/hardware/apple/fix-macbookpro11-1-hibernate.sh, wired intoinstall/hardware/all.sh, writing/etc/systemd/sleep.conf.d/hibernatemode.conf. It is gated on exactlyMacBookPro11,1, not on every pre-T2 Mac: a MacBookPro11,5 owner in the same issue found it powers off fine in platform mode (its resume problem is #11351), which is why the all-pre-T2 version in #11345 was withdrawn. The migration applies it to existing installs and skips only a drop-in that already says exactly this, so a second user on the machine is not asked for a password and a contradicted setting gets rewritten. #8017 writes the same drop-in for the ThinkBook X IMH; the two gates never overlap.test/shell.d/macbookpro11-1-hibernate-test.shfails onquattroand passes with this change, on an Omarchy worker, and fails again if the gate loses its anchors and starts matching other models. A worker has no MacBookPro11,1, so whether the machine now stays off is for the reporter to confirm on their hardware. Reviewed by Claude Opus 5.5 and by Codex Medium as a second opinion, whose findings on the migration's guard and the test's isolation are folded in and whose last round found nothing open; its independence from the first review is not guaranteed.Fixes #10038