Message ID | 20241018114946.4670-1-shubiisp8@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot | expand |
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 51470208e..7e84662cf 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c @@ -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, + }, + {} };
Signed-off-by: Shubham Panwar <shubiisp8@gmail.com> --- drivers/acpi/button.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)