Repository navigation
Disable MacBook10,1 BCM4350 wakeup through S3 - #10314
Skeptomenos wants to merge 1 commit into
Conversation
Airport stays armed as ARPT, which holds the radio up for the whole suspend. Do not follow S3 with hibernate on this chassis: that path hung with a dead SPI keyboard. Co-authored-by: Cursor <[email protected]>
|
Thanks @Skeptomenos. This was reviewed by Claude Opus 5.5 and, as a second opinion, Codex Medium, and two fixes were needed that omabot could not push to your branch (GitHub refused the push to
Both fixes were tested by mutation on a disposable Omarchy worker: the new assertions fail against your version of the leaf and pass with the fixes. Still open for the maintainer: the stubbed tests cannot show the drain actually drops, so this waits on a MacBook10,1 owner other than the author confirming it at the new head. Two smaller points: Continued in #14020. |
Summary
MacBook10,1and PCI14e4:43a3(BCM4350). ACPI leaves Airport (ARPT) armed as a wake source, which keeps the radio powered for the whole S3 sleep.power/wakeupon that device (udev + a boot/resume oneshot that also togglesARPTif it is still enabled). Existing installs pick this up through a migration.suspend. The leaf removes a leftover hibernate-on-lid drop-in if one is present.Test plan
bash test/shell.d/macbook10-sleep-drain-test.sh(pass)acpi_arpt=disabled,0000:02:00.0 power/wakeup=disabled,ARPT *disabledafter apply and after rebootHandleLidSwitchremainssuspendomarchy updateon an existing MacBook10,1 runs the migration and enables the oneshot