History

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.

Jian-Hong Pan committed 6 years ago

Commit d858c701 parent 6c3171e1 file · +11 −0Browse files

Unified · Split

sound/pci/hda/patch_realtek.c+11−0
@@ -8612,6 +8612,7 @@ enum { · 8611 unmodified lines
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[] = { · 339 unmodified lines
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[] = { · 5 unmodified lines
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),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t