* [PATCH] ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
@ 2021-10-01 6:28 Chris Chiu
2021-10-01 7:00 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Chris Chiu @ 2021-10-01 6:28 UTC (permalink / raw)
To: tiwai, kailang, hui.wang, jhp; +Cc: alsa-devel, linux-kernel, Chris Chiu
The headphone mic is not working on Dell Latitude laptops with ALC3254.
The codec vendor id is 0x10ec0295 and share the same pincfg as defined
in ALC295_STANDARD_PINS. So the ALC269_FIXUP_DELL1_MIC_NO_PRESENCE will
be applied per alc269_pin_fixup_tbl[] but actually the headphone mic is
using NID 0x1b instead of 0x1a. The ALC269_FIXUP_DELL4_MIC_NO_PRESENCE
need to be applied instead.
Use ALC269_FIXUP_DELL4_MIC_NO_PRESENCE for particular models before
a generic fixup comes out.
Signed-off-by: Chris Chiu <chris.chiu@canonical.com>
---
sound/pci/hda/patch_realtek.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4407f7da57c4..70778aa137cf 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8452,6 +8452,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1028, 0x0a30, "Dell", ALC236_FIXUP_DELL_AIO_HEADSET_MIC),
SND_PCI_QUIRK(0x1028, 0x0a58, "Dell", ALC255_FIXUP_DELL_HEADSET_MIC),
SND_PCI_QUIRK(0x1028, 0x0a61, "Dell XPS 15 9510", ALC289_FIXUP_DUAL_SPK),
+ SND_PCI_QUIRK(0x1028, 0x0a9d, "Dell Latitude 5430", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE),
+ SND_PCI_QUIRK(0x1028, 0x0a9e, "Dell Latitude 5430", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
2021-10-01 6:28 [PATCH] ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254 Chris Chiu
@ 2021-10-01 7:00 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-10-01 7:00 UTC (permalink / raw)
To: Chris Chiu; +Cc: tiwai, kailang, hui.wang, jhp, alsa-devel, linux-kernel
On Fri, 01 Oct 2021 08:28:56 +0200,
Chris Chiu wrote:
>
> The headphone mic is not working on Dell Latitude laptops with ALC3254.
> The codec vendor id is 0x10ec0295 and share the same pincfg as defined
> in ALC295_STANDARD_PINS. So the ALC269_FIXUP_DELL1_MIC_NO_PRESENCE will
> be applied per alc269_pin_fixup_tbl[] but actually the headphone mic is
> using NID 0x1b instead of 0x1a. The ALC269_FIXUP_DELL4_MIC_NO_PRESENCE
> need to be applied instead.
>
> Use ALC269_FIXUP_DELL4_MIC_NO_PRESENCE for particular models before
> a generic fixup comes out.
>
> Signed-off-by: Chris Chiu <chris.chiu@canonical.com>
Thanks, applied.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-01 7:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 6:28 [PATCH] ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254 Chris Chiu
2021-10-01 7:00 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®