[alsa-devel] [PATCH] ALSA: hda - Add quirk for external mic on Lifebook U904
Takashi Iwai
tiwai at suse.de
Fri Jun 13 11:21:31 CEST 2014
At Fri, 13 Jun 2014 11:15:44 +0200,
David Henningsson wrote:
>
> 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
>
> Cc: stable at vger.kernel.org
> BugLink: https://bugs.launchpad.net/bugs/1328587
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
Thanks, applied.
Takashi
> ---
> sound/pci/hda/patch_realtek.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 9c095fa..89af62f 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -4246,6 +4246,7 @@ enum {
> ALC269_FIXUP_HEADSET_MIC,
> ALC269_FIXUP_QUANTA_MUTE,
> ALC269_FIXUP_LIFEBOOK,
> + ALC269_FIXUP_LIFEBOOK_EXTMIC,
> ALC269_FIXUP_AMIC,
> ALC269_FIXUP_DMIC,
> ALC269VB_FIXUP_AMIC,
> @@ -4383,6 +4384,13 @@ static const struct hda_fixup alc269_fixups[] = {
> .chained = true,
> .chain_id = ALC269_FIXUP_QUANTA_MUTE
> },
> + [ALC269_FIXUP_LIFEBOOK_EXTMIC] = {
> + .type = HDA_FIXUP_PINS,
> + .v.pins = (const struct hda_pintbl[]) {
> + { 0x19, 0x01a1903c }, /* headset mic, with jack detect */
> + { }
> + },
> + },
> [ALC269_FIXUP_AMIC] = {
> .type = HDA_FIXUP_PINS,
> .v.pins = (const struct hda_pintbl[]) {
> @@ -4844,6 +4852,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
> SND_PCI_QUIRK(0x104d, 0x9099, "Sony VAIO S13", ALC275_FIXUP_SONY_DISABLE_AAMIX),
> SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
> SND_PCI_QUIRK(0x10cf, 0x1475, "Lifebook", ALC269_FIXUP_LIFEBOOK),
> + SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
> SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
> SND_PCI_QUIRK(0x17aa, 0x215e, "Thinkpad L512", ALC269_FIXUP_SKU_IGNORE),
> SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
> --
> 1.9.1
>
More information about the Alsa-devel
mailing list