Bug 217082 - Clevo X170KM does not sleep without specific Ubuntu only patch
Summary: Clevo X170KM does not sleep without specific Ubuntu only patch
Status: RESOLVED DUPLICATE of bug 216295
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 12:55 UTC by Werner Sembach [TUXEDO]
Modified: 2023-09-05 16:38 UTC (History)
0 users

See Also:
Kernel Version: 5.15, 5.19, 6.0, 6.1, 6.2, propably all
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg while borked (102.44 KB, text/plain)
2023-02-24 12:55 UTC, Werner Sembach [TUXEDO]
Details
echo PEG1 > /proc/acpi/wakeup + 2 suspends (127.69 KB, text/plain)
2023-02-24 12:56 UTC, Werner Sembach [TUXEDO]
Details
suspend with bootparameter pci=noaer (111.68 KB, text/plain)
2023-02-24 12:58 UTC, Werner Sembach [TUXEDO]
Details

Description Werner Sembach [TUXEDO] 2023-02-24 12:55:17 UTC
Created attachment 303778 [details]
dmesg while borked

I realized that the Clevo X170KM only suspends correctly on the Ubuntu kernels except the 6.1-oem kernel. All the mainline kernels I tested (5.15, 5.19, 6.0, 6.1, 6.2) only suspend to "screen of".

I bisected it down to this patch (missing also in Ubuntu in 6.1-oem kernel which I used to create the dumps): https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy/commit/?id=e82f15f1a26273b004054a81ef45937fb1b632e5

dmesgdump is the dmesg after resume when the laptop failed to suspend

with "echo PEG1 > /proc/acpi/wakeup" to disable the wakeup for that device the laptop successfully suspends once, but throws a crashdump to dmesg. After that it is borked again. This is seen in dmesgwakedisabled (one with the crash and then another try)

I found PEG1 with "dmesg | grep AER" which gives 5 devices which I then individually tested via /proc/acpi/wakeup

"cat /sys/kernel/irq/*/wakeup" shows everything as disabled by default

with boot parameter "pci=noaer" the laptop can suspend normally
Comment 1 Werner Sembach [TUXEDO] 2023-02-24 12:56:21 UTC
Created attachment 303779 [details]
echo PEG1 > /proc/acpi/wakeup + 2 suspends
Comment 2 Werner Sembach [TUXEDO] 2023-02-24 12:58:28 UTC
Created attachment 303780 [details]
suspend with bootparameter pci=noaer
Comment 4 Werner Sembach [TUXEDO] 2023-09-05 16:38:48 UTC

*** This bug has been marked as a duplicate of bug 216295 ***

Note You need to log in before you can comment on or make changes to this bug.