Re: [PATCH] ALSA: hda/realtek: Enable jack detection on Minisforum AI X1 Pro

From: Takashi Iwai

Date: Mon Aug 03 2026 - 03:07:22 EST


On Sun, 02 Aug 2026 21:48:32 +0200,
Jeremie Pardou wrote:
>
> The firmware of the Minisforum AI X1 Pro leaves the headphone jack detector
> reset bit asserted on its ALC245 codec. As a result, pin sense on NID 0x21
> always reports the jack as absent.
>
> Clear only the Reset HP JD bit during codec initialization. Preserve the
> remaining coefficient bits. This makes pin sense and the generic HDA
> auto-mute logic work normally. Apply the fixup at INIT to also reapply the
> setting after codec reinitialization and resume.
>
> Tested on a Minisforum AI X1 Pro with codec 0x10ec0245 and subsystem
> 0x1f4cb020 using Ubuntu 26.04 kernel 7.0.0-28-generic.
>
> Signed-off-by: Jeremie Pardou <jrmi@xxxxxxxxxxxx>

Applied to for-next branch now. Thanks.


Takashi