Skip to content

Commit 891ddc0

Browse files
Jonathan Denoserafaeljw
authored andcommitted
ACPI: EC: Add quirk for HP 250 G7 Notebook PC
Add GPE quirk entry for HP 250 G7 Notebook PC. This change allows the lid switch to be identified as the lid switch and not a keyboard button. With the lid switch properly identified, the device triggers suspend correctly on lid close. Signed-off-by: Jonathan Denose <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 05d3ef8 commit 891ddc0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/acpi/ec.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,6 +1924,16 @@ static const struct dmi_system_id ec_dmi_table[] __initconst = {
19241924
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Gaming Laptop 15-dk1xxx"),
19251925
},
19261926
},
1927+
{
1928+
/*
1929+
* HP 250 G7 Notebook PC
1930+
*/
1931+
.callback = ec_honor_dsdt_gpe,
1932+
.matches = {
1933+
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
1934+
DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G7 Notebook PC"),
1935+
},
1936+
},
19271937
{
19281938
/*
19291939
* Samsung hardware

0 commit comments

Comments
 (0)