Linux ACPI
 help / color / mirror / Atom feed
From: kagaminehaku <blomaway@gmail.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>
Cc: Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	kagaminehaku <blomaway@gmail.com>
Subject: [PATCH] ACPI: resource: Add IRQ1 override quirk for MECHREVO Jiaolong15 GM5RGEE
Date: Thu,  3 Dec 2026 19:36:07 +0700	[thread overview]
Message-ID: <20261203123607.10945-1-blomaway@gmail.com> (raw)

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


                 reply	other threads:[~2026-12-03 12:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203123607.10945-1-blomaway@gmail.com \
    --to=blomaway@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox