]> 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:11:41 +0000 (15:11 +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 2cc73b8d365323fe58a6f02256c640451eaf85d2..7e1829f8921bffec51743c30c3c05530da8107f5 100644 (file)
@@ -442,6 +442,13 @@ static const struct dmi_system_id asus_laptop[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "B1502CBA"),
                },
        },
+       {
+               /* Asus Vivobook X1704VAP */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "X1704VAP"),
+               },
+       },
        {
                .ident = "Asus ExpertBook B2402CBA",
                .matches = {