Re: [PATCH v3 0/5] amd_pmc: Delay s2idle suspend for some devices
From: Mario Limonciello
Date: Thu May 21 2026 - 15:43:50 EST
On 5/21/26 14:13, Daniel Gibson wrote:
On 21.05.26 16:44, Mario Limonciello wrote:
On 5/12/26 15:26, Daniel Gibson wrote:
On some AMD Zen3 and Zen3+-based Lenovo IdeaPad laptops the keyboard and
the lid switch stop working after the first suspend, until rebooted.
More specifically, they stop sending events when pressing a key or
closing the lid - it's still possible to toggle the capslock- and
numlock-LEDs with an external keyboard or read the lid state at
/proc/acpi/button/lid/LID/state.
See also https://bugzilla.kernel.org/show_bug.cgi?id=221383
Documentation/arch/x86/amd-debugging.rst | 30 ++++++++++++
drivers/platform/x86/amd/pmc/pmc-quirks.c | 39 +++++++++++++++
drivers/platform/x86/amd/pmc/pmc.c | 60 +++++++++++++++++++++--
drivers/platform/x86/amd/pmc/pmc.h | 1 +
4 files changed, 127 insertions(+), 3 deletions(-)
Can you see if this series helps your issue instead of quirks?
https://lore.kernel.org/linux-acpi/5996185.DvuYhMxLoT@rafael.j.wysocki/
I tried and it did not help with the issue.
OK thanks for trying, figured it was worth a shot.
By the way, applying it was a PITA: I downloaded the mbox.gz from
lore.kernel.org, but it contained the threads messages in reverse, so
git am tried to apply them in reverse order, which of course didn't work
very well.. eventually I used `git am -i` to apply one at a time.
Is that normal or a lore.kernel.org bug or did I do something wrong?
Try using 'b4 shazam' or 'b4 am' next time. You basically feed a lore URL as an argument and it does the rest.