mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: 周Ocean <zhouoceanhy@gmail.com>
Cc: perex@perex.cz, alsa-devel@alsa-project.org,
	linux-kernel@vger.kernel.org,
	Ocean Zhou <51983215+ocean-sudo@users.noreply.github.com>
Subject: Re: [PATCH v2] ALSA: hda/conexant: fix FEVM FA880 PRO internal mic mux
Date: Mon, 08 Jun 2026 09:28:34 +0200	[thread overview]
Message-ID: <87se6xqyn1.wl-tiwai@suse.de> (raw)
In-Reply-To: <CACYx1Sq87CJfYa6w-dFuDZigzDA73OEX9am2FhKS2P6OOxw97g@mail.gmail.com>

On Sun, 07 Jun 2026 19:40:13 +0200,
周Ocean wrote:
> 
> Hi Takashi,
> 
> A quick follow-up to my previous email! I have a correction to make.
> 
> First, I must apologize for a bit of confusion regarding the "loud
> electrical hum" I mentioned. I realized that during my earlier
> troubleshooting, I had accidentally cranked the Internal Mic Boost to
> a massive +48dB in alsamixer to see if I could force any signal to
> appear. After lowering the boost to a normal level, the stock driver's
> behavior is exactly as I originally described: mostly silent but only
> captures faint acoustic tapping on the chassis, with no actual voice.
> 
> More importantly, following your guidance, I managed to find the
> perfect and elegant fix for this issue!
> 
> Instead of using my previous brute-force hack (locking the ADC to
> 0x1e), I wrote a proper HDA pin override quirk for this machine (PCI
> Subsystem ID: 0x2014:8004). The quirk simply sets the pin default for
> the phantom Rear Mic (Node 0x1b) to 0x40000000 ([N/A] None).
> 
> Once Node 0x1b is disabled, ALSA's auto-parser magically handles the rest:
> 
> Without a headset plugged in, the system automatically defaults the
> capture to 0x1e (Internal Mic), completely eliminating the noise and
> allowing normal voice capture.
> 
> When I plug a headset into the front panel, the system dynamically
> switches the input to 0x1a (Front Headset Mic), and it works
> perfectly!
> 
> As for the rear speaker not auto-muting, I discovered that Auto-Mute
> Mode was simply set to Disabled in my ALSA mixer. After enabling it,
> the rear speaker correctly auto-mutes when the headset is plugged in.
> 
> Just as you pointed out in your earlier email, hard-wiring the
> connection wasn't the right approach. It seems that correcting the pin
> default to hide the phantom node (0x1b) allows the parser to wire the
> expected routes naturally. Could you let me know if using
> HDA_FIXUP_PINS for this is the correct implementation route? If this
> approach aligns with the proper topology handling, I would be very
> happy to prepare and submit a v2 patch.

Yes, disabling the pin config with that fixup makes sense.

There are a few more things you can test, though:

- Does the jack detection work for the rear jack?
  There are two pins assigned, NID 0x1b and 0x1c for input and output.

- Does the output from the rear work as-is?

- If the output works, try to change the pin control of the output of
  the rear jack (NID 0x1c), e.g. via hda-verb.  As default it's 0x40,
  and set to 0x00.  Does it change anything on the input from that
  jack?


Takashi

  reply	other threads:[~2026-06-08  7:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29  4:11 ocean
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 [this message]
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=87se6xqyn1.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --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=zhouoceanhy@gmail.com \
    /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