omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

MacBookPro14,2: keyboard and trackpad stay dead after the screen returns from deep resume

Open hanscnelson opened this issue 3 weeks ago • 2 comments

What happened

On a MacBookPro14,2 (2017 13-inch, T1), a lid-close deep suspend came back with the screen, and the keyboard and trackpad stayed dead after that.

The lid was closed, the machine entered PM: suspend entry (deep), and it was opened about two minutes later. The screen stayed dark for a long time after a keypress. Once the screen was on, the keyboard and trackpad still did not work for about another 30 seconds, then both started working together.

The dark-screen portion matches the Alpine Ridge resume already tracked in #12194 (65 tb_cfg_read / tb_cfg_write warnings inside tb_resume_noirq, and the Thunderbolt xHCI at 0000:42:00.0 failing to halt). This issue is the part that continued after PM: suspend exit.

Log

Omarchy 4.5.0-3, linux-omarchy 7.2.15-1. Same boot across the suspend. PM: suspend exit and Successfully thawed unit 'user.slice' are both stamped 11:29:50. The backlight restore is the line immediately before the exit, so the panel and the session thaw are the same moment in the journal. The kernel clock does not advance during the resume, and journald logged /dev/kmsg buffer overrun, some messages lost, so the log cannot time the dark stretch.

After the thaw:

  • The lock screen was up within a second (omarchy lock … fingerprint-resume at 11:29:51).
  • The next Hyprland event is at 11:29:59, about 8 seconds later. The dead keyboard and trackpad felt longer than that, about 30 seconds. Both devices returned together.
  • The internal keyboard and trackpad are applespi (SPIT in /proc/acpi/wakeup, enabled). There is no later applespi reattach in the log.
  • The T1 device on the PCH xHCI failed during the resume: t1bridge-cfgselector 1-3: device descriptor read/64, error -110, four times, with xhci_hcd 0000:00:14.0 event-dma errors. /dev/dri/touchbar still pointed at card0 afterward.
  • Touch ID did not survive the sleep. t1-touchid-auth logged sep-lease result=error code=-110, the in-flight PAM check logged Verification timed out, and the next attempt logged Authentication service cannot retrieve authentication info.

Wi-Fi had already reassociated and was answering pings. This was not a firmware wedge of the Broadcom card (#17124 did not reproduce on this cycle).

What this is not

  • Not the repeated lid-closed wake loop in #12194. This was one cycle, and the machine did resume. XHC2 and XHC3 wakeup were already disabled. RP05 and RP09 were still enabled. The cmdline does not set pcie_port_pm=off.
  • Not #15619. That one is a Synaptics reader and an "already claimed" retry storm. This reader is the T1 Touch ID, and the failure is the SEP lease timing out when the T1 USB device misses its descriptor reads.

Hardware

  • MacBookPro14,2, T1 iBridge on USB 1-3
  • Intel JHL6540 Alpine Ridge at 05:00.0 and 7b:00.0 (8086:15d2)
  • Keyboard and trackpad: applespi / ACPI SPIT

hanscnelson avatar Nov 05 '26 17:11 hanscnelson

I read the report and the current Apple SPI keyboard and NVMe suspend setup on at . This pass checked source only; no suspend test or hardware reproduction ran, and I have no verified fix for the input delay after the screen returns.

GPT-6 in Codex (reasoning effort not exposed) was the only model to review this issue. I classified the report as hardware compatibility, but the configured classification model, deepseek-v4p1-flash, returned no classification. The separate review panel answered its availability check; that was not a review of this issue. Classification remains unsettled, so no labels or code changes were made. This remains open for the maintainer to resolve the classification step before verification continues.

omarchybot avatar Nov 19 '26 00:11 omarchybot

The classification blocker in my earlier comment is resolved: this is recorded as a hardware compatibility bug. I checked the Apple SPI setup, fingerprint resume hook and lock authentication on quattro at f5283a9065154201d44d1825fdba4b4418426002. No hardware reproduction ran. The reported T1 USB and Touch ID timeouts do not establish why the SPI keyboard and trackpad stayed unresponsive after the screen returned.

Please capture one affected cycle with sudo libinput debug-events --verbose started before suspend, ideally observed over an existing SSH connection. Repeatedly press Shift and move the trackpad while the screen is visible but input appears dead, then stop the capture after input recovers. Include the initial device listing, and note when the screen became visible and when input recovered. This libinput diagnostic will help distinguish missing input events from a lock-screen or compositor problem. Please also attach omarchy-debug --print and the unfiltered system journal covering just before suspend through recovery, including the kernel and lock/PAM messages.

GPT-6 in Codex (reasoning effort not exposed) performed this source review; no second diagnostic review was requested. No fix is verified, and this remains open awaiting those observations from the reporter.

omarchybot avatar Nov 23 '26 06:11 omarchybot