Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
@ 2018-04-19  5:29 Hui Wang
  2018-04-19  5:29 ` [PATCH 2/2] ALSA: hda/realtek - adjust the location of one mic Hui Wang
  2018-04-19  9:46 ` [PATCH 1/2] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Hui Wang @ 2018-04-19  5:29 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel, stable, hui.wang

Otherwise, the pin will be regarded as microphone, and the jack name
is "Mic Phantom", it is always on in the pulseaudio even nothing is
plugged into the jack. So the UI is confusing to users since the
microphone always shows up in the UI even there is no microphone
plugged.

After adding this flag, the jack name is "Headset Mic Phantom", then
the pulseaudio can handle its detection correctly.

Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index aef1f52..c3b63b7 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6370,6 +6370,8 @@ static const struct hda_fixup alc269_fixups[] = {
 			{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
 			{ }
 		},
+		.chained = true,
+		.chain_id = ALC269_FIXUP_HEADSET_MIC
 	},
 };
 
-- 
2.7.4

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

end of thread, other threads:[~2018-04-19 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-19  5:29 [PATCH 1/2] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags Hui Wang
2018-04-19  5:29 ` [PATCH 2/2] ALSA: hda/realtek - adjust the location of one mic Hui Wang
2018-04-19  9:46   ` Takashi Iwai
2018-04-19  9:46 ` [PATCH 1/2] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags Takashi Iwai
2018-04-19 10:54   ` [alsa-devel] " Hui Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox