Skip to content

Commit 615966a

Browse files
Chris Chiutiwai
authored andcommitted
ALSA: hda/realtek - Fix headset mic on several Asus laptops with ALC255
Add pin quirks to enable use of the headset mic on Asus Z550MA, X540LA, X540LJ, X556UR, Z450LA, and X441NC. Signed-off-by: Chris Chiu <[email protected]> Signed-off-by: Daniel Drake <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 5824ce8 commit 615966a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4834,6 +4834,7 @@ enum {
48344834
ALC269_FIXUP_THINKPAD_ACPI,
48354835
ALC269_FIXUP_DMIC_THINKPAD_ACPI,
48364836
ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
4837+
ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
48374838
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
48384839
ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
48394840
ALC255_FIXUP_HEADSET_MODE,
@@ -5297,6 +5298,15 @@ static const struct hda_fixup alc269_fixups[] = {
52975298
.chained = true,
52985299
.chain_id = ALC255_FIXUP_HEADSET_MODE
52995300
},
5301+
[ALC255_FIXUP_ASUS_MIC_NO_PRESENCE] = {
5302+
.type = HDA_FIXUP_PINS,
5303+
.v.pins = (const struct hda_pintbl[]) {
5304+
{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
5305+
{ }
5306+
},
5307+
.chained = true,
5308+
.chain_id = ALC255_FIXUP_HEADSET_MODE
5309+
},
53005310
[ALC255_FIXUP_DELL1_MIC_NO_PRESENCE] = {
53015311
.type = HDA_FIXUP_PINS,
53025312
.v.pins = (const struct hda_pintbl[]) {
@@ -5689,6 +5699,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
56895699
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
56905700
SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),
56915701
SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
5702+
SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
5703+
SND_PCI_QUIRK(0x1043, 0x10d0, "ASUS X540LA/X540LJ", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
5704+
SND_PCI_QUIRK(0x1043, 0x11c0, "ASUS X556UR", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
56925705
SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC),
56935706
SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC),
56945707
SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
@@ -5865,6 +5878,14 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
58655878
{0x12, 0x90a601c0},
58665879
{0x14, 0x90171120},
58675880
{0x21, 0x02211030}),
5881+
SND_HDA_PIN_QUIRK(0x10ec0255, 0x1043, "ASUS", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
5882+
{0x14, 0x90170110},
5883+
{0x1b, 0x90a70130},
5884+
{0x21, 0x03211020}),
5885+
SND_HDA_PIN_QUIRK(0x10ec0255, 0x1043, "ASUS", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
5886+
{0x1a, 0x90a70130},
5887+
{0x1b, 0x90170110},
5888+
{0x21, 0x03211020}),
58685889
SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
58695890
ALC225_STANDARD_PINS,
58705891
{0x12, 0xb7a60130},

0 commit comments

Comments
 (0)