Skip to contentSkip to conversation

ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro

PATCH Applied [email protected] 2 participants 2 messages Oct 28, 2021 – Nov 3, 2021 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI / EC: Use ec_no_wakeup on HP ZHAN 66 Pro

From: Binbin Zhou <[email protected]>

EC interrupts constantly wake up system from s2idle.
So make ec_no_wakeup be true as default to keep system in s2idle mode and reduce power consumption.

---
 drivers/acpi/ec.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/ec.c +7 -0
index e629e891d1bb..7c32da8f51ed 100644
@@ -2152,6 +2152,13 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Yoga 3rd"),
 		},
 	},
+	{
+		.ident = "HP ZHAN 66 Pro",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+			DMI_MATCH(DMI_PRODUCT_FAMILY, "103C_5336AN HP ZHAN 66 Pro"),
+		},
+	},
 	{ },
 };
 
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 21 lines · On Thu, Oct 28, 2021 at 3:44 PM <[email protected]> wrote:

From: Binbin Zhou <[email protected]>

EC interrupts constantly wake up system from s2idle.
So make ec_no_wakeup be true as default to keep system in s2idle mode and reduce power consumption.

---
 drivers/acpi/ec.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/ec.c +1 -0
index e629e891d1bb..7c32da8f51ed 100644
@@ -2152,6 +2152,13 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
                        DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Yoga 3rd"),
                },
        },
+       {

drivers/acpi/ec.c static const struct dmi_system_id acpi_ec_no_wakeup[] = {

Quoted 10 lines
drivers/acpi/ec.c +6 -1
+               .ident = "HP ZHAN 66 Pro",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+                       DMI_MATCH(DMI_PRODUCT_FAMILY, "103C_5336AN HP ZHAN 66 Pro"),
+               },
+       },
        { },
 };
 
--

Applied as 5.16-rc material with some edits in the subject and changelog, thanks!