diff mbox series

[1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3

Message ID 20201222150459.9545-1-chiu@endlessos.org (mailing list archive)
State Accepted
Commit 6ca653e3f73a1af0f30dbf9c2c79d2897074989f
Headers show
Series [1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 | expand

Commit Message

Chris Chiu Dec. 22, 2020, 3:04 p.m. UTC
The Quanta NL3 laptop has both a headphone output jack and a headset
jack, on the right edge of the chassis.

The pin information suggests that both of these are at the Front.
The PulseAudio is confused to differentiate them so one of the jack
can neither get the jack sense working nor the audio output.

The ALC269_FIXUP_LIFEBOOK chained with ALC269_FIXUP_QUANTA_MUTE can
help to differentiate 2 jacks and get the 'Auto-Mute Mode' working
correctly.

Signed-off-by: Chris Chiu <chiu@endlessos.org>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Dec. 22, 2020, 4:45 p.m. UTC | #1
On Tue, 22 Dec 2020 16:04:58 +0100,
Chris Chiu wrote:
> 
> The Quanta NL3 laptop has both a headphone output jack and a headset
> jack, on the right edge of the chassis.
> 
> The pin information suggests that both of these are at the Front.
> The PulseAudio is confused to differentiate them so one of the jack
> can neither get the jack sense working nor the audio output.
> 
> The ALC269_FIXUP_LIFEBOOK chained with ALC269_FIXUP_QUANTA_MUTE can
> help to differentiate 2 jacks and get the 'Auto-Mute Mode' working
> correctly.
> 
> Signed-off-by: Chris Chiu <chiu@endlessos.org>

Applied now with Cc to stable.  Thanks.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8616c5624870..bb1010d78717 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8013,6 +8013,7 @@  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),
+	SND_PCI_QUIRK(0x152d, 0x1082, "Quanta NL3", ALC269_FIXUP_LIFEBOOK),
 	SND_PCI_QUIRK(0x1558, 0x1323, "Clevo N130ZU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1558, 0x1325, "System76 Darter Pro (darp5)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1558, 0x1401, "Clevo L140[CZ]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),