Skip to content

Commit 1a20d40

Browse files
LittleHubarafaeljw
authored andcommitted
ACPI: button: Add DMI quirk for Lenovo Yoga 9 (14INTL5)
The Lenovo Yoga 9 (14INTL5)'s ACPI _LID is bugged: After hibernation the lid is initially reported as closed. Once closing and then reopening the lid reports the lid as open again. This leads to the conclusion that the initial notification of the lid is missing but subsequent notifications are correct. In order fo the Linux LID code to handle this device properly the lid_init_state must be set to ACPI_BUTTON_LID_INIT_OPEN. Signed-off-by: Ulrich Huber <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent e22ce8e commit 1a20d40

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
@@ -77,6 +77,17 @@ static const struct dmi_system_id dmi_lid_quirks[] = {
7777
},
7878
.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_DISABLED,
7979
},
80+
{
81+
/*
82+
* Lenovo Yoga 9 14ITL5, initial notification of the LID device
83+
* never happens.
84+
*/
85+
.matches = {
86+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
87+
DMI_MATCH(DMI_PRODUCT_NAME, "82BG"),
88+
},
89+
.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
90+
},
8091
{
8192
/*
8293
* Medion Akoya E2215T, notification of the LID device only

0 commit comments

Comments
 (0)