From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 AAE102CAB for ; Thu, 25 May 2023 09:22:01 +0000 (UTC) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 34P9LRcaC006894, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 34P9LRcaC006894 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Thu, 25 May 2023 17:21:27 +0800 Received: from RTEXMBS05.realtek.com.tw (172.21.6.98) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Thu, 25 May 2023 17:21:39 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXMBS05.realtek.com.tw (172.21.6.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 25 May 2023 17:21:38 +0800 Received: from RTEXMBS01.realtek.com.tw ([fe80::4d7:e49a:674a:598]) by RTEXMBS01.realtek.com.tw ([fe80::4d7:e49a:674a:598%5]) with mapi id 15.01.2375.007; Thu, 25 May 2023 17:21:38 +0800 From: Kailang To: Takashi Iwai 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 Thread-Topic: Fwd: [Bug 217440] New: ALC236 audio disappears from HP 15z-fc000 on warm boot Thread-Index: AQHZhdSOD7kY6mXBDkGA3ryhp811r69Yu5SAgAASNACAAA22gIAA7n+AgAEJrYCABLe/YIAJNIWAgAIHAcA= Date: Thu, 25 May 2023 09:21:38 +0000 Message-ID: <7da2fdfdae614b1c98deda6e11ca34eb@realtek.com> References: <87cz338ix4.wl-tiwai@suse.de> <874jodlnmi.wl-tiwai@suse.de> <415d4bc84aa74c74af913048f28b42a9@realtek.com> <87fs7mdofi.wl-tiwai@suse.de> In-Reply-To: <87fs7mdofi.wl-tiwai@suse.de> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.102.106] x-kse-serverinfo: RTEXMBS05.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback > -----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 >=20 >=20 > External mail. >=20 >=20 >=20 > 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 !=3D 0x10ec0236 && > > > > - codec->core.vendor_id !=3D 0x10ec0257) > > > > + if (codec->core.vendor_id !=3D 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. >=20 > Kailang, any chance to get this fixed? Sorry! My test machine didn't work. I couldn't have a machine to do this te= st. But I find one ChromeBook with ALC236 today. > Otherwise I'll revert the commit as a temporary solution at first. > You can re-apply the change (with the proper workaround for this > problem) later, too. >=20 >=20 > thanks, >=20 > Takashi >=20 > ------Please consider the environment before printing this e-mail.