From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 786C527707 for ; Sun, 7 Jun 2026 12:16:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780834563; cv=none; b=CKw9BaFvnrmGDsvBqNxcy4Bnv/Vx2VLvnACuuve+CWEtnERkXAPa3De5TypOMnHgf9/gKb6qXbip2lNRXvCqfnK8OWbH6KZ3sxgkk/zvTu9aTaN662FbWYkZtKJJ7bAObnqAs/5F0KdgYrvNJBjFOFcZxDKzDDn/uCVL+DDIqEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780834563; c=relaxed/simple; bh=8Ed26BL0hrKtVrcrjh6HjjvNCuD9xxMr9h0ullGb3hs=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=skbbXqmlEbLI1vq38DJYvIFRtKnf9sZWhyNe3OPjkxEQE0xVOxdr0XB/f+MnWyuGTvl6TtfL6XlEL8YUfB/MHsXR4jTvdq0amqcl3nXi0ImBHrTtMlyl4rIoEIzkY1ChhiIBwnLeTQl8eiM4AaQMlr1MshOfSlWUrBBGGQDh9hM= 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=Im/HkcYS; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=tCBBXnUT; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=Im/HkcYS; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=tCBBXnUT; arc=none smtp.client-ip=195.135.223.131 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="Im/HkcYS"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="tCBBXnUT"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="Im/HkcYS"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="tCBBXnUT" Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104: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-out2.suse.de (Postfix) with ESMTPS id 6F27D75E0C; Sun, 7 Jun 2026 12:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780834560; 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=rELKWPDozz6eYYreG95e4Ys66VMPl7TnFhtbmj3u/Z4=; b=Im/HkcYSfZ8bvMdq/RFyzc1FK7owhXYTo5TLTcvVkIQuHYCOmsnZf/OvYRliU7qHQhh7kB TdE6JWQa7oQ+GeJzb/q6Ly1pP+k04l4h4VMGTFHsoRyfIEQFw2Y5CqVAcq18t/RP6HV06i nOZVY2b86xU15qRBRqCW/x2HzX3mwx4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780834560; 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=rELKWPDozz6eYYreG95e4Ys66VMPl7TnFhtbmj3u/Z4=; b=tCBBXnUT7cgBwJhfoiZNOOyX8EXr9vFlQxSZ2+FPw5B4imqT+FQny7wUraUuG96TFJ6aAw 9I0NzEiq5sSv2bBA== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b="Im/HkcYS"; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=tCBBXnUT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780834560; 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=rELKWPDozz6eYYreG95e4Ys66VMPl7TnFhtbmj3u/Z4=; b=Im/HkcYSfZ8bvMdq/RFyzc1FK7owhXYTo5TLTcvVkIQuHYCOmsnZf/OvYRliU7qHQhh7kB TdE6JWQa7oQ+GeJzb/q6Ly1pP+k04l4h4VMGTFHsoRyfIEQFw2Y5CqVAcq18t/RP6HV06i nOZVY2b86xU15qRBRqCW/x2HzX3mwx4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780834560; 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=rELKWPDozz6eYYreG95e4Ys66VMPl7TnFhtbmj3u/Z4=; b=tCBBXnUT7cgBwJhfoiZNOOyX8EXr9vFlQxSZ2+FPw5B4imqT+FQny7wUraUuG96TFJ6aAw 9I0NzEiq5sSv2bBA== 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 3EF1B779A7; Sun, 7 Jun 2026 12:16:00 +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 GLGeDQBhJWreRwAAD6G6ig (envelope-from ); Sun, 07 Jun 2026 12:16:00 +0000 Date: Sun, 07 Jun 2026 14:15:59 +0200 Message-ID: <875x3usg00.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> 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-Rspamd-Action: no action X-Spam-Level: X-Spamd-Result: default: False [-2.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; SUSPICIOUS_RECIPS(1.50)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_RATELIMITED(0.00)[rspamd.com]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[ocean-sudo]; DKIM_TRACE(0.00)[suse.de:+]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.de:mid,suse.de:dkim] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: 6F27D75E0C X-Spam-Score: -2.01 On Sat, 06 Jun 2026 16:19:26 +0200, 周Ocean wrote: > > Hi Takashi, > > To be honest, I'm not an expert on the low-level hardware design of > this codec, but I can confirm that the internal microphone only works > normally when we apply this patch. > > I realized why the previous two dumps were identical: the user-space > audio server (PipeWire) automatically restored the routing and > switched NID 0x14 to NID 0x1e (index 3) at runtime, masking the actual > boot defaults. > > This time, I stopped PipeWire entirely, reloaded the stock driver, and > captured the true hardware defaults. Please find the new logs > attached: > > 1. alsa-info-raw-defaults.txt.gz (Stock driver, pure hardware defaults): > Here, NID 0x14 actually defaults to NID 0x1b (index 1, Rear Mic) on boot: > Connection: 4 > 0x1a 0x1b* 0x1d 0x1e > > 2. alsa-info-with-patch.txt.gz (Patched driver): > Here, the quirk forces it to NID 0x1e (index 3, Internal Mic) at initialization: > Connection: 4 > 0x1a 0x1b 0x1d 0x1e* > > Without the patch, testing the microphone in the stock driver yields a > loud buzzing/humming noise (typical of a floating/unconnected input > pin on NID 0x1b) with only a very faint sound when tapping the chassis > (due to signal crosstalk/leakage from NID 0x1e to NID 0x1b). Even if > PipeWire switches the connection to 0x1e at runtime later, it fails to > record normal sound. > > Applying the quirk at ACT_INIT ensures NID 0x14 is correctly mapped to > the physical internal mic pin (0x1e) from boot, resolving the floating > pin noise and restoring mic capture to a normal level. Looking at your alsa-info.sh outputs, it shows that the rear mic jack is plugged: control.17 { iface CARD name 'Rear Mic Jack' value true comment { access read type BOOLEAN count 1 } } so the driver makes ADC 0x14 connected to 0x1b, which is the pin for the rear mic. If you get a noise from it, it means that something wrong with that route. Takashi