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.
We can involve ODM's BIOS/EC team if it's necessary.
(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.
(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,
There is a thread to track this, but unfortunately I didn't get any update from it. Are we still going to track this?
I guess we can close this. Without ODM's cooperation we can't do much.