]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops
authorAthaariq Ardhiansyah <foss@athaariq.my.id>
Sun, 10 Mar 2024 13:58:44 +0000 (20:58 +0700)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:57 +0000 (18:19 -0400)
commitcf850ab86f6f229d98584b96bcf59be118e187f9
treeb30886fbdc7a3113a077c5dac652e9a94a5b71df
parente45deec35bf7f1f4f992a707b2d04a8c162f2240
ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops

[ Upstream commit c062166995c9e57d5cd508b332898f79da319802 ]

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>
sound/pci/hda/patch_realtek.c