From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A0FAC7EE29 for ; Thu, 25 May 2023 10:18:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E5114204; Thu, 25 May 2023 12:17:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E5114204 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1685009925; bh=v0Cw0kspc7z+dpbmPVSQp0UtSDZwToivhH9HmGi5m10=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Xv0mgKwX9P2tM/tNvGQ5/4O4zCUly7ZhyW9FLIzr9EH7LcreGFmtxYbiOybkMLzYa vVyZgv2W4BkmWhEy7JEgSQhsn679dE0emoDzfwj9jyZ73gP/+jx73b0+daRLSwpM78 U/4T5NGrwRZ5v7LW/sO9Rbub1btZTnQZA9miQRtA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2E373F8053D; Thu, 25 May 2023 12:17:26 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C8F86F80249; Thu, 25 May 2023 12:17:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4AD8DF80249; Thu, 25 May 2023 12:17:22 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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 alsa1.perex.cz (Postfix) with ESMTPS id BBCB6F800DF for ; Thu, 25 May 2023 12:17:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BBCB6F800DF Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=tajXQptf; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=UF9kgZKg Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8C0792184B; Thu, 25 May 2023 10:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1685009834; 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=MnTmE6EQWdlEaDGHFNIvx4Wu3l2UV5scp/VW9xLQVKw=; b=tajXQptfamw71EWf+YOTZGhdU35kfzVTI0FBpeCUF5LSmw2OTxHq9WIgWOYz5BnRxfvDie ePHUPoI6V0r4bwAP3x8xpa6H4AVV11OFg/J4uMy9RNeHuQweZfI7yRUWNDE9c5FvthZirB e7oidbYABF0+YVtPd/D+XWMygfijfZo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1685009834; 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=MnTmE6EQWdlEaDGHFNIvx4Wu3l2UV5scp/VW9xLQVKw=; b=UF9kgZKglfmEsvLDCrM3LOa1E39s+t5exXgNKC8QQAA11NuKo5J9o4syMCk+rDXjc6Xd1o hcLqiNADK7CfSwBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 59C76134B2; Thu, 25 May 2023 10:17:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ptoKFao1b2S3dgAAMHmgww (envelope-from ); Thu, 25 May 2023 10:17:14 +0000 Date: Thu, 25 May 2023 12:17:14 +0200 Message-ID: <87353kd8b9.wl-tiwai@suse.de> From: Takashi Iwai To: Kailang Cc: "Joseph C. Sible" , Bagas Sanjaya , "regressions@lists.linux.dev" , "perex@perex.cz" , "tiwai@suse.com" , "alsa-devel@alsa-project.org" Subject: Re: Fwd: [Bug 217440] New: ALC236 audio disappears from HP 15z-fc000 on warm boot In-Reply-To: <7da2fdfdae614b1c98deda6e11ca34eb@realtek.com> References: <87cz338ix4.wl-tiwai@suse.de> <874jodlnmi.wl-tiwai@suse.de> <415d4bc84aa74c74af913048f28b42a9@realtek.com> <87fs7mdofi.wl-tiwai@suse.de> <7da2fdfdae614b1c98deda6e11ca34eb@realtek.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Message-ID-Hash: CU3W7TGFD3G6GK5XRCB2I3FPHXYJNSWZ X-Message-ID-Hash: CU3W7TGFD3G6GK5XRCB2I3FPHXYJNSWZ X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, 25 May 2023 11:21:38 +0200, Kailang wrote: > > > > > -----Original Message----- > > From: Takashi Iwai > > Sent: Wednesday, May 24, 2023 6:17 PM > > To: Kailang > > Cc: Joseph C. Sible ; Bagas Sanjaya > > ; regressions@lists.linux.dev; perex@perex.cz; > > tiwai@suse.com; alsa-devel@alsa-project.org > > Subject: Re: Fwd: [Bug 217440] New: ALC236 audio disappears from HP > > 15z-fc000 on warm boot > > > > > > External mail. > > > > > > > > On Thu, 18 May 2023 07:44:23 +0200, > > Kailang wrote: > > > > > > > -----Original Message----- > > > > From: Takashi Iwai > > > > Sent: Monday, May 15, 2023 9:40 PM > > > > To: Joseph C. Sible > > > > Cc: Bagas Sanjaya ; > > > > regressions@lists.linux.dev; Kailang ; > > > > perex@perex.cz; tiwai@suse.com; alsa-devel@alsa-project.org > > > > Subject: Re: Fwd: [Bug 217440] New: ALC236 audio disappears from HP > > > > 15z-fc000 on warm boot > > > > > > > > > > > > External mail. > > > > > > > > > > > > > > > > On Sun, 14 May 2023 23:48:55 +0200, > > > > Joseph C. Sible wrote: > > > > > > > > > > On 5/14/23, Takashi Iwai wrote: > > > > > > The patch changes two places (the change in alc_shutup_pins() > > > > > > and alc256_shutup()), and I guess the latter is the culprit. > > > > > > Could you verify that only reverting the latter fixes the problem? > > > > > > > > > > Yes, only reverting the latter fixes the problem. I just tried a > > > > > kernel consisting of 6.3.2 plus the below change, and it works fine: > > > > > > > > > > --- a/sound/pci/hda/patch_realtek.c > > > > > +++ b/sound/pci/hda/patch_realtek.c > > > > > @@ -3638,8 +3638,7 @@ static void alc256_shutup(struct hda_codec > > > > *codec) > > > > > /* If disable 3k pulldown control for alc257, the Mic > > > > > detection will not work correctly > > > > > * when booting with headset plugged. So skip setting it > > > > > for the codec alc257 > > > > > */ > > > > > - if (codec->core.vendor_id != 0x10ec0236 && > > > > > - codec->core.vendor_id != 0x10ec0257) > > > > > + if (codec->core.vendor_id != 0x10ec0257) > > > > > alc_update_coef_idx(codec, 0x46, 0, 3 << 12); > > > > > > > > > > if (!spec->no_shutup_pins) > > > > > > > > OK, thanks for confirmation. > > > > > > > > Kailang, could you check this issue? > > > > > > OK. I will take it a look for these days. > > > > Kailang, any chance to get this fixed? > Sorry! My test machine didn't work. I couldn't have a machine to do this test. > But I find one ChromeBook with ALC236 today. Thanks! I already submitted a PR to Linus for 6.4-rc4, and the next PR will be likely in two weeks, so we have a bit of time :) Takashi