[<prev] [next>] [day] [month] [year] [list]
Message-ID: <198DF8EDEF8996EE+20240526091125.43899-1-nova@bupt.edu.cn>
Date: Sun, 26 May 2024 17:11:25 +0800
From: nova@...t.edu.cn
To: linux-kernel@...r.kernel.org
Cc: rafael@...nel.org,
lenb@...nel.org,
MuelNova <n@....moe>
Subject: [PATCH] ACPI: resource: Do IRQ override on MECHREVO Yilong15 Series GM5HG0A
From: MuelNova <n@....moe>
MECHREVO Yilong15 Serie has a DSDT table that describes IRQ 1 as ActiveLow
while the kernel is overriding it to Edge_High. This prevents the internal
keyboard from working. This patch prevents this issue by adding this laptop
to the override table that prevents the kernel from overriding this IRQ
Signed-off-by: MuelNova <n@....moe>
---
drivers/acpi/resource.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index b5bf8b81a..fed3c5e1b 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -540,6 +540,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
* to have a working keyboard.
*/
static const struct dmi_system_id irq1_edge_low_force_override[] = {
+ {
+ /* MECHREVO Yilong15 Series GM5HG0A */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GM5HG0A"),
+ },
+ },
{
/* XMG APEX 17 (M23) */
.matches = {
--
2.45.1
Powered by blists - more mailing lists