MacBookPro14,2 (T1 Alpine Ridge): S3 wake loop heats the chassis and eventually hangs resume
System details
- Omarchy
4.0.2-1 - Kernel
7.1.9-arch1-2(stock Arch, notlinux-t2) - Apple
MacBookPro14,2/Mac-CAD6701F7CEA0921(2017 13" Intel, T1, no T2 chip) - GPU: Intel Kaby Lake Iris Plus 650 (
i915) - Two Intel JHL6540 Alpine Ridge Thunderbolt 3 controllers (
8086:15d2NHI,8086:15d3/8086:15d4bridges/xHCI) /sys/power/mem_sleep:s2idle [deep]— S3 is selected and does work- NVMe d3cold fix from
install/hardware/apple/fix-suspend-nvme.shis already installed (0000:01:00.0/d3cold_allowed=0)
This is not the T2 lid/sleep thread in https://github.com/omacom/omarchy/discussions/4695. fix-t2.sh correctly no-ops here (lspci has no 106b:180[12]). fix-suspend-nvme.sh already matches MacBookPro14,* but does not cover Thunderbolt wakeup.
What happened
- Close the lid. Machine enters
PM: suspend entry (deep). - Alpine Ridge PME pulls it out of S3 about every 45s with the lid still closed. logind sees the closed lid and suspends again.
- That loop ran for hours (lid close 12:03 → reboot 15:22). The chassis got hot; it was cool before the lid closed.
- After enough cycles the thunderbolt resume path hung (
tb_cfg_read/write: -108,pcieport … Unable to change power state from D3cold to D0,not ready 1023ms after resume; giving up). Opening the lid did nothing. Forced power-off.
Same boot also showed omarchy-sleep-lock.service restarting 160+ times, once per cycle.
Expected
Lid closed → stay in S3, stay cool. Lid open → resume to the lock screen.
Steps to reproduce
On MacBookPro14,2 (likely MacBookPro13,x / 14,x with Alpine Ridge as well):
cat /proc/acpi/wakeup— RP05, RP09, XHC2, XHC3 enabled for S3.- Close the lid and leave it closed.
journalctl -b -1 | grep -E 'Lid |PM: suspend entry|Waking up'— wake/suspend every ~45–50s with noLid opened.- After many cycles, a lid-open requires a power-button hold.
What worked here
Keep deep S3. Do not switch this model to s2idle; that is the heat path.
Gated on this generation (DMI MacBookPro13,[123]|MacBookPro14,[123] or PCI 8086:15d2), next to the existing NVMe d3cold service:
- Disable ACPI/PCI wakeup on the TB root ports and TB xHCI (
RP05,RP09,XHC2,XHC3). OptionallyRP12(Wi-Fi PME). LeaveLID0andSPIT(Apple SPI keyboard/trackpad) enabled. pcie_port_pm=offon the Limine cmdline (/etc/limine-entry-tool.d/). Alpine Ridge ports do not return from D3; each waits ~1s. Withpm_async=0those waits run in series (~1 minute of black screen). Even withpm_async=1, ACPI resume still costs ~5s until this is set. Needs a reboot; not yet re-tested on this box.- Unload/
blacklist thunderboltstopped thetb_cfg_*WARN flood. USB-C charging still worked. Do not land a blanket blacklist without a discussion — TB docks / DP-alt would break. Wakeup disable +pcie_port_pm=offis the conservative first patch.
What did not work (please do not copy)
pm_async=0— correct for some T2 PRs, wrong here; serialized TB timeouts into a ~60s resume.- Unbinding Thunderbolt NHIs in a systemd-sleep hook — did not prevent the hang, and a live
pci rescanblocked in the kernel. - Relying on logind
HandleLidSwitch=suspend— see 12193; a 2s close/open slept with the lid already open and never woke.
Suggested shape
Extend install/hardware/apple/fix-suspend-nvme.sh (or a sibling fix-suspend-alpine-ridge.sh called from install/hardware/all.sh) plus a migration:
- oneshot that disables the TB ACPI wakeup nodes (toggle
/proc/acpi/wakeuponly when currently enabled) - udev rules:
8086:15d2/8086:15d4power/wakeup=disabled - Limine drop-in:
pcie_port_pm=off - leave
thunderboltloaded unless a later change proves a blacklist is required
PR: https://github.com/omacom/omarchy/pull/12211
Data from a MacBookPro14,3 (15" 2017, T1, two Alpine Ridge JHL6540 controllers; TB3 USB controllers 8086:15d4 at 07:00.0 and 7d:00.0), Omarchy 4.0.4, kernel 7.2.5-3-omarchy, NVMe d3cold correctly pinned on 02:00.0 (see #11624).
- Deep S3 never came back on lid open (we waited ~30 s each time, so it may have been the ~130 s stall from #9899).
s2idlealso hung (only tested before step 2). - Removing both
8086:15d4devices and unloadingthunderboltin a/usr/lib/systemd/system-sleep/pre-hook made the first resume instant. Rescanning their parent ports after resume did not bring the15d4devices back (they stayed absent until reboot). - Then the wake loop described here: with the lid closed, the system woke itself 15–40 s after S3 entry, logind re-suspended, and after one to three cycles a re-entry hung hard (no fans, needed a power-button hold). The first wake source was
0000:00:14.0(XHC1, which also hosts the T1). After disabling every/proc/acpi/wakeupentry exceptLID0(plus the sysfspower/wakeupflags), it still woke ~15 s after entry and the second entry hung.
We gave up on S3 and set HandleLidSwitch=hibernate with AllowSuspend=no; hibernation works on this model with the workarounds in #11624. Happy to test a candidate fix.
Triaged by Claude Opus 5.5, with Codex Medium as a second opinion. Nothing was run for this issue: the wake loop needs a T1 MacBook Pro, and the workers have no Mac hardware. Codex agreed on the status below. It can read this session's notes, so its agreement isn't guaranteed to be independent.
Status. quattro doesn't fix this yet. It has no Alpine Ridge or /proc/acpi/wakeup handling, and install/hardware/apple/fix-suspend-nvme.sh only pins NVMe d3cold. #12211 is the open fix and already closes this issue, so the work is happening there. Its review is in the comments on #12211. The wake loop can't be reproduced without the hardware, so #12211 isn't verified, and it has open scope questions for its author. #11570 competes with it on the same models. I found no older duplicate.
What @macmsb's MacBookPro14,3 report adds. It's new relative to the review on #12211. In deep S3 with the lid closed, the first wake source was 0000:00:14.0 (XHC1, the PCH xHCI that also hosts the T1). #12211 covers neither: its helper only toggles RP05 RP09 XHC2 XHC3 RP12, and its udev rule only matches 8086:15d2/15d4. This agrees with @niconistal's finding on another 14,3 that the T1 (05ac:8600) also had to be kept from waking the machine. The machine still woke about 15 s after entry, and hung on the next entry, with every /proc/acpi/wakeup entry except LID0 disabled. Codex pointed out that this means adding XHC1 to the helper has no evidence behind it as a fix. So on the 14,3, #12211 isn't shown to stop the loop in S3. Like the amdgpu report on #12211, this argues against counting the 14,3 as S3-capable. #14692 (draft) moves that model to s2idle instead.
Waiting on the maintainer, through #12211: its author has scope changes to make, it needs confirming on a T1 MacBook Pro, and the maintainer has to choose between it and #11570.
One lid cycle on another MacBookPro14,2, Omarchy 4.5.0-3, linux-omarchy 7.2.15-1. Two JHL6540 controllers (8086:15d2 at 05:00.0 and 7b:00.0). /sys/power/mem_sleep is s2idle [deep]. The cmdline has neither pcie_port_pm=off nor pm_async=0. In /proc/acpi/wakeup, XHC2 and XHC3 are already disabled; RP05, RP09, RP12, LID0, and SPIT are enabled.
This was not the hours-long wake loop. The lid stayed closed for about two minutes, then it was opened. PM: suspend entry (deep) at 11:27:44, PM: suspend exit at 11:29:50, same boot. It did come back. Resume was slow in the way this report describes.
The screen stayed off after the keypress while tb_resume_noirq ran. The kernel log stamps that whole stretch at 11:29:50 because timekeeping starts again only at the end, and systemd-journald reported /dev/kmsg buffer overrun, some messages lost. In the surviving lines there are 65 tb_cfg_read / tb_cfg_write warnings from tb_resume_noirq, hop-deactivation failures, and thunderbolt 0000:05:00.0: PCIe Down path activation failed: -108. The Alpine Ridge xHCI at 0000:42:00.0 logged Host halt failed, -19 and then xhci_hcd 0000:42:00.0: remove. The backlight restore (acpi LNXVIDEO:00: Restoring backlight state) is the last step before PM: suspend exit.
After the screen was up, the keyboard and trackpad stayed dead for a further stretch (felt as about 30 seconds; the next Hyprland event in the journal is 8 seconds after the thaw). The internal keyboard and trackpad are applespi on SPIT. Separately, the T1 USB device failed on the PCH xHCI during the same resume: t1bridge-cfgselector 1-3: device descriptor read/64, error -110 four times, and the Touch ID broker logged sep-lease result=error code=-110. /dev/dri/touchbar was still present afterward. Wi-Fi reassociated on its own and is not what held the screen.
So on 4.5 / 7.2.15 a single deep resume still pays the Alpine Ridge timeout cost before the panel comes back, with XHC2/XHC3 wakeup already off and RP05/RP09 still enabled. #12211 still looks like the matching change. I did not apply pcie_port_pm=off.
Follow-up on Omarchy 4.5.0-3 / linux-omarchy 7.2.15-1, same MacBookPro14,2, with the #12211 settings booted: pcie_port_pm=off, and RP05 / RP09 / RP12 / XHC2 / XHC3 wakeup disabled. LID0 and SPIT stayed enabled.
The screen returned much faster than the previous deep resume. The lid-closed wake loop did not stop. One lid close produced four deep cycles (about 53 s, then 5 s, 4 s, and 4 s) before the lid was opened. The Alpine Ridge xHCI devices at 0000:42:00.0, 0000:06:00.0, and 0000:7c:00.0 logged Host halt failed, -19 and were gone afterward, so the attached Thunderbolt dock's USB did not come back. Wi-Fi then hit the #17124 wedge (cur_etheraddr -5, then -12) and could not scan.
Details: https://github.com/omacom/omarchy/pull/12211
Re-read the new MacBookPro14,2 reports, the current quattro Apple suspend setup, and #12211’s unchanged head 5e177a33d22c32417f8d1ce82058a6539d364bcf. Reviewed by GPT-6 in Codex (effort not reported), with Opus 5.5 High and muse-wonder via pi, thinking high as second opinions. Both reviewers agreed on the status below; they can read this session’s notes, so their agreement is not guaranteed to be independent. No code or suspend tests ran: the workers have no T1 Mac hardware.
The November 17 hardware follow-up resolves the missing-PCI-settings question: both 8086:15d2 and both 8086:15d4 devices had wakeup disabled before sleep, the five ACPI nodes were disabled, and pcie_port_pm=off was active. With the dock attached, that MacBookPro14,2 on Omarchy 4.5.0-3 / linux-omarchy 7.2.15-1 still completed five deep cycles, with the lid opening during the fifth resume. These settings therefore did not stop its closed-lid wakes. The faster screen return reported here is a separate result from staying asleep; this does not invalidate the earlier success reported on 4.0.2 / 7.1.9.
quattro still has no Alpine Ridge wake handling, and #12211 remains the linked proposal rather than a verified fix. The wake trigger remains unestablished: the GPE counts cannot distinguish the trigger from resume activity, and these runs do not establish that the settings caused the T1, dock, or Wi-Fi failures. This issue stays open for the maintainer through #12211, which needs a revised approach and hardware evidence that closed-lid sleep holds. No repeat of the settings checks already supplied is needed.