Skip to content

Commit d858c70

Browse files
starnighttiwai
authored andcommitted
ALSA: hda/realtek - Enable headset mic of Acer X2660G with ALC662
The Acer desktop X2660G with ALC662 can't detect the headset microphone until ALC662_FIXUP_ACER_X2660G_HEADSET_MODE quirk applied. Signed-off-by: Jian-Hong Pan <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 6c3171e commit d858c70

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
@@ -8612,6 +8612,7 @@ enum {
86128612
ALC669_FIXUP_ACER_ASPIRE_ETHOS,
86138613
ALC669_FIXUP_ACER_ASPIRE_ETHOS_HEADSET,
86148614
ALC671_FIXUP_HP_HEADSET_MIC2,
8615+
ALC662_FIXUP_ACER_X2660G_HEADSET_MODE,
86158616
};
86168617

86178618
static const struct hda_fixup alc662_fixups[] = {
@@ -8957,6 +8958,15 @@ static const struct hda_fixup alc662_fixups[] = {
89578958
.type = HDA_FIXUP_FUNC,
89588959
.v.func = alc671_fixup_hp_headset_mic2,
89598960
},
8961+
[ALC662_FIXUP_ACER_X2660G_HEADSET_MODE] = {
8962+
.type = HDA_FIXUP_PINS,
8963+
.v.pins = (const struct hda_pintbl[]) {
8964+
{ 0x1a, 0x02a1113c }, /* use as headset mic, without its own jack detect */
8965+
{ }
8966+
},
8967+
.chained = true,
8968+
.chain_id = ALC662_FIXUP_USI_FUNC
8969+
},
89608970
};
89618971

89628972
static const struct snd_pci_quirk alc662_fixup_tbl[] = {
@@ -8968,6 +8978,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = {
89688978
SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC),
89698979
SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),
89708980
SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
8981+
SND_PCI_QUIRK(0x1025, 0x124e, "Acer 2660G", ALC662_FIXUP_ACER_X2660G_HEADSET_MODE),
89718982
SND_PCI_QUIRK(0x1028, 0x05d8, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
89728983
SND_PCI_QUIRK(0x1028, 0x05db, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
89738984
SND_PCI_QUIRK(0x1028, 0x05fe, "Dell XPS 15", ALC668_FIXUP_DELL_XPS13),

0 commit comments

Comments
 (0)