From: Shubham Panwar <shubiisp8@gmail.com>
To: linux-acpi@vger.kernel.org
Cc: Shubham Panwar <shubiisp8@gmail.com>
Subject: [PATCH] ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix lid detection on boot
Date: Fri, 18 Oct 2024 17:19:46 +0530 [thread overview]
Message-ID: <20241018114946.4670-1-shubiisp8@gmail.com> (raw)
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
reply other threads:[~2024-10-18 11:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241018114946.4670-1-shubiisp8@gmail.com \
--to=shubiisp8@gmail.com \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox