]> git.ipfire.org Git - thirdparty/linux.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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Sep 2024 18:37:32 +0000 (20:37 +0200)
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>
drivers/acpi/resource.c

index dfe108e2ccde4e479e9e086aac0f3d48784adcf1..8e672790ac5113fae9f4caab2154555b19ab4d74 100644 (file)
@@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
                },
        },
+       {
+               /* Asus Vivobook X1704VAP */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "X1704VAP"),
+               },
+       },
        {
                /* Asus ExpertBook B1402CBA */
                .matches = {