Bug 216838

Summary: ACPI events broken after deep sleep
Product: ACPI Reporter: Axel Kittenberger (axkibe)
Component: OtherAssignee: acpi_other
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 6.1.1 (and 5.19.0) Subsystem:
Regression: No Bisected commit-id:
Attachments: acpidump > acpidata.dat

Description Axel Kittenberger 2022-12-23 13:47:53 UTC
Created attachment 303462 [details]
acpidump > acpidata.dat

After resuming from "deep" suspend, ACPI events seem to be messed up. Brightness modifiers procude following log output instead:

[   76.252190] atkbd serio0: Unknown key pressed (translated set 2, code 0x64 on isa0060/serio0).
[   76.252200] atkbd serio0: Use 'setkeycodes 64 <keycode>' to make it known.
[   76.870082] atkbd serio0: Unknown key pressed (translated set 2, code 0x65 on isa0060/serio0).
[   76.870092] atkbd serio0: Use 'setkeycodes 65 <keycode>' to make it known.

They worked before deep suspenion, and survive s2sleep as well. And even more annoyingly the lidswitch doesn't do anything after the first deep suspend.

Device: ASUS expertbook-b5-flip-b5302f, latest BIOS 310

My guess it's something messed up in their BIOS, but wonder if it can be worked around (as other issues, like https://bugzilla.kernel.org/show_bug.cgi?id=216101 have workarounds)

I tried to get deep sleep working, since s2idle did use about 10-20% battery per day (tested with 5.19.0 and VMD active, have to do more tests with 6.1.1 and VMD off to tell more on that route)