Re: [PATCH] ALSA: hda/realtek: Add quirk for HP ENVY 13-aq1xxx
From: Takashi Iwai
Date: Mon Sep 28 2026 - 07:41:34 EST
On Wed, 23 Sep 2026 11:40:14 +0200,
Tarun Noonemunthala wrote:
>
> The HP ENVY Laptop 13-aq1xxx (PCI SSID 103c:86ad) uses an ALC285 codec
> with two speaker pairs: front (pin 0x14) and bottom (pin 0x17).
>
> The BIOS leaves pin 0x14 as [N/A] ("not connected"), so the generic
> parser never enables the front pair and only the bottom speakers are
> audible. The vendor driver (RTKVHD64.sys) programs that pin with the
> value 0x90170150 and runs the HP amplifier initialization, which is
> already implemented in the driver as ALC285_FIXUP_HP_GPIO_AMP_INIT.
>
> Add a board fixup that applies the pin configuration for 0x14 and chains
> to the existing amplifier init fixup.
>
> The pin value was recovered from the vendor driver's own configuration
> data. The patch and this changelog were prepared with an AI coding
> assistant (see the Assisted-by tag below); the change was reviewed and
> tested by the submitter on the affected machine.
>
> Tested on an HP ENVY 13-aq1xxx by rebuilding snd-hda-codec-alc269 from
> the Fedora 7.1.10 source and loading it: the codec now reports
> "line_outs=2 (0x14/0x17)", pin 0x14 comes up as an output (Pin-ctls
> 0x40) with its amplifier unmuted, and both speaker pairs play.
>
> Assisted-by: OpenCode:deepseek-v4.1-flash checkpatch
> Signed-off-by: Tarun Noonemunthala <ntarun2000@xxxxxxxxx>
Applied now. Thanks.
Takashi