Skip to content

Commit fe6900b

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek - ALC897 headset MIC no sound
There is not have Headset Mic verb table in BIOS default. So, it will have recording issue from headset MIC. Add the verb table value without jack detect. It will turn on Headset Mic. Signed-off-by: Kailang Yang <kailang@realtek.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/719133a27d8844a890002cb817001dfa@realtek.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 3ddbe35 commit fe6900b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10738,6 +10738,7 @@ enum {
1073810738
ALC668_FIXUP_MIC_DET_COEF,
1073910739
ALC897_FIXUP_LENOVO_HEADSET_MIC,
1074010740
ALC897_FIXUP_HEADSET_MIC_PIN,
10741+
ALC897_FIXUP_HP_HSMIC_VERB,
1074110742
};
1074210743

1074310744
static const struct hda_fixup alc662_fixups[] = {
@@ -11157,6 +11158,13 @@ static const struct hda_fixup alc662_fixups[] = {
1115711158
.chained = true,
1115811159
.chain_id = ALC897_FIXUP_LENOVO_HEADSET_MIC
1115911160
},
11161+
[ALC897_FIXUP_HP_HSMIC_VERB] = {
11162+
.type = HDA_FIXUP_PINS,
11163+
.v.pins = (const struct hda_pintbl[]) {
11164+
{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
11165+
{ }
11166+
},
11167+
},
1116011168
};
1116111169

1116211170
static const struct snd_pci_quirk alc662_fixup_tbl[] = {
@@ -11182,6 +11190,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = {
1118211190
SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
1118311191
SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
1118411192
SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
11193+
SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB),
1118511194
SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2),
1118611195
SND_PCI_QUIRK(0x103c, 0x885f, "HP 288 Pro G8", ALC671_FIXUP_HP_HEADSET_MIC2),
1118711196
SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE),

0 commit comments

Comments
 (0)