The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] ACPI: resource: Add IRQ1 override quirk for MECHREVO Jiaolong15 GM5RGEE
@ 2026-12-03 12:36 kagaminehaku
  0 siblings, 0 replies; only message in thread
From: kagaminehaku @ 2026-12-03 12:36 UTC (permalink / raw)
  To: Rafael J . Wysocki; +Cc: Len Brown, linux-acpi, linux-kernel, kagaminehaku

The MECHREVO Jiaolong15 Series (board name GM5RGEE, AMD Ryzen 5 6600H)
has a DSDT that describes the keyboard IRQ1 as Edge, ActiveLow, Shared.
Since the kernel skips the IRQ1 override on AMD Zen, this setting is
used as-is and the built-in keyboard does not work: atkbd reports
"Failed to deactivate keyboard" / "Failed to enable keyboard" and IRQ1
receives no interrupts.

Add the laptop to irq1_edge_low_force_override, like the similar
MECHREVO Jiaolong17KS and Infinity E15-5A305-1M (GM5RGEE0016COM)
boards. The sys_vendor match keeps the plain "GM5RGEE" substring from
matching other GM5RGEE-based boards.

Tested with a patched DSDT (IRQ1 changed to Edge, ActiveHigh) loaded via
ACPI table upgrade, which makes the internal keyboard work.

DMI info:
  sys_vendor:    MECHREVO
  product_name:  Jiaolong15 Series GM5RGEE
  board_name:    GM5RGEE
  bios_version:  N.1.21MRO18

Signed-off-by: kagaminehaku <blomaway@gmail.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 56df4599d..750571951 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -640,6 +640,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GM5RGEE0016COM"),
 		},
 	},
+	{
+		/* MECHREVO Jiaolong15 Series GM5RGEE */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MECHREVO"),
+			DMI_MATCH(DMI_BOARD_NAME, "GM5RGEE"),
+		},
+	},
 	{
 		/* Lunnen Ground 15 / AMD Ryzen 5 5500U */
 		.matches = {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-03 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 12:36 [PATCH] ACPI: resource: Add IRQ1 override quirk for MECHREVO Jiaolong15 GM5RGEE kagaminehaku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox