Skip to content

Commit 8c8967a

Browse files
dsdtiwai
authored andcommitted
ALSA: hda/realtek - Enable headset mic on Asus MJ401TA
On Asus MJ401TA (with Realtek ALC256), the headset mic is connected to pin 0x19, with default configuration value 0x411111f0 (indicating no physical connection). Enable this by quirking the pin. Mic jack detection was also tested and found to be working. This enables use of the headset mic on this product. Signed-off-by: Daniel Drake <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7571b6a commit 8c8967a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5881,6 +5881,7 @@ enum {
58815881
ALC225_FIXUP_WYSE_AUTO_MUTE,
58825882
ALC225_FIXUP_WYSE_DISABLE_MIC_VREF,
58835883
ALC286_FIXUP_ACER_AIO_HEADSET_MIC,
5884+
ALC256_FIXUP_ASUS_HEADSET_MIC,
58845885
ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
58855886
ALC299_FIXUP_PREDATOR_SPK,
58865887
ALC294_FIXUP_ASUS_INTSPK_HEADSET_MIC,
@@ -6930,6 +6931,15 @@ static const struct hda_fixup alc269_fixups[] = {
69306931
.chained = true,
69316932
.chain_id = ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE
69326933
},
6934+
[ALC256_FIXUP_ASUS_HEADSET_MIC] = {
6935+
.type = HDA_FIXUP_PINS,
6936+
.v.pins = (const struct hda_pintbl[]) {
6937+
{ 0x19, 0x03a11020 }, /* headset mic with jack detect */
6938+
{ }
6939+
},
6940+
.chained = true,
6941+
.chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE
6942+
},
69336943
[ALC256_FIXUP_ASUS_MIC_NO_PRESENCE] = {
69346944
.type = HDA_FIXUP_PINS,
69356945
.v.pins = (const struct hda_pintbl[]) {
@@ -7126,6 +7136,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
71267136
SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
71277137
SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC),
71287138
SND_PCI_QUIRK(0x1043, 0x17d1, "ASUS UX431FL", ALC294_FIXUP_ASUS_INTSPK_HEADSET_MIC),
7139+
SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC),
71297140
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
71307141
SND_PCI_QUIRK(0x1043, 0x1a30, "ASUS X705UD", ALC256_FIXUP_ASUS_MIC),
71317142
SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),

0 commit comments

Comments
 (0)