Skip to content

Commit e620115

Browse files
David Henningssongregkh
authored andcommitted
ALSA: hda - Add quirk for external mic on Lifebook U904
commit 2041d56 upstream. According to the bug reporter (Данило Шеган), the external mic starts to work and has proper jack detection if only pin 0x19 is marked properly as an external headset mic. AlsaInfo at https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1328587/+attachment/4128991/+files/AlsaInfo.txt BugLink: https://bugs.launchpad.net/bugs/1328587 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ef56aa4 commit e620115

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
@@ -4114,6 +4114,7 @@ enum {
41144114
ALC269_FIXUP_HEADSET_MIC,
41154115
ALC269_FIXUP_QUANTA_MUTE,
41164116
ALC269_FIXUP_LIFEBOOK,
4117+
ALC269_FIXUP_LIFEBOOK_EXTMIC,
41174118
ALC269_FIXUP_AMIC,
41184119
ALC269_FIXUP_DMIC,
41194120
ALC269VB_FIXUP_AMIC,
@@ -4243,6 +4244,13 @@ static const struct hda_fixup alc269_fixups[] = {
42434244
.chained = true,
42444245
.chain_id = ALC269_FIXUP_QUANTA_MUTE
42454246
},
4247+
[ALC269_FIXUP_LIFEBOOK_EXTMIC] = {
4248+
.type = HDA_FIXUP_PINS,
4249+
.v.pins = (const struct hda_pintbl[]) {
4250+
{ 0x19, 0x01a1903c }, /* headset mic, with jack detect */
4251+
{ }
4252+
},
4253+
},
42464254
[ALC269_FIXUP_AMIC] = {
42474255
.type = HDA_FIXUP_PINS,
42484256
.v.pins = (const struct hda_pintbl[]) {
@@ -4716,6 +4724,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
47164724
SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
47174725
SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
47184726
SND_PCI_QUIRK(0x10cf, 0x1475, "Lifebook", ALC269_FIXUP_LIFEBOOK),
4727+
SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
47194728
SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
47204729
SND_PCI_QUIRK(0x17aa, 0x215e, "Thinkpad L512", ALC269_FIXUP_SKU_IGNORE),
47214730
SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),

0 commit comments

Comments
 (0)