]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek: Headphone volume is controlled by Front mixer
authorHui Wang <hui.wang@canonical.com>
Sat, 22 May 2021 03:47:41 +0000 (11:47 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 22 May 2021 06:48:47 +0000 (08:48 +0200)
commitf78ef001204ce185c6380c6dcff8206b283c1b8e
tree3f919529db8931d4cbd5ebcf6bb236024e107178
parentd35e85cc118d1166961c8fc68e2cf7130714d2ce
ALSA: hda/realtek: Headphone volume is controlled by Front mixer

On some ASUS and MSI machines, the audio codec is alc1220 and the
Headphone is connected to audio mixer 0xf and DAC 0x5, in theory
the Headphone volume is controlled by DAC 0x5 (Heapdhone Playback
Volume), but somehow it is controlled by DAC 0x2 (Front Playback
Volume), maybe this is a defect on the codec alc1220.

Because of this issue, the PA couldn't switch the headphone and
Lineout correctly, If we apply the quirk CLEVO_P950 to those machines,
the Lineout and Headphone will share the audio mixer 0xc and DAC 0x2,
and generate Headphone+LO mixer, then PA could handle them when
switching between them.

BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1206
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20210522034741.13415-1-hui.wang@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c