Skip to content

Commit b84e843

Browse files
PeiSen Houtiwai
authored andcommitted
ALSA: hda/realtek - Enable jack detection function for Intel ALC700
Intel ALC 700 needs this patch for jack detection function. Because ALC700's jack detect function defaults is disable. So alc700 needs pathc to enable jack detection function. Signed-off-by: PeiSen Hou <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 2a32a4d commit b84e843

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5263,6 +5263,7 @@ enum {
52635263
ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE,
52645264
ALC233_FIXUP_LENOVO_MULTI_CODECS,
52655265
ALC294_FIXUP_LENOVO_MIC_LOCATION,
5266+
ALC700_FIXUP_INTEL_REFERENCE,
52665267
};
52675268

52685269
static const struct hda_fixup alc269_fixups[] = {
@@ -6058,6 +6059,21 @@ static const struct hda_fixup alc269_fixups[] = {
60586059
{ }
60596060
},
60606061
},
6062+
[ALC700_FIXUP_INTEL_REFERENCE] = {
6063+
.type = HDA_FIXUP_VERBS,
6064+
.v.verbs = (const struct hda_verb[]) {
6065+
/* Enables internal speaker */
6066+
{0x20, AC_VERB_SET_COEF_INDEX, 0x45},
6067+
{0x20, AC_VERB_SET_PROC_COEF, 0x5289},
6068+
{0x20, AC_VERB_SET_COEF_INDEX, 0x4A},
6069+
{0x20, AC_VERB_SET_PROC_COEF, 0x001b},
6070+
{0x58, AC_VERB_SET_COEF_INDEX, 0x00},
6071+
{0x58, AC_VERB_SET_PROC_COEF, 0x3888},
6072+
{0x20, AC_VERB_SET_COEF_INDEX, 0x6f},
6073+
{0x20, AC_VERB_SET_PROC_COEF, 0x2c0b},
6074+
{}
6075+
}
6076+
},
60616077
};
60626078

60636079
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6209,6 +6225,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
62096225
SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
62106226
SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
62116227
SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
6228+
SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel Reference board", ALC700_FIXUP_INTEL_REFERENCE),
62126229
SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
62136230
SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
62146231
SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),

0 commit comments

Comments
 (0)