2023-01-03 10:06:37

by Chris Chiu

[permalink] [raw]
Subject: [PATCH] ALSA: hda - Enable headset mic on another Dell laptop with ALC3254

There is another Dell Latitude laptop (1028:0c03) with Realtek
codec ALC3254 which needs the ALC269_FIXUP_DELL4_MIC_NO_PRESENCE
instead of the default matched ALC269_FIXUP_DELL1_MIC_NO_PRESENCE.
Apply correct fixup for this particular model to enable headset mic.

Signed-off-by: Chris Chiu <[email protected]>
---
sound/pci/hda/patch_realtek.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3794b522c222..f75d26acf5ee 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9239,6 +9239,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1028, 0x0b1a, "Dell Precision 5570", ALC289_FIXUP_DUAL_SPK),
SND_PCI_QUIRK(0x1028, 0x0b37, "Dell Inspiron 16 Plus 7620 2-in-1", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS),
SND_PCI_QUIRK(0x1028, 0x0b71, "Dell Inspiron 16 Plus 7620", ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS),
+ SND_PCI_QUIRK(0x1028, 0x0c03, "Dell Precision 5340", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x0c19, "Dell Precision 3340", ALC236_FIXUP_DELL_DUAL_CODECS),
SND_PCI_QUIRK(0x1028, 0x0c1a, "Dell Precision 3340", ALC236_FIXUP_DELL_DUAL_CODECS),
SND_PCI_QUIRK(0x1028, 0x0c1b, "Dell Precision 3440", ALC236_FIXUP_DELL_DUAL_CODECS),
--
2.25.1


2023-01-03 15:50:50

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH] ALSA: hda - Enable headset mic on another Dell laptop with ALC3254

On Tue, 03 Jan 2023 10:53:32 +0100,
Chris Chiu wrote:
>
> There is another Dell Latitude laptop (1028:0c03) with Realtek
> codec ALC3254 which needs the ALC269_FIXUP_DELL4_MIC_NO_PRESENCE
> instead of the default matched ALC269_FIXUP_DELL1_MIC_NO_PRESENCE.
> Apply correct fixup for this particular model to enable headset mic.
>
> Signed-off-by: Chris Chiu <[email protected]>

Thanks, applied now.


Takashi