Skip to contentSkip to conversation

ACPI: resource: Add IRQ override quirks (backport changes from v6.9-rc3)

PATCH New [email protected] 1 participant 4 messages Apr 8, 2024

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

cover ACPI: resource: Add IRQ override quirks (backport changes from v6.9-rc3)

Added support internal keyboard for the following models:

Asus ExpertBook (B1502CVA, B2502FBA),
Maibenben X565.

Successfully tested on the available Asus ExpertBook B1502CVA model.

[PATCH 6.8.y 1/3] ACPI: resource: Skip IRQ override on ASUS ExpertBook [PATCH 6.8.y 2/3] ACPI: resource: Add IRQ override quirk for ASUS [PATCH 6.8.y 3/3] ACPI: resource: Use IRQ override on Maibenben X565

#1 lore raw

PATCH 1/3 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CVA

From: Nicolas Haye <[email protected]>

commit ca3afc2806046f626a1518f160a564b90f141f95 upstream.

Like many b1502 models,
the b1502CVA keyboard doesn't work because of an ACPI DSDT table that describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High.

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index c843feb02..a273f9791 100644
@@ -468,6 +468,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B1502CGA"),
 		},
 	},
+	{
+		/* Asus ExpertBook B1502CVA */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "B1502CVA"),
+		},
+	},
 	{
 		/* Asus ExpertBook B2402CBA */
 		.matches = {
Signature · 1 line
2.33.8
#2 lore raw

PATCH 2/3 ACPI: resource: Add IRQ override quirk for ASUS ExpertBook B2502FBA

In reply to [email protected]

From: Sviatoslav Harasymchuk <[email protected]>

commit 0793e511c4c66c38dd26add86f7236bcdc70c3b5 upstream.

In order to fix the keyboard on ASUS ExpertBook B2502FBA, add an IRQ override quirk for it in analogy with how it was done for other members of this machine family.

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index a273f9791..4fae9af32 100644
@@ -496,6 +496,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"),
 		},
 	},
+	{
+		/* Asus ExpertBook B2502FBA */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "B2502FBA"),
+		},
+	},
 	{
 		/* Asus Vivobook E1504GA */
 		.matches = {
Signature · 1 line
2.33.8
#3 lore raw

PATCH 3/3 ACPI: resource: Use IRQ override on Maibenben X565

In reply to [email protected]

From: Sergey Kalinichev <[email protected]>

commit 00efe7fcf9ceeff0808bca9460afb49e7ada6068 upstream.

Use ACPI IRQ override on Maibenben X565 laptop to make the internal keyboard work.

Add a new entry to the irq1_edge_low_force_override structure, similar to the existing ones.

---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/acpi/resource.c +7 -0
index 4fae9af32..59423fe9d 100644
@@ -623,6 +623,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "X577"),
 		},
 	},
+	{
+		/* Maibenben X565 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MAIBENBEN"),
+			DMI_MATCH(DMI_BOARD_NAME, "X565"),
+		},
+	},
 	{ }
 };
 
Signature · 1 line
2.33.8