ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MJ
authorTamim Khan <tamim@fusetak.com>
Mon, 8 Jul 2024 00:05:50 +0000 (20:05 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 9 Jul 2024 16:15:49 +0000 (18:15 +0200)
Similar to other Asus Vivobooks, the Asus Vivobook Pro N6506MJ has a DSDT table
that describes IRQ 1 as ActiveLow, whereas the kernel overrides it to Edge_High.
This discrepancy prevents the internal keyboard from functioning properly. This
patch resolves this issue by adding this laptop to the override table that prevents
the kernel from overriding this IRQ.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218929
Tested-by: Amber Connelly <amb3r.dev@gmail.com>
Signed-off-by: Tamim Khan <tamim@fusetak.com>
Link: https://patch.msgid.link/20240708000557.83539-1-tamim@fusetak.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c

index b3ae5f9ac5510bf43935626c12880972cfb9c736..df5d5a554b388bf8079d44c03ece9cce80a662f7 100644 (file)
@@ -531,6 +531,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "N6506MU"),
                },
        },
+       {
+               /* Asus Vivobook Pro N6506MJ */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "N6506MJ"),
+               },
+       },
        {
                /* LG Electronics 17U70P */
                .matches = {