Re: [PATCH] ALSA: hda/realtek: Add quirk for LG gram 16 (16Z90TR)

Takashi Iwai <[email protected]> Mon, 03 Aug 2026 09:06:13 +0200
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Sun, 02 Aug 2026 07:57:27 +0200,
Aaron Fan wrote:
> 
> The LG gram 16 (16Z90TR, SSID 1854:0554) drives its internal speakers
> through Samsung-style smart amplifiers on an ALC298. Nothing initialises
> them, so the internal speakers are silent after a cold boot, while
> headphones, HDMI and the microphones work.
> 
> A warm reset leaves the amps initialised, which masks the problem:
> rebooting gives working speakers, a cold boot does not, with a
> bit-identical kernel log in both cases. Dumping the codec's processing
> coefficients in the two states shows the difference confined to COEF
> 0x22/0x23/0x25/0x26. COEF 0x22, the amp select register written by
> alc298_samsung_v2_init_amps(), reads 0x39 when the speakers work and
> 0x00 after a cold boot. 0x39 is the second entry of
> alc298_samsung_v2_amp_desc_tbl[], so two amps are in use.
> 
> Verified with hda_model=alc298-samsung-amp-v2-2-amps, which selects the
> same fixup: the internal speakers work from a cold boot and COEF 0x22
> reads 0x39.
> 
> Signed-off-by: Aaron Fan <[email protected]>

Applied to for-next branch now.  Thanks.


Takashi