]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2024 13:34:08 +0000 (15:34 +0200)
[ Upstream commit e2e7f037b400aebbb3892d8010fb3d9cae6f426e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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 = {