From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 554EE19EED3 for ; Mon, 8 Jun 2026 07:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780903717; cv=none; b=sO5ODDVUbuSJCY5gWnHMO2KHrS1eYCbGq5oDAUWzRoJUwRbtn2ki6bEqL6EaF++y26yLshUTzE9jobeHFqupATqyZLsbJqQf7pe7v5JZWSl9RaghB9DbTvv5i8mJKG6cEPtVqrw7Wq29GkhyqA3ki8AixK38SZlpUd2pHp3q3OY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780903717; c=relaxed/simple; bh=kZkPsQ3UDOZP14zCEzYcTgHFwVRsi8n0SADExrWtkuY=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=DL52/6PIs76tjV0ExHVDKKYN5uNemdWXimpiY5g6ER7xrm2kwd+Gd42maqhHn6IkZToFKVXZ8X9CBNbvZVX673P7kpekEjM+FLfZY+9oax1Yiq6cS17oHqnw8niV7NB0cIEl0pB/cWNEw911DCbAyHiuTX3tJRgaDB7SUay1S3Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=GAtLIibJ; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=e2zVfkZQ; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=GAtLIibJ; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=e2zVfkZQ; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="GAtLIibJ"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="e2zVfkZQ"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="GAtLIibJ"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="e2zVfkZQ" Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A42D46B6B7; Mon, 8 Jun 2026 07:28:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780903714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pa/AQvL6mhrN55GAYFFwd+7pO/saurSsJ7NB3rmD/Ik=; b=GAtLIibJ5zO0dcgdpC/CLFjmDQZv/PuARktVZEZBTLj7Vnqx7kDnhSs99db3NH1gRNg70Y FlHYzBa252CouxIXvXFFvRyHWoCezDav1ERlBnlWd1eQSMXIHKuyKM8opqSxBzs3p0UVxx IhKGv+FwKGG12rinsJO26BTEVsfAO3Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780903714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pa/AQvL6mhrN55GAYFFwd+7pO/saurSsJ7NB3rmD/Ik=; b=e2zVfkZQz96JbRS/vECywnxPJWTDgzS4v+K9xFZ+fCohZswHXOM01MmW4RU0J2cIwffhEl tGAgwffi3vUGchCw== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780903714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pa/AQvL6mhrN55GAYFFwd+7pO/saurSsJ7NB3rmD/Ik=; b=GAtLIibJ5zO0dcgdpC/CLFjmDQZv/PuARktVZEZBTLj7Vnqx7kDnhSs99db3NH1gRNg70Y FlHYzBa252CouxIXvXFFvRyHWoCezDav1ERlBnlWd1eQSMXIHKuyKM8opqSxBzs3p0UVxx IhKGv+FwKGG12rinsJO26BTEVsfAO3Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780903714; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pa/AQvL6mhrN55GAYFFwd+7pO/saurSsJ7NB3rmD/Ik=; b=e2zVfkZQz96JbRS/vECywnxPJWTDgzS4v+K9xFZ+fCohZswHXOM01MmW4RU0J2cIwffhEl tGAgwffi3vUGchCw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 73F39779A9; Mon, 8 Jun 2026 07:28:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id I3n8GiJvJmq6dgAAD6G6ig (envelope-from ); Mon, 08 Jun 2026 07:28:34 +0000 Date: Mon, 08 Jun 2026 09:28:34 +0200 Message-ID: <87se6xqyn1.wl-tiwai@suse.de> From: Takashi Iwai To: =?ISO-2022-JP?B?GyRCPH4bKEJPY2Vhbg==?= 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 In-Reply-To: References: <20260529041147.70001-1-51983215+ocean-sudo@users.noreply.github.com> <87y0h2r3g6.wl-tiwai@suse.de> <8733z7pv5e.wl-tiwai@suse.de> <87fr32wwpv.wl-tiwai@suse.de> <875x3usg00.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.2 Mule/6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-2022-JP X-Spam-Flag: NO X-Spam-Score: -1.80 X-Spamd-Result: default: False [-1.80 / 50.00]; BAYES_HAM(-3.00)[99.99%]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; TAGGED_RCPT(0.00)[ocean-sudo]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,imap1.dmz-prg2.suse.org:helo] X-Spam-Level: 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