Thread (55 messages) 55 messages, 9 authors, 2017-07-07

Re: [PATCH 3/3] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent Dell systems

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2017-06-05 20:51:20
Also in: linux-acpi, lkml

On Mon, Jun 5, 2017 at 5:18 PM,  [off-list ref] wrote:
quoted
+     /*
+      * Enable the EC to wake up the system from suspend-to-idle to allow
+      * power button events to it wake up.
+      */
+     {
+      .callback = init_ec_gpe_wakeup,
+      .ident = "Dell XPS 13 9360",
+      .matches = {
+             DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+             DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"),
+             },
+     },
+     {
+      .callback = init_ec_gpe_wakeup,
+      .ident = "Dell XPS 13 9365",
+      .matches = {
+             DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+             DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9365"),
+             },
+     },
      {},
 };
Although the XPS 9360 and XPS 9365 are currently the only Dell products on
the market that do the wakeup this way, this is part of Dell's BIOS and EC
codebase.  As other Dell products start to ship Windows 10 with Modern Standby
and (eventually) Linux with Suspend-to-Idle I'd expect this list to be growing.
Well, if init_ec_gpe_wakeup() was enabled on all Dell systems at this
point, it would affect all previous generations of them too and that
might not be desirable.

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help