ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC

Message ID 20230223074749.1026060-1-l.stelmach@samsung.com
State New
Headers
Series ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC |

Commit Message

Lukasz Stelmach Feb. 23, 2023, 7:47 a.m. UTC
  HP EliteDesk 800 G6 Tower PC (103c:870c) requires a quirk for enabling
headset-mic.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

Verified by

 echo 0x19 0x01a1913c > /sys/class/sound/card0/device/sound/card0/hwC0D0/user_pin_configs
 echo 1 > /sys/class/sound/card0/device/sound/card0/hwC0D0/reconfig
  

Comments

Lukasz Stelmach Feb. 23, 2023, 7:50 a.m. UTC | #1
It was <2023-02-23 czw 08:47>, when Łukasz Stelmach wrote:
> HP EliteDesk 800 G6 Tower PC (103c:870c) requires a quirk for enabling
> headset-mic.
>
> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=217008

> ---
>  sound/pci/hda/patch_realtek.c | 1 +
>  1 file changed, 1 insertion(+)
>
> Verified by
>
>  echo 0x19 0x01a1913c > /sys/class/sound/card0/device/sound/card0/hwC0D0/user_pin_configs
>  echo 1 > /sys/class/sound/card0/device/sound/card0/hwC0D0/reconfig 
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 6fab7c8fc19a..ac196db573e4 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -11599,6 +11599,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, 0x870c, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
>  	SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
>  	SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
>  	SND_PCI_QUIRK(0x103c, 0x877e, "HP 288 Pro G6", ALC671_FIXUP_HP_HEADSET_MIC2),
  
Takashi Iwai March 3, 2023, 1:28 p.m. UTC | #2
On Thu, 23 Feb 2023 08:47:48 +0100,
Łukasz Stelmach wrote:
> 
> HP EliteDesk 800 G6 Tower PC (103c:870c) requires a quirk for enabling
> headset-mic.
> 
> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>

Thanks, applied now.


Takashi
  

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 6fab7c8fc19a..ac196db573e4 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -11599,6 +11599,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, 0x870c, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
 	SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
 	SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
 	SND_PCI_QUIRK(0x103c, 0x877e, "HP 288 Pro G6", ALC671_FIXUP_HP_HEADSET_MIC2),