Skip to content

Commit 88cfcf8

Browse files
David Henningssontiwai
authored andcommitted
ALSA: hda - Fix microphone for Sony VAIO Pro 13 (Haswell model)
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. Cc: [email protected] BugLink: https://bugs.launchpad.net/bugs/1227093 Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent c6cc3d5 commit 88cfcf8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3528,6 +3528,7 @@ enum {
35283528
ALC269_FIXUP_HP_GPIO_LED,
35293529
ALC269_FIXUP_INV_DMIC,
35303530
ALC269_FIXUP_LENOVO_DOCK,
3531+
ALC286_FIXUP_SONY_MIC_NO_PRESENCE,
35313532
ALC269_FIXUP_PINCFG_NO_HP_TO_LINEOUT,
35323533
ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
35333534
ALC269_FIXUP_DELL2_MIC_NO_PRESENCE,
@@ -3740,6 +3741,13 @@ static const struct hda_fixup alc269_fixups[] = {
37403741
.type = HDA_FIXUP_FUNC,
37413742
.v.func = alc_fixup_headset_mode_no_hp_mic,
37423743
},
3744+
[ALC286_FIXUP_SONY_MIC_NO_PRESENCE] = {
3745+
.type = HDA_FIXUP_PINS,
3746+
.v.pins = (const struct hda_pintbl[]) {
3747+
{ 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
3748+
{ }
3749+
},
3750+
},
37433751
[ALC269_FIXUP_ASUS_X101_FUNC] = {
37443752
.type = HDA_FIXUP_FUNC,
37453753
.v.func = alc269_fixup_x101_headset_mic,
@@ -3894,6 +3902,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
38943902
SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
38953903
SND_PCI_QUIRK(0x1043, 0x83ce, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
38963904
SND_PCI_QUIRK(0x1043, 0x8516, "ASUS X101CH", ALC269_FIXUP_ASUS_X101),
3905+
SND_PCI_QUIRK(0x104d, 0x90b6, "Sony VAIO Pro 13", ALC286_FIXUP_SONY_MIC_NO_PRESENCE),
38973906
SND_PCI_QUIRK(0x104d, 0x9073, "Sony VAIO", ALC275_FIXUP_SONY_VAIO_GPIO2),
38983907
SND_PCI_QUIRK(0x104d, 0x907b, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
38993908
SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),

0 commit comments

Comments
 (0)