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
8612 ALC669_FIXUP_ACER_ASPIRE_ETHOS,8612 ALC669_FIXUP_ACER_ASPIRE_ETHOS,
8613 ALC669_FIXUP_ACER_ASPIRE_ETHOS_HEADSET,8613 ALC669_FIXUP_ACER_ASPIRE_ETHOS_HEADSET,
8614 ALC671_FIXUP_HP_HEADSET_MIC2,8614 ALC671_FIXUP_HP_HEADSET_MIC2,
8615 ALC662_FIXUP_ACER_X2660G_HEADSET_MODE,
8615};8616};
8616 8617
8617static const struct hda_fixup alc662_fixups[] = {8618static const struct hda_fixup alc662_fixups[] = {
@@ -8957,6 +8958,15 @@ static const struct hda_fixup alc662_fixups[] = { · 339 unmodified lines
8957 .type = HDA_FIXUP_FUNC,8958 .type = HDA_FIXUP_FUNC,
8958 .v.func = alc671_fixup_hp_headset_mic2,8959 .v.func = alc671_fixup_hp_headset_mic2,
8959 },8960 },
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 },
8960};8970};
8961 8971
8962static const struct snd_pci_quirk alc662_fixup_tbl[] = {8972static const struct snd_pci_quirk alc662_fixup_tbl[] = {
@@ -8968,6 +8978,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { · 5 unmodified lines
8968 SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC),8978 SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC),
8969 SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),8979 SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),
8970 SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),8980 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),
8971 SND_PCI_QUIRK(0x1028, 0x05d8, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),8982 SND_PCI_QUIRK(0x1028, 0x05d8, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
8972 SND_PCI_QUIRK(0x1028, 0x05db, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),8983 SND_PCI_QUIRK(0x1028, 0x05db, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE),
8973 SND_PCI_QUIRK(0x1028, 0x05fe, "Dell XPS 15", ALC668_FIXUP_DELL_XPS13),8984 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