linux-stable/sound/pci
Athaariq Ardhiansyah fd58b4e3c0 ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops
[ Upstream commit c062166995 ]

Realtek codec on HP Envy laptop series are heavily modified by vendor.
Therefore, need intervention to make it work properly. The patch fixes:

- B&O soundbar speakers (between lid and keyboard) activation
- Enable LED on mute button
- Add missing process coefficient which affects the output amplifier
- Volume control synchronization between B&O soundbar and side speakers
- Unmute headset output on several HP Envy models
- Auto-enable headset mic when plugged

This patch was tested on HP Envy x360 13-AR0107AU with Realtek ALC285

The only unsolved problem is output amplifier of all built-in speakers
is too weak, which causes volume of built-in speakers cannot be loud
as vendor's proprietary driver due to missing _DSD parameter in the
firmware. The solution is currently on research. Expected to has another
patch in the future.

Potential fix to related issues, need test before close those issues:

- https://bugzilla.kernel.org/show_bug.cgi?id=189331
- https://bugzilla.kernel.org/show_bug.cgi?id=216632
- https://bugzilla.kernel.org/show_bug.cgi?id=216311
- https://bugzilla.kernel.org/show_bug.cgi?id=213507

Signed-off-by: Athaariq Ardhiansyah <foss@athaariq.my.id>
Message-ID: <20240310140249.3695-1-foss@athaariq.my.id>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:53 -04:00
..
ac97 ALSA: ac97: Fix possible error value of *rac97 2023-09-13 09:42:44 +02:00
ali5451
asihpi ALSA: asihpi: check pao in control_message() 2023-04-06 12:10:39 +02:00
au88x0 ALSA: au88x0: use explicitly signed char 2022-10-25 15:14:29 +02:00
aw2
ca0106 ALSA: ca0106: Use snd_ctl_rename() to rename a control 2022-10-21 08:17:11 +02:00
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1 ALSA: emu10k1: roll up loops in DSP setup code for Audigy 2023-07-27 08:50:31 +02:00
hda ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops 2024-03-26 18:20:53 -04:00
ice1712 ALSA: ice1712,ice1724: fix the kcontrol->id initialization 2023-06-14 11:15:24 +02:00
korg1212
lola
lx6464es ALSA: pci: lx6464es: fix a debug loop 2023-02-14 19:11:49 +01:00
mixart
nm256
oxygen ALSA: oxygen: Fix right channel of capture volume mixer 2024-01-25 15:27:41 -08:00
pcxhr
riptide
rme9652 ALSA: rme9652: use explicitly signed char 2022-10-25 15:15:15 +02:00
trident
vx222
ymfpci ALSA: ymfpci: Fix the missing snd_card_free() call at probe error 2023-08-30 16:11:06 +02:00
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c ALSA: cmipci: Fix kctl->id initialization 2023-06-14 11:15:24 +02:00
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c