]> git.ipfire.org Git - thirdparty/kernel/linux.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)
commit119b75c150773425a89033215eab4d15d4198f8b
tree3f919529db8931d4cbd5ebcf6bb236024e107178
parent265d1a90e4fb6d3264d8122fbd10760e5e733be6
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