Skip to content

Commit d8ae458

Browse files
Chris Chiutiwai
authored andcommitted
ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN
The known ALC256_FIXUP_ASUS_MIC fixup can fix the headphone jack sensing and enable use of the internal microphone on this laptop X542UN. However, it's ALC294 so create a new fixup named ALC294_FIXUP_ASUS_MIC to avoid confusion. Signed-off-by: Jian-Hong Pan <[email protected]> Signed-off-by: Daniel Drake <[email protected]> Signed-off-by: Chris Chiu <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent fa9c98e commit d8ae458

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5520,6 +5520,7 @@ enum {
55205520
ALC285_FIXUP_LENOVO_HEADPHONE_NOISE,
55215521
ALC295_FIXUP_HP_AUTO_MUTE,
55225522
ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
5523+
ALC294_FIXUP_ASUS_MIC,
55235524
};
55245525

55255526
static const struct hda_fixup alc269_fixups[] = {
@@ -6408,6 +6409,16 @@ static const struct hda_fixup alc269_fixups[] = {
64086409
.chained = true,
64096410
.chain_id = ALC269_FIXUP_HEADSET_MIC
64106411
},
6412+
[ALC294_FIXUP_ASUS_MIC] = {
6413+
.type = HDA_FIXUP_PINS,
6414+
.v.pins = (const struct hda_pintbl[]) {
6415+
{ 0x13, 0x90a60160 }, /* use as internal mic */
6416+
{ 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
6417+
{ }
6418+
},
6419+
.chained = true,
6420+
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
6421+
},
64116422
};
64126423

64136424
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7157,6 +7168,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
71577168
SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
71587169
ALC292_STANDARD_PINS,
71597170
{0x13, 0x90a60140}),
7171+
SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_MIC,
7172+
{0x14, 0x90170110},
7173+
{0x1b, 0x90a70130},
7174+
{0x21, 0x04211020}),
71607175
SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
71617176
ALC295_STANDARD_PINS,
71627177
{0x17, 0x21014020},

0 commit comments

Comments
 (0)