Skip to content

Commit 8b33a13

Browse files
starnighttiwai
authored andcommitted
ALSA: hda/realtek - Enable the headset of ASUS B9450FA with ALC294
A headset on the laptop like ASUS B9450FA does not work, until quirk ALC294_FIXUP_ASUS_HPE is applied. Signed-off-by: Jian-Hong Pan <[email protected]> Signed-off-by: Kailang Yang <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 0d45e86 commit 8b33a13

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5922,6 +5922,7 @@ enum {
59225922
ALC294_FIXUP_SPK2_TO_DAC1,
59235923
ALC294_FIXUP_ASUS_DUAL_SPK,
59245924
ALC285_FIXUP_THINKPAD_HEADSET_JACK,
5925+
ALC294_FIXUP_ASUS_HPE,
59255926
};
59265927

59275928
static const struct hda_fixup alc269_fixups[] = {
@@ -7049,6 +7050,17 @@ static const struct hda_fixup alc269_fixups[] = {
70497050
.chained = true,
70507051
.chain_id = ALC285_FIXUP_SPEAKER2_TO_DAC1
70517052
},
7053+
[ALC294_FIXUP_ASUS_HPE] = {
7054+
.type = HDA_FIXUP_VERBS,
7055+
.v.verbs = (const struct hda_verb[]) {
7056+
/* Set EAPD high */
7057+
{ 0x20, AC_VERB_SET_COEF_INDEX, 0x0f },
7058+
{ 0x20, AC_VERB_SET_PROC_COEF, 0x7774 },
7059+
{ }
7060+
},
7061+
.chained = true,
7062+
.chain_id = ALC294_FIXUP_ASUS_HEADSET_MIC
7063+
},
70527064
};
70537065

70547066
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7214,6 +7226,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
72147226
SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC),
72157227
SND_PCI_QUIRK(0x1043, 0x17d1, "ASUS UX431FL", ALC294_FIXUP_ASUS_DUAL_SPK),
72167228
SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC),
7229+
SND_PCI_QUIRK(0x1043, 0x19ce, "ASUS B9450FA", ALC294_FIXUP_ASUS_HPE),
72177230
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
72187231
SND_PCI_QUIRK(0x1043, 0x1a30, "ASUS X705UD", ALC256_FIXUP_ASUS_MIC),
72197232
SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),

0 commit comments

Comments
 (0)