Skip to contentSkip to conversation

ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[]

PATCH Applied Hans de Goede 2 participants 2 messages Dec 20, 2024 – Jan 7, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[]

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

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

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index 821867de43be..ab4c0e0b6b8e 100644
@@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
 		},
 	},
+	{
+		/* Asus Vivobook X1504VAP */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "X1504VAP"),
+		},
+	},
 	{
 		/* Asus Vivobook X1704VAP */
 		.matches = {
Signature · 1 line
2.47.1
maintainer Applied
#1 lore raw
Quoted 24 lines · Hans de Goede

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

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

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +1 -0
index 821867de43be..ab4c0e0b6b8e 100644
@@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
                },
        },
+       {

drivers/acpi/resource.c static const struct dmi_system_id irq1_level_low_skip_override[] = {

Quoted 10 lines
drivers/acpi/resource.c +6 -1
+               /* Asus Vivobook X1504VAP */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "X1504VAP"),
+               },
+       },
        {
                /* Asus Vivobook X1704VAP */
                .matches = {
--

Applied as 6.13-rc material, thanks!