public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot
@ 2024-10-18 11:49 Shubham Panwar
  0 siblings, 0 replies; only message in thread
From: Shubham Panwar @ 2024-10-18 11:49 UTC (permalink / raw)
  To: linux-acpi; +Cc: Shubham Panwar

Signed-off-by: Shubham Panwar <shubiisp8@gmail.com>
---
 drivers/acpi/button.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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,
+    	},
+	
 	{}
 };
 
-- 
2.47.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-18 11:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 11:49 [PATCH] ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot Shubham Panwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox