public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop
@ 2026-01-22 15:54 gongqi
  2026-01-22 15:54 ` [PATCH v2 1/4] ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro gongqi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: gongqi @ 2026-01-22 15:54 UTC (permalink / raw)
  To: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, ilpo.jarvinen,
	perex, tiwai
  Cc: linux-acpi, linux-input, platform-driver-x86, linux-sound,
	linux-kernel, 550230171hxy

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 550230171hxy@gmail.com.
- 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(+)

-- 
2.43.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 1/4] ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro
  2026-01-22 15:54 [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop gongqi
@ 2026-01-22 15:54 ` gongqi
  2026-01-22 15:54 ` [PATCH v2 2/4] Input: i8042: Add quirks " gongqi
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: gongqi @ 2026-01-22 15:54 UTC (permalink / raw)
  To: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, ilpo.jarvinen,
	perex, tiwai
  Cc: linux-acpi, linux-input, platform-driver-x86, linux-sound,
	linux-kernel, 550230171hxy

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.

Signed-off-by: gongqi <550230171hxy@gmail.com>
---
 drivers/acpi/resource.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index d16906f46484d..2ec5472aa0763 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -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 = {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 2/4] Input: i8042: Add quirks for MECHREVO Wujie 15X Pro
  2026-01-22 15:54 [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop gongqi
  2026-01-22 15:54 ` [PATCH v2 1/4] ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro gongqi
@ 2026-01-22 15:54 ` gongqi
  2026-01-22 15:55 ` [PATCH v2 3/4] platform/x86/amd/pmc: Add quirk " gongqi
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: gongqi @ 2026-01-22 15:54 UTC (permalink / raw)
  To: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, ilpo.jarvinen,
	perex, tiwai
  Cc: linux-acpi, linux-input, platform-driver-x86, linux-sound,
	linux-kernel, 550230171hxy

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.

Signed-off-by: gongqi <550230171hxy@gmail.com>
---
 drivers/input/serio/i8042-acpipnpio.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index 654771275ce87..4cd09560c5bfb 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -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.
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 3/4] platform/x86/amd/pmc: Add quirk for MECHREVO Wujie 15X Pro
  2026-01-22 15:54 [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop gongqi
  2026-01-22 15:54 ` [PATCH v2 1/4] ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro gongqi
  2026-01-22 15:54 ` [PATCH v2 2/4] Input: i8042: Add quirks " gongqi
@ 2026-01-22 15:55 ` gongqi
  2026-01-22 15:55 ` [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix " gongqi
  2026-01-26 14:57 ` [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop Ilpo Järvinen
  4 siblings, 0 replies; 7+ messages in thread
From: gongqi @ 2026-01-22 15:55 UTC (permalink / raw)
  To: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, ilpo.jarvinen,
	perex, tiwai
  Cc: linux-acpi, linux-input, platform-driver-x86, linux-sound,
	linux-kernel, 550230171hxy

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.

Signed-off-by: gongqi <550230171hxy@gmail.com>
---
 drivers/platform/x86/amd/pmc/pmc-quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
index 404e62ad293a9..ed285afaf9b0d 100644
--- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
+++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
@@ -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"),
+		}
+	},
 	{}
 };
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix for MECHREVO Wujie 15X Pro
  2026-01-22 15:54 [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop gongqi
                   ` (2 preceding siblings ...)
  2026-01-22 15:55 ` [PATCH v2 3/4] platform/x86/amd/pmc: Add quirk " gongqi
@ 2026-01-22 15:55 ` gongqi
  2026-01-27  7:30   ` Takashi Iwai
  2026-01-26 14:57 ` [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop Ilpo Järvinen
  4 siblings, 1 reply; 7+ messages in thread
From: gongqi @ 2026-01-22 15:55 UTC (permalink / raw)
  To: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, ilpo.jarvinen,
	perex, tiwai
  Cc: linux-acpi, linux-input, platform-driver-x86, linux-sound,
	linux-kernel, 550230171hxy

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.

Signed-off-by: gongqi <550230171hxy@gmail.com>
---
 sound/hda/codecs/conexant.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/hda/codecs/conexant.c b/sound/hda/codecs/conexant.c
index 5fcbc1312c697..2384e64eada36 100644
--- a/sound/hda/codecs/conexant.c
+++ b/sound/hda/codecs/conexant.c
@@ -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),
 	{}
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop
  2026-01-22 15:54 [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop gongqi
                   ` (3 preceding siblings ...)
  2026-01-22 15:55 ` [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix " gongqi
@ 2026-01-26 14:57 ` Ilpo Järvinen
  4 siblings, 0 replies; 7+ messages in thread
From: Ilpo Järvinen @ 2026-01-26 14:57 UTC (permalink / raw)
  To: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, perex, tiwai,
	gongqi
  Cc: linux-acpi, linux-input, platform-driver-x86, linux-sound,
	linux-kernel

On Thu, 22 Jan 2026 23:54:57 +0800, gongqi wrote:

> 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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix for MECHREVO Wujie 15X Pro
  2026-01-22 15:55 ` [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix " gongqi
@ 2026-01-27  7:30   ` Takashi Iwai
  0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2026-01-27  7:30 UTC (permalink / raw)
  To: gongqi
  Cc: rafael, dmitry.torokhov, Shyam-sundar.S-k, hansg, ilpo.jarvinen,
	perex, tiwai, linux-acpi, linux-input, platform-driver-x86,
	linux-sound, linux-kernel

On Thu, 22 Jan 2026 16:55:01 +0100,
gongqi wrote:
> 
> 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.
> 
> Signed-off-by: gongqi <550230171hxy@gmail.com>

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


Takashi


> ---
>  sound/hda/codecs/conexant.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/hda/codecs/conexant.c b/sound/hda/codecs/conexant.c
> index 5fcbc1312c697..2384e64eada36 100644
> --- a/sound/hda/codecs/conexant.c
> +++ b/sound/hda/codecs/conexant.c
> @@ -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),
>  	{}
> -- 
> 2.43.0
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-27  7:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 15:54 [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop gongqi
2026-01-22 15:54 ` [PATCH v2 1/4] ACPI: resource: Add IRQ override quirk for MECHREVO Wujie 15X Pro gongqi
2026-01-22 15:54 ` [PATCH v2 2/4] Input: i8042: Add quirks " gongqi
2026-01-22 15:55 ` [PATCH v2 3/4] platform/x86/amd/pmc: Add quirk " gongqi
2026-01-22 15:55 ` [PATCH v2 4/4] ALSA: hda/conexant: Add headset mic fix " gongqi
2026-01-27  7:30   ` Takashi Iwai
2026-01-26 14:57 ` [PATCH v2 0/4] Add quirks for MECHREVO Wujie 15X Pro laptop Ilpo Järvinen

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