]> git.itanic.dy.fi Git - linux-stable/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:22:00 +0000 (18:22 -0400)
commit4266f6e72620f943ad9015d8d98e331175be5304
treec5cb2896e2a03f38103d4b86f7f19da8b83cdd8f
parent239174535dba11f7b83de0eaaa27909024f8c185
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