Skip to contentSkip to conversation

ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA

PATCH Applied Tamim Khan 2 participants 2 messages Oct 14, 2022 – Oct 26, 2022 ACPI

lore
Share & tools
lore

Tamim Khan

author
#0 lore raw

PATCH 1/1 ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA

Like the Asus Vivobook K3402ZA/K3502ZA/S5402ZA Asus Vivobook S5602ZA has an ACPI DSDT table the describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High. This prevents the keyboard on this laptop from working. To fix this add this laptop to the skip_override_table so that the kernel does not override IRQ 1.

---
This patch is similar to e12dee3736731e24b1e7367f87d66ac0fcd73ce7 (ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502Z) and 6e5cbe7c4b41824e500acbb42411da692d1435f1 (ACPI: resource: Add ASUS model S5402ZA to quirks) and just adds another Asus Vivobook that has the same IRQ override problem

 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index 6f9489edfb4e..0270421d12db 100644
@@ -425,6 +425,13 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"),
 		},
 	},
+	{
+		.ident = "Asus Vivobook S5602ZA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
+		},
+	},
 	{ }
 };
 
Signature · 1 line
2.37.2
maintainer Applied
#1 lore raw
Quoted 29 lines · Tamim Khan

Like the Asus Vivobook K3402ZA/K3502ZA/S5402ZA Asus Vivobook S5602ZA has an ACPI DSDT table the describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High. This prevents the keyboard on this laptop from working. To fix this add this laptop to the skip_override_table so that the kernel does not override IRQ 1.

---
This patch is similar to e12dee3736731e24b1e7367f87d66ac0fcd73ce7 (ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502Z) and 6e5cbe7c4b41824e500acbb42411da692d1435f1 (ACPI: resource: Add ASUS model S5402ZA to quirks) and just adds another Asus Vivobook that has the same IRQ override problem

 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +1 -0
index 6f9489edfb4e..0270421d12db 100644
@@ -425,6 +425,13 @@ static const struct dmi_system_id asus_laptop[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"),
                },
        },
+       {

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

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

Applied as 6.1-rc material, thanks!