Skip to content

Commit 8bbe4d2

Browse files
David Henningssongregkh
authored andcommitted
ALSA: hda - Fix microphone for Sony VAIO Pro 13 (Haswell model)
commit 88cfcf8 upstream. The external mic showed up with a precense detect of "always present", essentially disabling the internal mic. Therefore turn off presence detection for this pin. Note: The external mic seems not yet working, but an internal mic is certainly better than no mic at all. BugLink: https://bugs.launchpad.net/bugs/1227093 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 a9c7de2 commit 8bbe4d2

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
@@ -3331,6 +3331,7 @@ enum {
33313331
ALC269_FIXUP_HP_GPIO_LED,
33323332
ALC269_FIXUP_INV_DMIC,
33333333
ALC269_FIXUP_LENOVO_DOCK,
3334+
ALC286_FIXUP_SONY_MIC_NO_PRESENCE,
33343335
ALC269_FIXUP_PINCFG_NO_HP_TO_LINEOUT,
33353336
ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
33363337
ALC269_FIXUP_DELL2_MIC_NO_PRESENCE,
@@ -3529,6 +3530,13 @@ static const struct hda_fixup alc269_fixups[] = {
35293530
.type = HDA_FIXUP_FUNC,
35303531
.v.func = alc_fixup_headset_mode_no_hp_mic,
35313532
},
3533+
[ALC286_FIXUP_SONY_MIC_NO_PRESENCE] = {
3534+
.type = HDA_FIXUP_PINS,
3535+
.v.pins = (const struct hda_pintbl[]) {
3536+
{ 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
3537+
{ }
3538+
},
3539+
},
35323540
[ALC269_FIXUP_ASUS_X101_FUNC] = {
35333541
.type = HDA_FIXUP_FUNC,
35343542
.v.func = alc269_fixup_x101_headset_mic,
@@ -3651,6 +3659,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
36513659
SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
36523660
SND_PCI_QUIRK(0x1043, 0x83ce, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
36533661
SND_PCI_QUIRK(0x1043, 0x8516, "ASUS X101CH", ALC269_FIXUP_ASUS_X101),
3662+
SND_PCI_QUIRK(0x104d, 0x90b6, "Sony VAIO Pro 13", ALC286_FIXUP_SONY_MIC_NO_PRESENCE),
36543663
SND_PCI_QUIRK(0x104d, 0x9073, "Sony VAIO", ALC275_FIXUP_SONY_VAIO_GPIO2),
36553664
SND_PCI_QUIRK(0x104d, 0x907b, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
36563665
SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),

0 commit comments

Comments
 (0)