diff mbox series

ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA

Message ID 20231115180222.10436-1-hdegoede@redhat.com
State Accepted
Commit bd911485294a6f0596e4592ed442438015cffc8a
Headers show
Series ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA | expand

Commit Message

Hans de Goede Nov. 15, 2023, 6:02 p.m. UTC
Like various other ASUS ExpertBook-s, the ASUS ExpertBook B1402CVA
has an ACPI DSDT table that describes IRQ 1 as ActiveLow while
the kernel overrides it to EdgeHigh.

This prevents the keyboard from working. To fix this issue, add this laptop
to the skip_override_table so that the kernel does not override IRQ 1.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218114
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki Nov. 20, 2023, 4:45 p.m. UTC | #1
On Wed, Nov 15, 2023 at 7:02 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Like various other ASUS ExpertBook-s, the ASUS ExpertBook B1402CVA
> has an ACPI DSDT table that describes IRQ 1 as ActiveLow while
> the kernel overrides it to EdgeHigh.
>
> This prevents the keyboard from working. To fix this issue, add this laptop
> to the skip_override_table so that the kernel does not override IRQ 1.
>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218114
> Cc: stable@vger.kernel.org
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 15a3bdbd0755..9bd9f79cd409 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -447,6 +447,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "B1402CBA"),
>                 },
>         },
> +       {
> +               /* Asus ExpertBook B1402CVA */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_BOARD_NAME, "B1402CVA"),
> +               },
> +       },
>         {
>                 /* Asus ExpertBook B1502CBA */
>                 .matches = {
> --

Applied as 6.7-rc material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 15a3bdbd0755..9bd9f79cd409 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -447,6 +447,13 @@  static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B1402CBA"),
 		},
 	},
+	{
+		/* Asus ExpertBook B1402CVA */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "B1402CVA"),
+		},
+	},
 	{
 		/* Asus ExpertBook B1502CBA */
 		.matches = {