diff mbox series

ALSA: hda/realtek - The front Mic on a HP machine doesn't work

Message ID 20201008105645.65505-1-jeremy.szu@canonical.com (mailing list archive)
State Accepted
Commit 148ebf548a1af366fc797fcc7d03f0bb92b12a79
Headers show
Series ALSA: hda/realtek - The front Mic on a HP machine doesn't work | expand

Commit Message

Jeremy Szu Oct. 8, 2020, 10:56 a.m. UTC
On a HP ZCentral, the front Mic could not be detected.

The codec of the HP ZCentrol is alc671 and it needs to override the pin
configuration to enable the headset mic.

Signed-off-by: Jeremy Szu <jeremy.szu@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Oct. 8, 2020, 2:27 p.m. UTC | #1
On Thu, 08 Oct 2020 12:56:44 +0200,
Jeremy Szu wrote:
> 
> On a HP ZCentral, the front Mic could not be detected.
> 
> The codec of the HP ZCentrol is alc671 and it needs to override the pin
> configuration to enable the headset mic.
> 
> Signed-off-by: Jeremy Szu <jeremy.szu@canonical.com>

Applied now.  Thanks.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d4f17b465892..add79ed08bdb 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9622,6 +9622,7 @@  static const struct snd_pci_quirk alc662_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
+	SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
 	SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE),
 	SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_ASUS_Nx50),
 	SND_PCI_QUIRK(0x1043, 0x13df, "Asus N550JX", ALC662_FIXUP_BASS_1A),