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 AA40EC77B6C for ; Wed, 29 Mar 2023 09:49:55 +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 54C671F9; Wed, 29 Mar 2023 11:49:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 54C671F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1680083393; bh=Ua27sv+ubKsSyvEuCp3HhNCZEJP9ZDyNIEHeZc/rrQs=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=mD3SUdusysf8MGR/n6mJDc6Ty/3gXjcPqN2sE+hQLBD4NLkU/QX1IukCKa1ksDDnt zr8Zxjm1jWSdpX2mQk9rHo1OYVEZoMSZSWYG968qZwDwEekn1MIS22MJufPGpO5RCw vdzC1NXD6MbcprH3oZQ34ZiKvn79jAKkKMaV0zrY= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CB16BF80272; Wed, 29 Mar 2023 11:48:38 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7BC6CF80272; Wed, 29 Mar 2023 11:48:34 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 132FBF80249 for ; Wed, 29 Mar 2023 11:48:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 132FBF80249 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - edited To: alsa-devel@alsa-project.org In-Reply-To: <1680083312963936090-webhooks-bot@alsa-project.org> References: <1680083312963936090-webhooks-bot@alsa-project.org> Subject: ALC1220 DualCodec - changing to headphone (front panel) port doesn't work without toggling pro audio profile Message-Id: <20230329094834.7BC6CF80272@alsa1.perex.cz> Date: Wed, 29 Mar 2023 11:48:34 +0200 (CEST) Message-ID-Hash: WXOQXXPA57RNI7RLVBSLAYBTTGPDJB2E X-Message-ID-Hash: WXOQXXPA57RNI7RLVBSLAYBTTGPDJB2E X-MailFrom: github@alsa-project.org 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: alsa-project/alsa-ucm-conf issue #299 was edited from metronidazole: I have a Gigabyte x570 aorus pro motherboard with the ALC1220 audio device using the dualcodec model. I have two issues: A. jack sense doesnt work. I'm not sure if this is a UCM thing, but in my desktop environment (KDE Plasma 5.27) the headphones port shows as "unplugged" in system settings, and hdajacksensetest shows it as not detected "Pin 0x1b (Green Headphone, Front side): present = No". this is a minor issue B. more importantly, when i want to use my frontpanel headphones input, i have to do the following work around otherwise no sound comes out: 1. Start with Profile set to 'analog stereo output' and port 'line out' 2. Plug in headphones and set port to 'headphones (unplugged)' -> sound stops from speakers (rear line out port) and there is no output from the headphoens 3. Set profile to pro audio -> audio comes through headphones (front port). **to return back to speakers (rear out)** 4. Set profile to analog stereo output) and change the port to 'headphones (unplugged)' and then back to 'line out' -> sound comes out of speakers I have attached some debug info below: [alsa-info.txt](https://github.com/alsa-project/alsa-ucm-conf/files/11099085/alsa-info.txt) [alsaucm.txt](https://github.com/alsa-project/alsa-ucm-conf/files/11099087/alsaucm.txt) Any help would be appreciated Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/299 Repository URL: https://github.com/alsa-project/alsa-ucm-conf