diff mbox series

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

Message ID 20240428170841.487584-1-tamim@fusetak.com
State Accepted
Commit 7c52c7071bd403acee8cb0064627d46c6c2a1ea3
Headers show
Series ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MV | expand

Commit Message

Tamim Khan April 28, 2024, 5:08 p.m. UTC
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

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218745
Tested-by: Gianni <gianni.casagrande.mail@gmail.com>
Signed-off-by: Tamim Khan <tamim@fusetak.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki April 30, 2024, 7:23 p.m. UTC | #1
On Sun, Apr 28, 2024 at 7:10 PM Tamim Khan <tamim@fusetak.com> wrote:
>
> 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
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=218745
> Tested-by: Gianni <gianni.casagrande.mail@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 59423fe9d0f2..23d6f5d4206f 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -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 = {
> --

Applied as 6.10 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 59423fe9d0f2..23d6f5d4206f 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -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 = {