I find that on HP Elite x2 1013 G3 and Dell Latitude 7285 power button sometimes wakeup it tablet after short press, and sometimes power button wakeup tablet only after holding it for a few seconds.
Dell Latitude 7285:
Initially with Linux 4.13-4.15 (earlier releases wasn't tested) it was requirement to hold power button for five seconds to wakeup from suspend (freeze). Later, in Linux 4.16 or Linux 4.17 power button started to wakeup tablet after short press, except it did so most of the time, not always. Currently sometimes tablet doesn't wakeup from lid event and power button press, so in such cases it's still necessary to hold power button for five seconds for wakeup it.
Tested BIOS: from 1.0.5 to 1.2.0.
acpidump and dsdt.dsl is attached
HP Elite x2 1013 G3:
Tablet was tested only with Linux 4.19.0. As with Dell Latitude 7285, sometimes tablet doesn't wakeup from lid event or power button press, and it's still necessary to hold power button for three seconds for wakeup. It also happens with suspend freeze, not suspend to ram which I didn't test yet.
Tested BIOS: Q87 01.01.03 Rev.A
acpidump, dsdt.dsl and dmesg from suspend->wakeup cycle, when issue is reproduced, is attached.
Please let me know if any additional debug information is required.
Created attachment 279261 [details]
Dell Latitude 7285 acpidump
Created attachment 279263 [details]
Dell Latitude 7285 dsdt.dsl
Created attachment 279265 [details]
HP Elite x2 1013 G3 acpidump
Created attachment 279267 [details]
HP Elite x2 1013 G3 dsdt.dsl
Created attachment 279269 [details]
HP Elite x2 1013 G3 dmesg Linux 4.19.0
I want to note that on HP Elite x2 1013 G3, when wakeup from short power button press doesn't work, wakeup from lid also doesn't work. However, when tablet in this state (no wakeup from lid events or short power button press) wakeup from Bluetooth (HP ActivePen G2 top button) and USB (any key on keyboard) still works well.
This issue is reproducible only with suspend freeze.
On HP Elite x2 1013 G3 there is BIOS option that allow to use S3, and when this option (or "mem_sleep_default=deep" kernel option) is enabled, tablet always wakeup from short power button press. Unfortunately, for Dell Latitude 7285 S3 is not an option, and fix of this issue is still required.
On HP Elite x2 1013 G3 with latest BIOS and latest kernel issue is worse now.
Tablet no longer wakeup from suspend freeze by power button at all.
Until this is fixed I propose to change default for this tablet from S0ix to S3.
let's focus on the Dell issue here, as we have Mario in the thread.
so the problem is that,
with latest kernel, power button short press can not wake the system from s2idle in some cases, right?
I have to return two Latitude 7285 to Dell due to unsolvable hardware issues with device (unrelated to power button). I don't know current status of this issue on this device.
What is next steps with debugging HP 1013?
I am facing the same issue with the Dell power button. A popup appears with the error of Dell Latitude 7285 and can't be able to find the reason as I am busy as provide Dubai Essays https://writingservice.ae/. Is there anyone who suggest me the solution.
does the problem still exist in the latest upstream kernel?
We have quite some EC changes, and hopefully this can fix the problem for you.
Answered in bug 202519