Bug 208025 - Plug/Unplug dock doesn't wake up Latitdue 9510 from S2idle
Summary: Plug/Unplug dock doesn't wake up Latitdue 9510 from S2idle
Status: NEEDINFO
Alias: None
Product: ACPI
Classification: Unclassified
Component: EC (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_ec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-02 04:48 UTC by Kai-Heng Feng
Modified: 2020-07-10 07:59 UTC (History)
2 users (show)

See Also:
Kernel Version: linux-pm/bleeding-edge
Tree: Mainline
Regression: No


Attachments

Description Kai-Heng Feng 2020-06-02 04:48:20 UTC
When I plug/unplug Dell Dock WD19TB into Latitude 9510 in S2idle, the system doesn't wakeup. However, plug/unplug the dock can wake the system up under Windows.

Plug the same dock to XPS 9300 can wake the system up from S2idle, 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 04:49:19 UTC
We can involve ODM's BIOS/EC team if it's necessary.
Comment 2 Zhang Rui 2020-06-30 07:06:39 UTC
(In reply to Kai-Heng Feng from comment #0)
> When I plug/unplug Dell Dock WD19TB into Latitude 9510 in S2idle, the system
> doesn't wakeup. However, plug/unplug the dock can wake the system up under
> Windows.

This is not a problem.

> 
> Plug the same dock to XPS 9300 can wake the system up from S2idle, because
> acpi_ec_dispatch_gpe() returns true.
> 
If we can not get EC GPE when unplugging the dock, I'm not sure what we can do.

please attach the dmesg output after boot, on both 9300 and 9510.
Comment 3 Zhang Rui 2020-07-10 07:59:28 UTC
(In reply to Zhang Rui from comment #2)
> (In reply to Kai-Heng Feng from comment #0)
> > When I plug/unplug Dell Dock WD19TB into Latitude 9510 in S2idle, the
> system
> > doesn't wakeup. However, plug/unplug the dock can wake the system up under
> > Windows.
> 
> This is not a problem.
> 
> > 
> > Plug the same dock to XPS 9300 can wake the system up from S2idle, because
> > acpi_ec_dispatch_gpe() returns true.
> > 
> If we can not get EC GPE when unplugging the dock, I'm not sure what we can
> do.

My statement is wrong.
acpi_ec_dispatch_gpe() return true only if there is some GPE other than EC fired,

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