All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
@ 2019-03-22  3:37 Jian-Hong Pan
  2019-03-22  3:37 ` [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF " Jian-Hong Pan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jian-Hong Pan @ 2019-03-22  3:37 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Kailang Yang, alsa-devel, linux-kernel, linux, Jian-Hong Pan,
	Chris Chiu, Daniel Drake

The ASUS laptop X441MB and X705FD with ALC256 cannot detect the headset
MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Jian-Hong Pan <jian-hong@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 89a96442eb07..2523e495924e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5688,6 +5688,7 @@ enum {
 	ALC225_FIXUP_WYSE_AUTO_MUTE,
 	ALC225_FIXUP_WYSE_DISABLE_MIC_VREF,
 	ALC286_FIXUP_ACER_AIO_HEADSET_MIC,
+	ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
 };
 
 static const struct hda_fixup alc269_fixups[] = {
@@ -6696,6 +6697,15 @@ static const struct hda_fixup alc269_fixups[] = {
 		.chained = true,
 		.chain_id = ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE
 	},
+	[ALC256_FIXUP_ASUS_MIC_NO_PRESENCE] = {
+		.type = HDA_FIXUP_PINS,
+		.v.pins = (const struct hda_pintbl[]) {
+			{ 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */
+			{ }
+		},
+		.chained = true,
+		.chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE
+	},
 };
 
 static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7333,6 +7343,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
 		{0x14, 0x90170110},
 		{0x1b, 0x90a70130},
 		{0x21, 0x03211020}),
+	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
+		{0x1a, 0x90a70130},
+		{0x1b, 0x90170110},
+		{0x21, 0x03211020}),
 	SND_HDA_PIN_QUIRK(0x10ec0274, 0x1028, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB,
 		{0x12, 0xb7a60130},
 		{0x13, 0xb8a61140},
-- 
2.20.1


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

* [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
  2019-03-22  3:37 [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256 Jian-Hong Pan
@ 2019-03-22  3:37 ` Jian-Hong Pan
  2019-03-22 10:59     ` Takashi Iwai
  2019-03-22  3:37 ` [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK " Jian-Hong Pan
  2019-03-22 10:58   ` Takashi Iwai
  2 siblings, 1 reply; 9+ messages in thread
From: Jian-Hong Pan @ 2019-03-22  3:37 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Kailang Yang, alsa-devel, linux-kernel, linux, Chris Chiu,
	Daniel Drake, Jian-Hong Pan

From: Chris Chiu <chiu@endlessm.com>

The ASUS laptop P5440FF with ALC256 can't detect the headset microphone
until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.

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

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2523e495924e..b8efb20916ba 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7343,6 +7343,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
 		{0x14, 0x90170110},
 		{0x1b, 0x90a70130},
 		{0x21, 0x03211020}),
+	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
+		{0x12, 0x90a60130},
+		{0x14, 0x90170110},
+		{0x21, 0x03211020}),
 	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
 		{0x1a, 0x90a70130},
 		{0x1b, 0x90170110},
-- 
2.20.1


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

* [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
  2019-03-22  3:37 [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256 Jian-Hong Pan
  2019-03-22  3:37 ` [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF " Jian-Hong Pan
@ 2019-03-22  3:37 ` Jian-Hong Pan
  2019-03-22 10:59     ` Takashi Iwai
  2019-03-22 10:58   ` Takashi Iwai
  2 siblings, 1 reply; 9+ messages in thread
From: Jian-Hong Pan @ 2019-03-22  3:37 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Kailang Yang, alsa-devel, linux-kernel, linux, Jian-Hong Pan,
	Daniel Drake

The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC
until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.

Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
Signed-off-by: Daniel Drake <drake@endlessm.com>
---
 sound/pci/hda/patch_realtek.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b8efb20916ba..af0b1bd650f8 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7347,6 +7347,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
 		{0x12, 0x90a60130},
 		{0x14, 0x90170110},
 		{0x21, 0x03211020}),
+	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
+		{0x12, 0x90a60130},
+		{0x14, 0x90170110},
+		{0x21, 0x04211020}),
 	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
 		{0x1a, 0x90a70130},
 		{0x1b, 0x90170110},
-- 
2.20.1


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

* Re: [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
  2019-03-22  3:37 [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256 Jian-Hong Pan
@ 2019-03-22 10:58   ` Takashi Iwai
  2019-03-22  3:37 ` [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK " Jian-Hong Pan
  2019-03-22 10:58   ` Takashi Iwai
  2 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2019-03-22 10:58 UTC (permalink / raw)
  To: Jian-Hong Pan
  Cc: alsa-devel, Chris Chiu, Daniel Drake, linux, Kailang Yang, linux-kernel

On Fri, 22 Mar 2019 04:37:18 +0100,
Jian-Hong Pan wrote:
> 
> The ASUS laptop X441MB and X705FD with ALC256 cannot detect the headset
> MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
> 
> Signed-off-by: Chris Chiu <chiu@endlessm.com>
> Signed-off-by: Daniel Drake <drake@endlessm.com>
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>

Applied, thanks.


Takashi

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

* Re: [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
@ 2019-03-22 10:58   ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2019-03-22 10:58 UTC (permalink / raw)
  To: Jian-Hong Pan
  Cc: alsa-devel, Chris Chiu, Daniel Drake, linux, Kailang Yang, linux-kernel

On Fri, 22 Mar 2019 04:37:18 +0100,
Jian-Hong Pan wrote:
> 
> The ASUS laptop X441MB and X705FD with ALC256 cannot detect the headset
> MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
> 
> Signed-off-by: Chris Chiu <chiu@endlessm.com>
> Signed-off-by: Daniel Drake <drake@endlessm.com>
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>

Applied, thanks.


Takashi

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

* Re: [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
  2019-03-22  3:37 ` [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF " Jian-Hong Pan
@ 2019-03-22 10:59     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2019-03-22 10:59 UTC (permalink / raw)
  To: Jian-Hong Pan
  Cc: alsa-devel, Chris Chiu, Daniel Drake, linux, Kailang Yang, linux-kernel

On Fri, 22 Mar 2019 04:37:20 +0100,
Jian-Hong Pan wrote:
> 
> From: Chris Chiu <chiu@endlessm.com>
> 
> The ASUS laptop P5440FF with ALC256 can't detect the headset microphone
> until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
> 
> Signed-off-by: Chris Chiu <chiu@endlessm.com>
> Signed-off-by: Daniel Drake <drake@endlessm.com>
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>

Applied, thanks.


Takashi

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

* Re: [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
@ 2019-03-22 10:59     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2019-03-22 10:59 UTC (permalink / raw)
  To: Jian-Hong Pan
  Cc: alsa-devel, Chris Chiu, Daniel Drake, linux, Kailang Yang, linux-kernel

On Fri, 22 Mar 2019 04:37:20 +0100,
Jian-Hong Pan wrote:
> 
> From: Chris Chiu <chiu@endlessm.com>
> 
> The ASUS laptop P5440FF with ALC256 can't detect the headset microphone
> until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
> 
> Signed-off-by: Chris Chiu <chiu@endlessm.com>
> Signed-off-by: Daniel Drake <drake@endlessm.com>
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>

Applied, thanks.


Takashi

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

* Re: [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
  2019-03-22  3:37 ` [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK " Jian-Hong Pan
@ 2019-03-22 10:59     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2019-03-22 10:59 UTC (permalink / raw)
  To: Jian-Hong Pan; +Cc: alsa-devel, Daniel Drake, linux, Kailang Yang, linux-kernel

On Fri, 22 Mar 2019 04:37:22 +0100,
Jian-Hong Pan wrote:
> 
> The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC
> until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
> 
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
> Signed-off-by: Daniel Drake <drake@endlessm.com>

Applied, thanks.


Takashi

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

* Re: [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
@ 2019-03-22 10:59     ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2019-03-22 10:59 UTC (permalink / raw)
  To: Jian-Hong Pan; +Cc: alsa-devel, Daniel Drake, linux, Kailang Yang, linux-kernel

On Fri, 22 Mar 2019 04:37:22 +0100,
Jian-Hong Pan wrote:
> 
> The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC
> until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.
> 
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
> Signed-off-by: Daniel Drake <drake@endlessm.com>

Applied, thanks.


Takashi

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

end of thread, other threads:[~2019-03-22 10:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22  3:37 [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256 Jian-Hong Pan
2019-03-22  3:37 ` [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF " Jian-Hong Pan
2019-03-22 10:59   ` Takashi Iwai
2019-03-22 10:59     ` Takashi Iwai
2019-03-22  3:37 ` [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK " Jian-Hong Pan
2019-03-22 10:59   ` Takashi Iwai
2019-03-22 10:59     ` Takashi Iwai
2019-03-22 10:58 ` [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC " Takashi Iwai
2019-03-22 10:58   ` 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.