Re: [PATCH v2 1/2] ALSA: hda/realtek: Fix headset mic on Legion AW88399 laptops

From: Takashi Iwai

Date: Wed Aug 05 2026 - 04:19:26 EST


On Tue, 04 Aug 2026 20:53:24 +0200,
Aaron Ma wrote:
>
> The ALC287 codec on Lenovo Legion AW88399 laptops does not mark
> the combo-jack microphone as a headset mic, so the HDA parser
> treats it as a plain microphone. The headset microphone route
> and inline headset buttons are therefore unavailable.
>
> Enable Realtek headset mode without treating the jack as a
> headphone microphone, and enable headset jack button handling.
> Suppress automatic microphone selection so the internal microphone
> remains selectable while a headset is connected.
>
> The existing 0x1d override is redundant: firmware already marks
> that pin unused, and the override triggers a "SKU not ready
> 0x411111f0" warning. Drop it.
>
> Signed-off-by: Aaron Ma <mapengyu@xxxxxxxxx>
> ---
> Changes in v2:
> - Based on the original 1/3 (df2538d54b3c0 "Use AW88399 I2C fixup
> chain on Legion machines"): reworked to enable headset-mic mode
> and inline buttons.

Applied both patches to for-next branch now.


thanks,

Takashi