Bug 204717 - HP Elite x2 1013 G3 spontaneously wakeup from suspend freeze, which is default on this tablet
Summary: HP Elite x2 1013 G3 spontaneously wakeup from suspend freeze, which is defaul...
Status: RESOLVED UNREPRODUCIBLE
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-27 14:57 UTC by RussianNeuroMancer
Modified: 2020-09-26 20:53 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.2.10
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Linux 5.2.10 dmesg from HP Elite x2 1013 G3 - normal suspend, spontaneously wakeup with enabled pm_debug_messages (79.91 KB, text/plain)
2019-08-27 15:03 UTC, RussianNeuroMancer
Details

Description RussianNeuroMancer 2019-08-27 14:57:40 UTC
Hello!

I find that with latest BIOS HP Elite x2 1013 G3 spontaneously wakeup from suspend freeze. (Suspend freeze is default on this tablet, while suspend to RAM (S3) works on this tablet too, but not enabled by default.)

To workaround this issue I tried to disable devices that doesn't have working drivers yet: Cameras (Bug 204693, Bug 204697) fingerprint reader ( https://gitlab.freedesktop.org/libfprint/libfprint/issues/54 ). I also tried to disable modem (by running "echo 0 > /sys/bus/usb/devices/usb2/2-3/bConfigurationValue" and verifying that it's actually get disabled via dmesg) just in case, and detach keyboard (in case there is some stuck keys and electrical issue with connection). I also powered off all paired Bluetooth device.

Moreover I rolled back system to two month old snapshots which was created when issue not happened for sure: https://bugzilla.kernel.org/show_bug.cgi?id=202519#c25

Unfortunately, nothing of this help and tablet still spontaneously wakeup from suspend freeze, so this is probably result of recent BIOS update. 

dmesg is attached. 
dsdt.dsl in Bug 204693
Comment 1 RussianNeuroMancer 2019-08-27 15:03:55 UTC
Created attachment 284635 [details]
Linux 5.2.10 dmesg from HP Elite x2 1013 G3 - normal suspend, spontaneously wakeup with enabled pm_debug_messages

I want to add that systemd-logind log doesn't mention any wakeup reason, and running libinput-debug-events doesn't mention any button or event.
Comment 2 RussianNeuroMancer 2019-09-09 11:31:16 UTC
It's seems like this issue is reproducible only if tablet was suspended via power button. If it was suspended via lid event there is no spontaneously wakeup.
Comment 3 RussianNeuroMancer 2019-09-09 11:41:03 UTC
Issue is also reproducible on suspend via running "systemctl suspend" command.
Comment 4 Zhang Rui 2020-01-07 06:39:36 UTC
is this still a problem in the latest upstream kernel, after Rafael' rework of the s2idle loop?
Comment 5 Chen Yu 2020-06-28 16:04:58 UTC
Close this ticket for now as we do not have data for debugging. Please feel free to reopen this ticket if you still see this issue, thx.
Comment 6 RussianNeuroMancer 2020-09-26 20:53:11 UTC
Issue is no longer reproducible on Linux 5.9rc6.

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