Skip to content

Commit 8fa73ee

Browse files
Shubh-Panwarrafaeljw
authored andcommitted
ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue
Add a DMI quirk for Samsung Galaxy Book2 to fix an initial lid state detection issue. The _LID device incorrectly returns the lid status as "closed" during boot, causing the system to enter a suspend loop right after booting. The quirk ensures that the correct lid state is reported initially, preventing the system from immediately suspending after startup. It only addresses the initial lid state detection and ensures proper system behavior upon boot. Signed-off-by: Shubham Panwar <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Changelog edits ] Cc: All applicable <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 42f7652 commit 8fa73ee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/acpi/button.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,17 @@ static const struct dmi_system_id dmi_lid_quirks[] = {
130130
},
131131
.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
132132
},
133+
{
134+
/*
135+
* Samsung galaxybook2 ,initial _LID device notification returns
136+
* lid closed.
137+
*/
138+
.matches = {
139+
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
140+
DMI_MATCH(DMI_PRODUCT_NAME, "750XED"),
141+
},
142+
.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
143+
},
133144
{}
134145
};
135146

0 commit comments

Comments
 (0)