Re: [PATCH] ALSA: hda/realtek: Add quirk for Huawei MateBook X Pro 2020
From: Takashi Iwai
Date: Sat Oct 31 2026 - 11:40:27 EST
On Wed, 28 Oct 2026 00:47:32 +0100,
Cian Ruane wrote:
>
> The Huawei MateBook X Pro 2020 (MACHC-WAX9) has a combined headphone and
> microphone jack, but the BIOS marks pin 0x19 as unconnected (0x411111f0).
> As a result the headset microphone is missing and only the internal
> microphone is available.
>
> The mic mute LED on the F7 key does not follow the capture mute state
> either. The machine uses the PCI subsystem vendor ID 0x1e83 (Huaqin)
> rather than 0x19e5, so the Huawei vendor-wide quirk that sets up the LED
> does not match.
>
> Add a fixup that configures pin 0x19 as a headset microphone without its
> own jack detection and chains to ALC269_FIXUP_HEADSET_MODE, which enables
> headset mode and the mic mute LED. This is the MACHR-WX9 fixup without
> its other pin overrides. The remaining BIOS pin defaults work, and pin
> 0x14, which the MACHR-WX9 uses for a second speaker pair, produces no
> sound on this machine. Configuring pin 0x19 with presence detection
> (0x04a11040) does not work either: the jack state drops to unplugged
> while the headset is still connected.
>
> Tested on: HUAWEI MACHC-WAX9 (MateBook X Pro 2020), BIOS 1.26,
> Ubuntu 26.04 (kernel 7.0.0-38-generic, with this patch backported).
>
> Signed-off-by: Cian Ruane <cian.ruane1@xxxxxxxxx>
Applied now. Thanks.
Takashi