Skip to contentSkip to conversation

ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot

PATCH Superseded Shubham Panwar 1 participant 1 message Oct 18, 2024 ACPI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot

---
 drivers/acpi/button.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/acpi/button.c +14 -0
index 51470208e..7e84662cf 100644
@@ -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