Bug 208027

Summary: Unplug HDMI from Dock wakes the system up from S2idle - Dell Precision 3550
Product: ACPI Reporter: Kai-Heng Feng (kai.heng.feng)
Component: ECAssignee: acpi_ec
Status: CLOSED WILL_NOT_FIX    
Severity: normal CC: rjw, rui.zhang
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: linux-pm/bleeding-edge Subsystem:
Regression: No Bisected commit-id:

Description Kai-Heng Feng 2020-06-02 05:21:32 UTC
When Dell Precision 3550 is in S2idle, unplug HDMI cable from Dell Dock WD19TB wakes the system up. However, do the same thing under Windows doesn't wake the system up.

It's woken up by acpi_s2idle_wake() because acpi_ec_dispatch_gpe() returns true.

The issue can be reproduced on all kernels, from v4.15 to v5.7 and linux-pm/bleeding-edge branch.
Comment 1 Kai-Heng Feng 2020-06-02 05:21:51 UTC
For this issue, we can involve ODM's BIOS/EC team if it's necessary.
Comment 2 Zhang Rui 2020-06-30 07:14:16 UTC
(In reply to Kai-Heng Feng from comment #0)
> When Dell Precision 3550 is in S2idle, unplug HDMI cable from Dell Dock
> WD19TB wakes the system up. However, do the same thing under Windows doesn't
> wake the system up.
> 
This does not have to be a problem because Linux and windows have different wakeup policies.

> It's woken up by acpi_s2idle_wake() because acpi_ec_dispatch_gpe() returns
> true.
> 

Given me sometime to cookup a debug patch to see how the wakeup is triggered.

But again, this does not have to be a kernel problem.
Comment 3 Zhang Rui 2020-11-26 07:13:19 UTC
There is a thread to track this, but unfortunately I didn't get any update from it.
Are we still going to track this?
Comment 4 Kai-Heng Feng 2020-12-08 13:19:13 UTC
I guess we can close this.
Without ODM's cooperation we can't do much.