Skip to content

Commit 73e7161

Browse files
tuxedo-wsetiwai
authored andcommitted
ALSA: hda/realtek: Add quirk for Intel NUC 10
This adds a new SND_PCI_QUIRK(...) and applies it to the Intel NUC 10 devices. This fixes the issue of the devices not having audio input and output on the headset jack because the kernel does not recognize when something is plugged in. The new quirk was inspired by the quirk for the Intel NUC 8 devices, but it turned out that the NUC 10 uses another pin. This information was acquired by black box testing likely pins. Co-developed-by: Eckhart Mohr <e.mohr@tuxedocomputers.com> Signed-off-by: Eckhart Mohr <e.mohr@tuxedocomputers.com> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210302180414.23194-1-wse@tuxedocomputers.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 1304637 commit 73e7161

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎sound/pci/hda/patch_realtek.c‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6396,6 +6396,7 @@ enum {
63966396
ALC269_FIXUP_LEMOTE_A1802,
63976397
ALC269_FIXUP_LEMOTE_A190X,
63986398
ALC256_FIXUP_INTEL_NUC8_RUGGED,
6399+
ALC256_FIXUP_INTEL_NUC10,
63996400
ALC255_FIXUP_XIAOMI_HEADSET_MIC,
64006401
ALC274_FIXUP_HP_MIC,
64016402
ALC274_FIXUP_HP_HEADSET_MIC,
@@ -7783,6 +7784,15 @@ static const struct hda_fixup alc269_fixups[] = {
77837784
.chained = true,
77847785
.chain_id = ALC269_FIXUP_HEADSET_MODE
77857786
},
7787+
[ALC256_FIXUP_INTEL_NUC10] = {
7788+
.type = HDA_FIXUP_PINS,
7789+
.v.pins = (const struct hda_pintbl[]) {
7790+
{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
7791+
{ }
7792+
},
7793+
.chained = true,
7794+
.chain_id = ALC269_FIXUP_HEADSET_MODE
7795+
},
77867796
[ALC255_FIXUP_XIAOMI_HEADSET_MIC] = {
77877797
.type = HDA_FIXUP_VERBS,
77887798
.v.verbs = (const struct hda_verb[]) {
@@ -8236,6 +8246,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
82368246
SND_PCI_QUIRK(0x1c06, 0x2013, "Lemote A1802", ALC269_FIXUP_LEMOTE_A1802),
82378247
SND_PCI_QUIRK(0x1c06, 0x2015, "Lemote A190X", ALC269_FIXUP_LEMOTE_A190X),
82388248
SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
8249+
SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),
82398250

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

0 commit comments

Comments
 (0)