Skip to contentSkip to conversation

Add quirks for MECHREVO Wujie 15X Pro laptop

PATCH Applied gongqi 3 participants 7 messages Jan 22 – Jan 27

Subsystems (6)
Sound ACPI HID Input drivers +2 more subsystems
lore
Share & tools
lore

gongqi

author
#0 lore raw

v2 cover Add quirks for MECHREVO Wujie 15X Pro laptop

This series adds several quirks for the MECHREVO Wujie 15X Pro (AMD Ryzen AI 9 H 365) laptop to fix issues with the keyboard, touchpad, power management, and headset microphone.

The laptop requires:
- ACPI IRQ override for the keyboard.
- i8042 quirks for keyboard/touchpad stability.
- AMD PMC quirk to fix spurious IRQs during suspend.
- Conexant codec quirk for the headset microphone.

Changes in v2:
- Added Missing Signed-off-by to all patches.
- Wrapped commit messages at 72 columns.
- Unified author and committer email to [email protected].
- Properly formatted cover letter to improve threading.

gongqi (4):
ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro
Input: i8042: Add quirks for MECHREVO Wujie 15X Pro platform/x86/amd/pmc: Add quirk for MECHREVO Wujie 15X Pro
ALSA: hda/conexant: Add headset mic fix for MECHREVO Wujie 15X Pro

 drivers/acpi/resource.c                   | 6 ++++++
 drivers/input/serio/i8042-acpipnpio.h     | 7 +++++++
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 7 +++++++
 sound/pci/hda/patch_conexant.c            | 1 +
 4 files changed, 21 insertions(+)
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH v2 1/4 ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro

On the MECHREVO Wujie 15X Pro (Board Name: WUJIE Series-X5SP4NAG), the keyboard does not function properly without an IRQ override. Add a DMI entry to force IRQ1 to edge_low.

---
 drivers/acpi/resource.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/acpi/resource.c +6 -0
index d16906f46484d..2ec5472aa0763 100644
@@ -674,6 +674,12 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"),
 		},
 	},
