ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot
PATCH 1/1 ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot
Signed-off-by Shubham Panwar <[email protected]>
--- drivers/acpi/button.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/acpi/button.c +14 -0
@@ -130,6 +130,20 @@ static const struct dmi_system_id dmi_lid_quirks[] = { }, .driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN, }, + +/* +* Samsung Galaxybook 2, initial LID device +* is detected as closed , thus causing suspend loop after boot. +*/ + + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), + DMI_MATCH(DMI_PRODUCT_NAME, "750XED"), + }, + .driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN, + }, + {} };
Signature · 1 line
2.47.0