Skip to content

Commit 437885a

Browse files
Shubh-Panwargregkh
authored andcommitted
ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue
commit 8fa73ee upstream. 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 <shubiisp8@gmail.com> Link: https://patch.msgid.link/20241020095045.6036-2-shubiisp8@gmail.com [ rjw: Changelog edits ] Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 58556dc commit 437885a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

drivers/acpi/button.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,17 @@ static const struct dmi_system_id lid_blacklst[] = {
124124
},
125125
.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
126126
},
127+
{
128+
/*
129+
* Samsung galaxybook2 ,initial _LID device notification returns
130+
* lid closed.
131+
*/
132+
.matches = {
133+
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
134+
DMI_MATCH(DMI_PRODUCT_NAME, "750XED"),
135+
},
136+
.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
137+
},
127138
{}
128139
};
129140

0 commit comments

Comments
 (0)