Skip to contentSkip to conversation

ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MV

PATCH Applied Tamim Khan 2 participants 2 messages Apr 28, 2024 – Apr 30, 2024 ACPI

lore
Share & tools
lore

Tamim Khan

author
#0 lore raw

PATCH 1/1 ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MV

Like various other Asus Vivobook and Expertbook laptops, the Asus Vivobook Pro N6506MV 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

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index 59423fe9d0f2..23d6f5d4206f 100644
@@ -517,6 +517,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "E1504GAB"),
 		},
 	},
+	{
+		/* Asus Vivobook Pro N6506MV */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
+		},
+	},
 	{
 		/* LG Electronics 17U70P */
 		.matches = {
Signature · 1 line
2.44.0
maintainer Applied
#1 lore raw
Quoted 23 lines · Tamim Khan

Like various other Asus Vivobook and Expertbook laptops, the Asus Vivobook Pro N6506MV 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

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +1 -0
index 59423fe9d0f2..23d6f5d4206f 100644
@@ -517,6 +517,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "E1504GAB"),
                },
        },
+       {

drivers/acpi/resource.c static const struct dmi_system_id irq1_level_low_skip_override[] = {

Quoted 10 lines
drivers/acpi/resource.c +6 -1
+               /* Asus Vivobook Pro N6506MV */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
+               },
+       },
        {
                /* LG Electronics 17U70P */
                .matches = {
--

Applied as 6.10 material, thanks!