2024-04-30 18:43:21

by Brooke Chalmers

[permalink] [raw]
Subject: [PATCH] ACPI: resource: Add Asus Vivobook N6506MV to irq1_level_low_skip_override

Override the keyboard IRQ level on Asus Vivobook N6506MV laptops to make
the internal keyboard functional.

Add a new entry to the irq1_level_low_skip_override structure, similar
to the existing ones.

Signed-off-by: Brooke Chalmers <[email protected]>
---
drivers/acpi/resource.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 59423fe9d0f2..1097d9dd657b 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
},
},
+ {
+ /* Asus Vivobook N6506MV */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
+ },
+ },
{
/* Asus ExpertBook B1402CBA */
.matches = {
--
2.44.0



2024-04-30 19:26:24

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] ACPI: resource: Add Asus Vivobook N6506MV to irq1_level_low_skip_override

On Tue, Apr 30, 2024 at 8:42 PM Brooke Chalmers <[email protected]> wrote:
>
> Override the keyboard IRQ level on Asus Vivobook N6506MV laptops to make
> the internal keyboard functional.
>
> Add a new entry to the irq1_level_low_skip_override structure, similar
> to the existing ones.
>
> Signed-off-by: Brooke Chalmers <[email protected]>
> ---
> drivers/acpi/resource.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 59423fe9d0f2..1097d9dd657b 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
> DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
> },
> },
> + {
> + /* Asus Vivobook N6506MV */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> + DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
> + },
> + },
> {
> /* Asus ExpertBook B1402CBA */
> .matches = {
> --

I think that this is equivalent to

https://patchwork.kernel.org/project/linux-acpi/patch/[email protected]/

that has just been applied.

Thanks!