diff mbox series

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

Message ID 20240708000557.83539-1-tamim@fusetak.com (mailing list archive)
State Mainlined, archived
Headers show
Series ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MJ | expand

Commit Message

Tamim Khan July 8, 2024, 12:05 a.m. UTC
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>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki July 9, 2024, 4:17 p.m. UTC | #1
On Mon, Jul 8, 2024 at 2:06 AM Tamim Khan <tamim@fusetak.com> wrote:
>
> 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>
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index b5bf8b81a050..7478805df3a2 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -524,6 +524,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
>                 },
>         },
> +       {
> +               /* Asus Vivobook Pro N6506MJ */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_BOARD_NAME, "N6506MJ"),
> +               },
> +       },
>         {
>                 /* LG Electronics 17U70P */
>                 .matches = {
> --

Applied as 6.11 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index b5bf8b81a050..7478805df3a2 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -524,6 +524,13 @@  static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
 		},
 	},
+	{
+		/* Asus Vivobook Pro N6506MJ */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "N6506MJ"),
+		},
+	},
 	{
 		/* LG Electronics 17U70P */
 		.matches = {