]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_override[]
authorHans de Goede <hdegoede@redhat.com>
Fri, 27 Sep 2024 14:16:05 +0000 (16:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:08:24 +0000 (15:08 +0200)
commit 2f80ce0b78c340e332f04a5801dee5e4ac8cfaeb upstream.

Like other Asus Vivobook models the X1704VAP has its keybopard IRQ (1)
described as ActiveLow in the DSDT, which the kernel overrides to EdgeHigh
which breaks the keyboard.

Add the X1704VAP to the irq1_level_low_skip_override[] quirk table to fix
this.

Reported-by: Lamome Julien <julien.lamome@wanadoo.fr>
Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078696
Closes: https://lore.kernel.org/all/1226760b-4699-4529-bf57-6423938157a3@wanadoo.fr/
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20240927141606.66826-3-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/resource.c

index 370f91a514702454c2fa1797db7771d36da7636e..a8d2d39edc4274e7d85a9d80c02b884fe3a0b03b 100644 (file)
@@ -442,6 +442,13 @@ static const struct dmi_system_id asus_laptop[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "B2402CBA"),
                },
        },
+       {
+               /* Asus Vivobook X1704VAP */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "X1704VAP"),
+               },
+       },
        {
                /* TongFang GMxXGxx/TUXEDO Polaris 15 Gen5 AMD */
                .matches = {