+	{
+		/* MECHREVO Wujie 15X Pro */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "WUJIE Series-X5SP4NAG"),
+		},
+	},
 	{
 		/* MACHENIKE L16P/L16P */
 		.matches = {
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH v2 2/4 Input: i8042: Add quirks for MECHREVO Wujie 15X Pro

In reply to gongqi

The MECHREVO Wujie 15X Pro requires several i8042 quirks to function correctly. Specifically, NOMUX, RESET_ALWAYS, NOLOOP, and NOPNP are needed to ensure the keyboard and touchpad work reliably.

---
 drivers/input/serio/i8042-acpipnpio.h | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/input/serio/i8042-acpipnpio.h +7 -0
index 654771275ce87..4cd09560c5bfb 100644
@@ -1176,6 +1176,13 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
 		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
 					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "WUJIE Series-X5SP4NAG"),
+		},
+		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
+					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
+	},
 	/*
 	 * A lot of modern Clevo barebones have touchpad and/or keyboard issues
 	 * after suspend fixable with the forcenorestore quirk.
Signature · 1 line
2.43.0
author
#3 lore raw

PATCH v2 3/4 platform/x86/amd/pmc: Add quirk for MECHREVO Wujie 15X Pro

In reply to gongqi

The MECHREVO Wujie 15X Pro suffers from spurious IRQ issues related to the AMD PMC. Add it to the quirk list to use the spurious_8042 fix.

---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/amd/pmc/pmc-quirks.c +7 -0
index 404e62ad293a9..ed285afaf9b0d 100644
@@ -302,6 +302,13 @@ static const struct dmi_system_id fwbug_list[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "XxKK4NAx_XxSP4NAx"),
 		}
 	},
+	{
+		.ident = "MECHREVO Wujie 15X Pro",
+		.driver_data = &quirk_spurious_8042,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "WUJIE Series-X5SP4NAG"),
+		}
+	},
 	{}
 };
 
Signature · 1 line
2.43.0
author
#4 lore raw

PATCH v2 4/4 ALSA: hda/conexant: Add headset mic fix for MECHREVO Wujie 15X Pro

In reply to gongqi

The headset microphone on the MECHREVO Wujie 15X Pro requires the CXT_FIXUP_HEADSET_MIC quirk to function properly. Add the PCI SSID (0x1d05:0x3012) to the quirk table.

---
 sound/hda/codecs/conexant.c | 1 +
 1 file changed, 1 insertion(+)
sound/hda/codecs/conexant.c +1 -0
index 5fcbc1312c697..2384e64eada36 100644
@@ -1123,6 +1123,7 @@ static const struct hda_quirk cxt5066_fixups[] = {
 	SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad/Ideapad", CXT_FIXUP_LENOVO_XPAD_ACPI),
 	SND_PCI_QUIRK(0x1c06, 0x2011, "Lemote A1004", CXT_PINCFG_LEMOTE_A1004),
 	SND_PCI_QUIRK(0x1c06, 0x2012, "Lemote A1205", CXT_PINCFG_LEMOTE_A1205),
+	SND_PCI_QUIRK(0x1d05, 0x3012, "MECHREVO Wujie 15X Pro", CXT_FIXUP_HEADSET_MIC),
 	HDA_CODEC_QUIRK(0x2782, 0x12c3, "Sirius Gen1", CXT_PINCFG_TOP_SPEAKER),
 	HDA_CODEC_QUIRK(0x2782, 0x12c5, "Sirius Gen2", CXT_PINCFG_TOP_SPEAKER),
 	{}
Signature · 1 line
2.43.0
Applied
#5 lore raw

Re: [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix for MECHREVO Wujie 15X Pro

Quoted 6 lines · gongqi

The headset microphone on the MECHREVO Wujie 15X Pro requires the CXT_FIXUP_HEADSET_MIC quirk to function properly. Add the PCI SSID (0x1d05:0x3012) to the quirk table.

Applied to for-next branch of sound.git tree. Thanks.

Takashi

Quoted 19 lines
---
 sound/hda/codecs/conexant.c | 1 +
 1 file changed, 1 insertion(+)
sound/hda/codecs/conexant.c +1 -0
index 5fcbc1312c697..2384e64eada36 100644
@@ -1123,6 +1123,7 @@ static const struct hda_quirk cxt5066_fixups[] = {
 	SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad/Ideapad", CXT_FIXUP_LENOVO_XPAD_ACPI),
 	SND_PCI_QUIRK(0x1c06, 0x2011, "Lemote A1004", CXT_PINCFG_LEMOTE_A1004),
 	SND_PCI_QUIRK(0x1c06, 0x2012, "Lemote A1205", CXT_PINCFG_LEMOTE_A1205),
+	SND_PCI_QUIRK(0x1d05, 0x3012, "MECHREVO Wujie 15X Pro", CXT_FIXUP_HEADSET_MIC),
 	HDA_CODEC_QUIRK(0x2782, 0x12c3, "Sirius Gen1", CXT_PINCFG_TOP_SPEAKER),
 	HDA_CODEC_QUIRK(0x2782, 0x12c5, "Sirius Gen2", CXT_PINCFG_TOP_SPEAKER),
 	{}
Signature · 1 line
2.43.0
maintainer
#6 lore raw
In reply to gongqi
Quoted 11 lines · gongqi

This series adds several quirks for the MECHREVO Wujie 15X Pro (AMD Ryzen AI 9 H 365) laptop to fix issues with the keyboard, touchpad, power management, and headset microphone.

The laptop requires:
- ACPI IRQ override for the keyboard.
- i8042 quirks for keyboard/touchpad stability.
- AMD PMC quirk to fix spurious IRQs during suspend.
- Conexant codec quirk for the headset microphone.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/4] ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro
(no commit info)
[2/4] Input: i8042: Add quirks for MECHREVO Wujie 15X Pro
(no commit info)
[3/4] platform/x86/amd/pmc: Add quirk for MECHREVO Wujie 15X Pro

      commit: 2b4e00d8e70ca8736fda82447be6a4e323c6d1f5

[4/4] ALSA: hda/conexant: Add headset mic fix for MECHREVO Wujie 15X Pro
(no commit info)

--
i.