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

Takashi Iwai <[email protected]> Mon, 03 Aug 2026 09:07:04 +0200
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>

Applied to for-next branch now.  Thanks.


Takashi