From: ocean <zhouoceanhy@gmail.com>
To: tiwai@suse.de, perex@perex.cz
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
Ocean Zhou <51983215+ocean-sudo@users.noreply.github.com>
Subject: [PATCH v2] ALSA: hda/conexant: fix FEVM FA880 PRO internal mic mux
Date: Fri, 29 May 2026 12:11:47 +0800 [thread overview]
Message-ID: <20260529041147.70001-1-51983215+ocean-sudo@users.noreply.github.com> (raw)
From: Ocean Zhou <51983215+ocean-sudo@users.noreply.github.com>
FEVM FA880 PRO mini PC uses Conexant CX20632 codec. The internal
microphone is connected to pin 0x1e. In order to make it work,
we need to force ADC 0x14 connection to 0x1e (connection index 3).
This patch adds a new quirk CXT_FIXUP_CX20632_INTMIC to force
the connection selection on initialization, and applies it
for the SSID 2014:8004.
Signed-off-by: Ocean Zhou <51983215+ocean-sudo@users.noreply.github.com>
---
sound/pci/hda/patch_conexant.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 2d4094be83ab..5e2279267104 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -300,6 +300,7 @@ enum {
CXT_PINCFG_SWS_JS201D,
CXT_PINCFG_TOP_SPEAKER,
CXT_FIXUP_HP_A_U,
+ CXT_FIXUP_CX20632_INTMIC,
};
/* for hda_fixup_thinkpad_acpi() */
@@ -343,6 +344,15 @@ static void cxt5066_increase_mic_boost(struct hda_codec *codec,
(0 << AC_AMPCAP_MUTE_SHIFT));
}
+static void cxt_fixup_cx20632_intmic(struct hda_codec *codec,
+ const struct hda_fixup *fix, int action)
+{
+ if (action != HDA_FIXUP_ACT_INIT)
+ return;
+
+ /* Force ADC 0x14 to internal mic pin 0x1e (conn index 3). */
+ snd_hda_codec_write(codec, 0x14, 0, AC_VERB_SET_CONNECT_SEL, 0x03);
+}
+
static void cxt_update_headset_mode(struct hda_codec *codec)
{
/* The verbs used in this function were tested on a Conexant CX20751/2 codec. */
@@ -1035,6 +1045,10 @@ static const struct hda_fixup cxt_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = cxt_fixup_hp_a_u,
},
+ [CXT_FIXUP_CX20632_INTMIC] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = cxt_fixup_cx20632_intmic,
+ },
};
static const struct hda_quirk cxt5045_fixups[] = {
@@ -1140,6 +1154,7 @@ static const struct hda_quirk cxt5066_fixups[] = {
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),
+ SND_PCI_QUIRK(0x2014, 0x8004, "FEVM FA880 PRO", CXT_FIXUP_CX20632_INTMIC),
HDA_CODEC_QUIRK(0x2782, 0x12c3, "Sirius Gen1", CXT_PINCFG_TOP_SPEAKER),
HDA_CODEC_QUIRK(0x2782, 0x12c5, "Sirius Gen2", CXT_PINCFG_TOP_SPEAKER),
{}
@@ -1165,6 +1180,7 @@ static const struct hda_model_fixup cxt5066_fixup_models[] = {
{ .id = CXT_PINCFG_TOP_SPEAKER, .name = "sirius-top-speaker" },
{ .id = CXT_FIXUP_HP_A_U, .name = "HP-U-support" },
+ { .id = CXT_FIXUP_CX20632_INTMIC, .name = "cx20632-intmic" },
{}
};
next reply other threads:[~2026-05-29 4:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 4:11 ocean [this message]
2026-05-29 9:05 ` Takashi Iwai
2026-05-31 4:02 ` 周Ocean
[not found] ` <CACYx1SrnTfg6GKK2S1Vb13f9OWOq1x=VUDA=AFWs1CALsC_B2g@mail.gmail.com>
2026-05-31 13:26 ` Takashi Iwai
2026-06-03 2:06 ` 周Ocean
2026-06-03 15:08 ` 周Ocean
2026-06-04 8:12 ` Takashi Iwai
2026-06-06 14:19 ` 周Ocean
2026-06-07 12:15 ` Takashi Iwai
2026-06-07 16:48 ` 周Ocean
2026-06-07 17:40 ` 周Ocean
2026-06-08 7:28 ` Takashi Iwai
2026-06-10 15:19 ` 周Ocean
2026-06-10 17:53 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260529041147.70001-1-51983215+ocean-sudo@users.noreply.github.com \
--to=zhouoceanhy@gmail.com \
--cc=51983215+ocean-sudo@users.noreply.github.com \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®