* [PATCH 2/4] ALSA: hda/realtek: Add quirk for Acer Gadget E10 ETBook left speaker
2026-08-07 12:58 [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic Zhang Heng
@ 2026-08-07 12:58 ` Zhang Heng
2026-08-07 12:58 ` [PATCH 3/4] ALSA: hda/realtek: Fix headset mic on ASUS Vivobook S14 S5406SA Zhang Heng
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Zhang Heng @ 2026-08-07 12:58 UTC (permalink / raw)
To: tiwai; +Cc: linux-sound, linux-kernel, Zhang Heng
The Acer Gadget E10 ETBook (subsystem 0x1e50:0x7036, Realtek ALC233)
has a left speaker that does not work by default. The BIOS fails to
properly configure pin 0x1b, leaving it unconnected.
Using hdajackretask to override pin 0x1b as "Internal Speaker"
restores left speaker functionality. Add a quirk to apply this pin
configuration automatically at probe time.
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221435
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
sound/hda/codecs/realtek/alc269.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index ef21ac2216af..fcc4a372baf9 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -8176,6 +8176,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
SND_PCI_QUIRK(0x1e39, 0xca14, "MEDION NM14LNL", ALC233_FIXUP_MEDION_MTL_SPK),
SND_PCI_QUIRK(0x1e50, 0x7007, "Positivo DN50E", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
+ SND_PCI_QUIRK(0x1e50, 0x7036, "Acer Gadget E10 ETBook", ALC233_FIXUP_WUJIE_SPEAKERS),
SND_PCI_QUIRK(0x1e50, 0x7038, "Positivo DN140", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
SND_PCI_QUIRK(0x1ee7, 0x2078, "HONOR BRB-X M1010", ALC2XX_FIXUP_HEADSET_MIC),
SND_PCI_QUIRK(0x1ee7, 0x2081, "HONOR MRB-XXX M1020", ALC256_FIXUP_HONOR_MRB_XXX_M1020_AUDIO),
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 3/4] ALSA: hda/realtek: Fix headset mic on ASUS Vivobook S14 S5406SA
2026-08-07 12:58 [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic Zhang Heng
2026-08-07 12:58 ` [PATCH 2/4] ALSA: hda/realtek: Add quirk for Acer Gadget E10 ETBook left speaker Zhang Heng
@ 2026-08-07 12:58 ` Zhang Heng
2026-08-07 12:58 ` [PATCH 4/4] ALSA: hda/conexant: Add pin config quirk for Huawei Matebook Zhang Heng
2026-08-07 18:17 ` [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic Takashi Iwai
3 siblings, 0 replies; 5+ messages in thread
From: Zhang Heng @ 2026-08-07 12:58 UTC (permalink / raw)
To: tiwai; +Cc: linux-sound, linux-kernel, Zhang Heng
On the ASUS Vivobook S14 S5406SA (subsystem 0x104310c4, Lunar Lake
platform) with an ALC294 codec, the headset microphone (3.5mm jack)
fails to capture any audio. Adding the ALC2XX_FIXUP_HEADSET_MIC
quirk resolves the issue and restores proper headset mic recording.
Link: https://github.com/thesofproject/linux/issues/5729
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
sound/hda/codecs/realtek/alc269.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index fcc4a372baf9..35df8e1f932f 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -7612,6 +7612,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),
SND_PCI_QUIRK(0x1043, 0x10a4, "ASUS TP3407SA", ALC287_FIXUP_TAS2781_I2C),
SND_PCI_QUIRK(0x1043, 0x10c0, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
+ SND_PCI_QUIRK(0x1043, 0x10c4, "ASUS Vivobook S14 S5406SA", ALC2XX_FIXUP_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x10d0, "ASUS X540LA/X540LJ", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1043, 0x10d3, "ASUS K6500ZC", ALC294_FIXUP_ASUS_SPK),
SND_PCI_QUIRK(0x1043, 0x1154, "ASUS TP3607SH", ALC287_FIXUP_TAS2781_I2C),
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 4/4] ALSA: hda/conexant: Add pin config quirk for Huawei Matebook
2026-08-07 12:58 [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic Zhang Heng
2026-08-07 12:58 ` [PATCH 2/4] ALSA: hda/realtek: Add quirk for Acer Gadget E10 ETBook left speaker Zhang Heng
2026-08-07 12:58 ` [PATCH 3/4] ALSA: hda/realtek: Fix headset mic on ASUS Vivobook S14 S5406SA Zhang Heng
@ 2026-08-07 12:58 ` Zhang Heng
2026-08-07 18:17 ` [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic Takashi Iwai
3 siblings, 0 replies; 5+ messages in thread
From: Zhang Heng @ 2026-08-07 12:58 UTC (permalink / raw)
To: tiwai; +Cc: linux-sound, linux-kernel, Zhang Heng
The headphone jack is not detected on this Huawei Matebook (Conexant
SN6140 codec). The BIOS incorrectly marks Pin 0x18 as [N/A], causing
the driver to report hp_outs=0 and no "Headphones" output appears.
Override the pin configuration for NID 0x18 to set it as a headphone
jack, which restores proper detection and audio routing.
Link: https://github.com/thesofproject/sof/issues/10687
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
sound/hda/codecs/conexant.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/sound/hda/codecs/conexant.c b/sound/hda/codecs/conexant.c
index 5ea4c74715c5..c2f9409b76ef 100644
--- a/sound/hda/codecs/conexant.c
+++ b/sound/hda/codecs/conexant.c
@@ -292,6 +292,7 @@ enum {
CXT_PINCFG_TOP_SPEAKER,
CXT_FIXUP_HP_A_U,
CXT_FIXUP_ACER_SWIFT_HP,
+ CXT_FIXUP_HUAWEI_MATEBOOK_HP,
};
/* for hda_fixup_thinkpad_acpi() */
@@ -1035,6 +1036,13 @@ static const struct hda_fixup cxt_fixups[] = {
{ }
},
},
+ [CXT_FIXUP_HUAWEI_MATEBOOK_HP] = {
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x18, 0x03211020 }, /* Headphone */
+ { }
+ },
+ },
};
static const struct hda_quirk cxt5045_fixups[] = {
@@ -1135,6 +1143,7 @@ static const struct hda_quirk cxt5066_fixups[] = {
SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo G50-70", CXT_FIXUP_STEREO_DMIC),
SND_PCI_QUIRK(0x17aa, 0x397b, "Lenovo S205", CXT_FIXUP_STEREO_DMIC),
SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad/Ideapad", CXT_FIXUP_LENOVO_XPAD_ACPI),
+ SND_PCI_QUIRK(0x19e5, 0x3289, "Huawei Matebook", CXT_FIXUP_HUAWEI_MATEBOOK_HP),
SND_PCI_QUIRK(0x1c06, 0x2011, "Lemote A1004", CXT_PINCFG_LEMOTE_A1004),
SND_PCI_QUIRK(0x1c06, 0x2012, "Lemote A1205", CXT_PINCFG_LEMOTE_A1205),
SND_PCI_QUIRK(0x1d05, 0x3012, "MECHREVO Wujie 15X Pro", CXT_FIXUP_HEADSET_MIC),
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic
2026-08-07 12:58 [PATCH 1/4] ALSA: hda/realtek: Add quirk for Acer Nitro ANV16-42 headset mic Zhang Heng
` (2 preceding siblings ...)
2026-08-07 12:58 ` [PATCH 4/4] ALSA: hda/conexant: Add pin config quirk for Huawei Matebook Zhang Heng
@ 2026-08-07 18:17 ` Takashi Iwai
3 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2026-08-07 18:17 UTC (permalink / raw)
To: Zhang Heng; +Cc: tiwai, linux-sound, linux-kernel
On Fri, 07 Aug 2026 14:58:54 +0200,
Zhang Heng wrote:
>
> The Acer Nitro ANV16-42 (subsystem 0x1025:0x1909, Realtek ALC245)
> does not detect the headset microphone jack. Adding the
> ALC2XX_FIXUP_HEADSET_MIC quirk resolves the issue and restores
> proper headset mic functionality.
>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221623
> Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Applied all four patches now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 5+ messages in thread