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 4278D30DEA6 for ; Wed, 10 Jun 2026 17:53:10 +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=1781113991; cv=none; b=cNvXjtwPEpk/mewh97Sokx6ha2qA3ojjHmphVMg3fP4CceOmaF86NPtdG9BdDnX4bOQ1nLCf76dwdrVu0w1sz5cl3kES9q+m0Rv/0906wT0osJeYByFk11jNZS8OHoHCZuM7yBQVajWREB7cXgFIDaDeIHjP7FQFMXMitKwc9RY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781113991; c=relaxed/simple; bh=t+2KI1oayOj61N7hYH6J+8e6FZFeoz8f1YXTc/aF6Ps=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=MRIuXcHn4Rg8EetU1ayRcP1WzPTgO0tQGvPJ2nwah6KhXvrlvYmu+Dyh6ziX0kulW1A2QUhazpi34TW3WqWswdIClTZrOX4aH0GGT7d4T0zldAVaTulx+vMFsZqteXYQjHdyMX0gdyONjJjSYtZLEv6wfDzW/kvBBb+JqnlAcL0= 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=QNQoMdbu; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=KiGMaGN8; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=QNQoMdbu; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=KiGMaGN8; 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="QNQoMdbu"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="KiGMaGN8"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="QNQoMdbu"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="KiGMaGN8" 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-out2.suse.de (Postfix) with ESMTPS id 30412759F8; Wed, 10 Jun 2026 17:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1781113988; 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=kUciNjrtJsRjnxy3CnD+ewXR7F8FfJG5PQ4eTGUyd3A=; b=QNQoMdbu4A/kCh8fpE/Uy1bghklZFq9A9ADMnNdUjhaKaB0nnLglpnsL45QxyB7M0R/AfB Drsd55QUzlAyQmiupPCKP3nuchXgNb8sdRp0xga/E6hL+RnWq4YNmcXa2Bqs/RWsePE53+ Og2arpd9mkNaQ4bOFQYxipX2IDpWqJs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1781113988; 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=kUciNjrtJsRjnxy3CnD+ewXR7F8FfJG5PQ4eTGUyd3A=; b=KiGMaGN8g90NbAr9M7GG7PkP8K48adBUlEuF6gToOUse09mFFbi3A7SJe0ScfDVGsBSYv6 M1GBb2jAL9FxuVCw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1781113988; 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=kUciNjrtJsRjnxy3CnD+ewXR7F8FfJG5PQ4eTGUyd3A=; b=QNQoMdbu4A/kCh8fpE/Uy1bghklZFq9A9ADMnNdUjhaKaB0nnLglpnsL45QxyB7M0R/AfB Drsd55QUzlAyQmiupPCKP3nuchXgNb8sdRp0xga/E6hL+RnWq4YNmcXa2Bqs/RWsePE53+ Og2arpd9mkNaQ4bOFQYxipX2IDpWqJs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1781113988; 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=kUciNjrtJsRjnxy3CnD+ewXR7F8FfJG5PQ4eTGUyd3A=; b=KiGMaGN8g90NbAr9M7GG7PkP8K48adBUlEuF6gToOUse09mFFbi3A7SJe0ScfDVGsBSYv6 M1GBb2jAL9FxuVCw== 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 05AEF779A7; Wed, 10 Jun 2026 17:53:07 +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 0zqWO4OkKWqTLAAAD6G6ig (envelope-from ); Wed, 10 Jun 2026 17:53:07 +0000 Date: Wed, 10 Jun 2026 19:53:07 +0200 Message-ID: <87y0gmjn98.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> <87se6xqyn1.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] X-Spam-Level: On Wed, 10 Jun 2026 17:19:01 +0200, 周Ocean wrote: > > Hi Takashi, > > Thank you for the suggestions. I have tested the stock driver as requested. > > Here are the results: > > 1. Does the jack detection work for the rear jack? Yes, the jack > detection works properly for the rear jack. > > 2. Does the output from the rear work as-is? Yes, the output works > normally. I primarily use this jack for an external TRS speaker. > > 3. Changing the pin control of 0x1c: I plugged a TRRS headset (with a > microphone) into the rear jack. Both the audio output and the headset > microphone worked properly without any modifications. When I ran sudo > hda-verb /dev/snd/hwC1D0 0x1c SET_PIN_WIDGET_CONTROL 0x00, the > headphone output stopped as expected, and the microphone continued to > work normally. > > Based on these tests, the rear jack is a fully functional TRRS combo > jack, and there is no hardware interference between the output (0x1c) > and input (0x1b) pins. > > The loud buzzing noise I reported earlier occurs only when a 3-pole > TRS plug (like my external speaker or a standard headphone without a > mic) is connected to the rear jack. It appears the hardware lacks > proper impedance sensing to distinguish between TRS and TRRS plugs, > and blindly leaves the mic input pin (0x1b) active. Since the TRS plug > shorts the mic ring to ground, the active 0x1b pin captures ground > loop noise. > > This behavior is consistent with what I observe on Windows on the same > machine: when a TRS speaker is plugged in, Windows shows a microphone > device that captures no sound, likely because the pin is shorted to > ground. > > Given that this machine is a Mini-PC and the rear jack is mostly used > for TRS external speakers, would applying a pin quirk to disable 0x1b > (setting it to 0x40000000) be the most appropriate upstream fix? Have you tried ctx_fixup_headset_mic, BTW? I'm not sure whether this is applicable to your model, but worth for a try. If this doesn't work, then disabling the mic would be the simplest solution. thanks, Takashi