Skip to content

Commit e2d2fde

Browse files
khfengtiwai
authored andcommitted
ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged
The jack on Intel NUC 8 Rugged rear panel doesn't work. The spec [1] states that the jack supports both headphone and microphone, so override a Pin Complex which has both Amp-In and Amp-Out to make the jack work. Node 0x1b fits the requirement, and user confirmed the jack now works with new pin config. [1] https://www.intel.com/content/dam/support/us/en/documents/mini-pcs/NUC8CCH_TechProdSpec.pdf BugLink: https://bugs.launchpad.net/bugs/1875199 Signed-off-by: Kai-Heng Feng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent fec9008 commit e2d2fde

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
@@ -6159,6 +6159,7 @@ enum {
61596159
ALC269_FIXUP_CZC_L101,
61606160
ALC269_FIXUP_LEMOTE_A1802,
61616161
ALC269_FIXUP_LEMOTE_A190X,
6162+
ALC256_FIXUP_INTEL_NUC8_RUGGED,
61626163
};
61636164

61646165
static const struct hda_fixup alc269_fixups[] = {
@@ -7480,6 +7481,15 @@ static const struct hda_fixup alc269_fixups[] = {
74807481
},
74817482
.chain_id = ALC269_FIXUP_DMIC,
74827483
},
7484+
[ALC256_FIXUP_INTEL_NUC8_RUGGED] = {
7485+
.type = HDA_FIXUP_PINS,
7486+
.v.pins = (const struct hda_pintbl[]) {
7487+
{ 0x1b, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7488+
{ }
7489+
},
7490+
.chained = true,
7491+
.chain_id = ALC269_FIXUP_HEADSET_MODE
7492+
},
74837493
};
74847494

74857495
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7777,6 +7787,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
77777787
SND_PCI_QUIRK(0x10ec, 0x118c, "Medion EE4254 MD62100", ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE),
77787788
SND_PCI_QUIRK(0x1c06, 0x2013, "Lemote A1802", ALC269_FIXUP_LEMOTE_A1802),
77797789
SND_PCI_QUIRK(0x1c06, 0x2015, "Lemote A190X", ALC269_FIXUP_LEMOTE_A190X),
7790+
SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
77807791

77817792
#if 0
77827793
/* Below is a quirk table taken from the old code.

0 commit comments

Comments
 (0)