All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
@ 2022-07-13  9:41 Meng Tang
  2022-07-13 10:43   ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Meng Tang @ 2022-07-13  9:41 UTC (permalink / raw)
  To: perex, tiwai, tcrawford, wse, kai.heng.feng, tangmeng, tanureal,
	cam, kailang, sbinding, yong.wu, andy.chi
  Cc: alsa-devel, linux-kernel

The headset on this machine is not defined, after applying the quirk
ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well

Signed-off-by: Meng Tang <tangmeng@uniontech.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 91cd58849ee8..383a814b8539 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9369,6 +9369,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
+	SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
 	SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
 	SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
-- 
2.20.1




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

* Re: [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
  2022-07-13  9:41 [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop Meng Tang
@ 2022-07-13 10:43   ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2022-07-13 10:43 UTC (permalink / raw)
  To: Meng Tang
  Cc: perex, tiwai, tcrawford, wse, kai.heng.feng, tanureal, cam,
	kailang, sbinding, yong.wu, andy.chi, alsa-devel, linux-kernel

On Wed, 13 Jul 2022 11:41:33 +0200,
Meng Tang wrote:
> 
> The headset on this machine is not defined, after applying the quirk
> ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well
> 
> Signed-off-by: Meng Tang <tangmeng@uniontech.com>

Thanks, applied.


Takashi

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

* Re: [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
@ 2022-07-13 10:43   ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2022-07-13 10:43 UTC (permalink / raw)
  To: Meng Tang
  Cc: sbinding, kailang, linux-kernel, tanureal, tcrawford, tiwai, wse,
	kai.heng.feng, andy.chi, cam, alsa-devel, yong.wu

On Wed, 13 Jul 2022 11:41:33 +0200,
Meng Tang wrote:
> 
> The headset on this machine is not defined, after applying the quirk
> ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well
> 
> Signed-off-by: Meng Tang <tangmeng@uniontech.com>

Thanks, applied.


Takashi

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

* Re: [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
  2019-11-21  2:54 Hui Wang
@ 2019-11-21  6:04 ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2019-11-21  6:04 UTC (permalink / raw)
  To: Hui Wang; +Cc: alsa-devel, stable

On Thu, 21 Nov 2019 03:54:27 +0100,
Hui Wang wrote:
> 
> The headset on this machine is not defined, after applying the quirk
> ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well
> 
> BugLink: https://bugs.launchpad.net/bugs/1846148
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Hui Wang <hui.wang@canonical.com>

Applied now.  Thanks.


Takashi

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

* [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
@ 2019-11-21  2:54 Hui Wang
  2019-11-21  6:04 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Hui Wang @ 2019-11-21  2:54 UTC (permalink / raw)
  To: alsa-devel, tiwai; +Cc: stable

The headset on this machine is not defined, after applying the quirk
ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well

BugLink: https://bugs.launchpad.net/bugs/1846148
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4ebe104cb592..bd0c767981b1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7248,6 +7248,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x17aa, 0x9e54, "LENOVO NB", ALC269_FIXUP_LENOVO_EAPD),
 	SND_PCI_QUIRK(0x19e5, 0x3204, "Huawei MACH-WX9", ALC256_FIXUP_HUAWEI_MACH_WX9_PINS),
 	SND_PCI_QUIRK(0x1b7d, 0xa831, "Ordissimo EVE2 ", ALC269VB_FIXUP_ORDISSIMO_EVE2), /* Also known as Malata PC-B1303 */
+	SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
 	SND_PCI_QUIRK(0x10ec, 0x118c, "Medion EE4254 MD62100", ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE),
 
 #if 0
-- 
2.17.1


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

end of thread, other threads:[~2022-07-13 10:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13  9:41 [PATCH] ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop Meng Tang
2022-07-13 10:43 ` Takashi Iwai
2022-07-13 10:43   ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2019-11-21  2:54 Hui Wang
2019-11-21  6:04 ` 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.