All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] ALSA: hda/realtek - Add support for Acer Aspire E5-475 headset mic
@ 2017-02-28 20:17 Daniel Drake
  2017-02-28 20:17 ` [PATCH 2/5] ALSA: hda/realtek - Fix headset mic on several Asus laptops with ALC255 Daniel Drake
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Daniel Drake @ 2017-02-28 20:17 UTC (permalink / raw)
  To: perex, tiwai; +Cc: linux, alsa-devel, chiu

From: Chris Chiu <chiu@endlessm.com>

The Acer laptop Aspire E5-475 with ALC255 can't detect the headset
microphone until we modify a pin definition.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Daniel Drake <drake@endlessm.com>
---
 sound/pci/hda/patch_realtek.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e2da176..2b1f74f9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4833,6 +4833,7 @@ enum {
 	ALC290_FIXUP_SUBWOOFER_HSJACK,
 	ALC269_FIXUP_THINKPAD_ACPI,
 	ALC269_FIXUP_DMIC_THINKPAD_ACPI,
+	ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
 	ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
 	ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
 	ALC255_FIXUP_HEADSET_MODE,
@@ -5287,6 +5288,15 @@ static const struct hda_fixup alc269_fixups[] = {
 		.chained = true,
 		.chain_id = ALC269_FIXUP_THINKPAD_ACPI,
 	},
+	[ALC255_FIXUP_ACER_MIC_NO_PRESENCE] = {
+		.type = HDA_FIXUP_PINS,
+		.v.pins = (const struct hda_pintbl[]) {
+			{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
+			{ }
+		},
+		.chained = true,
+		.chain_id = ALC255_FIXUP_HEADSET_MODE
+	},
 	[ALC255_FIXUP_DELL1_MIC_NO_PRESENCE] = {
 		.type = HDA_FIXUP_PINS,
 		.v.pins = (const struct hda_pintbl[]) {
@@ -5852,6 +5862,10 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
 	{0x21, 0x03211020}
 
 static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
+	SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
+		{0x12, 0x90a601c0},
+		{0x14, 0x90171120},
+		{0x21, 0x02211030}),
 	SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC225_STANDARD_PINS,
 		{0x12, 0xb7a60130},
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-28 21:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-28 20:17 [PATCH 1/5] ALSA: hda/realtek - Add support for Acer Aspire E5-475 headset mic Daniel Drake
2017-02-28 20:17 ` [PATCH 2/5] ALSA: hda/realtek - Fix headset mic on several Asus laptops with ALC255 Daniel Drake
2017-02-28 20:17 ` [PATCH 3/5] ALSA: hda/realtek - Fix headset and mic on several Asus laptops with ALC256 Daniel Drake
2017-02-28 20:17 ` [PATCH 4/5] ALSA: hda/realtek - Fix headset mic and speaker on Asus X441SA/X441UV Daniel Drake
2017-02-28 20:17 ` [PATCH 5/5] ALSA: hda/realtek - Fix speaker support for Asus AiO ZN270IE Daniel Drake
2017-02-28 21:14 ` [PATCH 1/5] ALSA: hda/realtek - Add support for Acer Aspire E5-475 headset mic Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.