From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28E05606A329 for ; Mon, 30 Nov 2026 11:09:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=alsa-project.org header.i=@alsa-project.org header.a=rsa-sha256 header.s=default header.b=XFWQuLZ1 Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (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 alsa0.perex.cz (Postfix) with ESMTPS id 31620601F7; Mon, 30 Nov 2026 12:09:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 31620601F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1796036982; bh=xoNv0zb/NFb+uV6HiQ9wq2K51Ttq453flS8PtefbuA0=; 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=XFWQuLZ1UEymb/YGcV+FD0ZmibFocDys8X+g4tq9P4tTcz1DBSkup/1/AiR3SnH8J zj5U95NE41mCqu3y1URznUAtJxeb31bKirBBGTndOfOMA73+YRwlpCASVeaFdop+SO m/qk4DqhymHq3htBOAb3KVD4TsnsiyX5uAKxyWxo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id F29FAF805FB; Mon, 30 Nov 2026 12:09:08 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 185A3F805F2; Mon, 30 Nov 2026 12:09:08 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 18F82F8026A; Mon, 30 Nov 2026 12:09:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: alsa1.perex.cz; arc=none smtp.remote-ip=45.14.194.44 ARC-Seal: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; cv=none; t=1796036939; b=J+jxFk1AR5w5SOwPzLnbo9OpcdSG+Zvii9T2td/WMO9xG0qdykcOYYNlkFJugBE/tOch PMHlp7FMiLFxLILDGxEVUFVKO1KfMfK+3pkELTolZgRJ8C1zkJ5HhKILPvw2s8aTf2BEY AaGY+UzMofkq2nHqguli1LOlOFpiVk5ShfrcQFIkhXUWxZg1zQT8XfTYGcb/7bX3bu8P6 XU8TRVclw9UNxaA+Sk69NcMyfaPI8SFX4kI5qiwZIU445X3sUzX1kn3HEsujF8yNNLfta 1tABigAo4ziBFVnH4aLU9l1yMaJMS0XsKmEs9ikIXxCkIpbsdQ9yjk6lbSVN/BCk66w== ARC-Message-Signature: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; c=relaxed/simple; t=1796036939; h=MIME-Version:From:To:Message-Id:Subject; bh=xoNv0zb/NFb+uV6HiQ9wq2K51Ttq453flS8PtefbuA0=; b=a+5JYY559KQsRg/axpEFDkqRHxxYo2tlV1L7IOb9OMIFq68WahV0ltES44FXyo9U17Ij Bqa6i3TBJDltufkqBKHe4B9h8fHzhv81dLD4QAVqt3ShqainKpYW+bLcHiij73CjXkRxx msZ5pGS/rCo5VWJOudQa+mXIXYrx9Xyi4NF+pYBTAEXkEnW85MwWPSiCrfZBsVRP89RVN DaTKjiXTOx09ChbD3ybBceFk0+hnlFBsYxeLaqJAdXJdY1RcM78dBcV7Kgk8JRckBZ8jm FB0n62+e1WQ2XbbSsrWVX1MQMsmv5FSDOIilqJPe7PI1jaMql2sgcLkN0GKGxeDi+ew== ARC-Authentication-Results: i=1; alsa1.perex.cz; arc=none smtp.remote-ip=45.14.194.44 Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id 02F09F80152 for ; Mon, 30 Nov 2026 12:08:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 02F09F80152 X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org Message-Id: <18ecce142fd0f400-webhooks-bot@alsa-project.org> In-Reply-To: <18ecce142fb06e00-webhooks-bot@alsa-project.org> References: <18ecce142fb06e00-webhooks-bot@alsa-project.org> Subject: sof-soundwire: cs42l45 has no Line Out device, jack silent with amps/aux cables Date: Mon, 30 Nov 2026 12:09:00 +0100 (CET) Message-ID-Hash: CLDCPE7FX4TR2VHFXXC342IFPX3KNVOQ X-Message-ID-Hash: CLDCPE7FX4TR2VHFXXC342IFPX3KNVOQ X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 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: alsa-project/alsa-ucm-conf issue #934 was opened from xsi-dbachmann: Hardware: Dell XPS 14 (DMI DellInc.-XPS14DA14260-0TVXV7, SSID 10280db9), cs42l45 on SoundWire link 0 (UAJ function via the SDCA class driver), cs35l57 amps. Software: kernel 7.3.7, alsa-ucm-conf 1.2.16.1, alsa-lib 1.2.16.1, PipeWire 1.6.12, WirePlumber 0.5.19 (Arch based). Plugged an aux cable to an amplifier into the 3.5 mm jack and got no sound. The codec detects it fine, just as line out: ``` cs42l45 GE 35 Detected Mode = 5 (LineOut Stereo) cs42l45 OT 44 LineOut Stereo Jack = on cs42l45 OT 43 Headphone Jack = off ``` `ucm2/sof-soundwire/cs42l45.conf` only has a Headphones device with `JackControl "cs42l45 OT 43 Headphone Jack"`, so the port stays "not available" and PipeWire never routes to it. Forcing `GE 35 Selected Mode` to Headphone doesn't stick, the codec puts it back to 5. Unmuting `cs42l45 Headphone Playback Switch` (FU 41) by hand and playing to hw:X,0 does come out of the amp, so the output path is shared. Adding this device fixes it here: ``` SectionDevice."Line1" { Comment "Line Out" Value { PlaybackPriority 150 PlaybackPCM "hw:${CardId},0" PlaybackMixer "default:${CardId}" PlaybackMixerElem "cs42l45 Headphone" JackControl "cs42l45 OT 44 LineOut Stereo Jack" } } ``` With it, PipeWire shows a "Line Out" port as available when the amp is plugged in, WirePlumber picks the HiFi profile with Line, and audio plays. Since Headphones and Line1 share the PCM, ACP puts them in separate profiles, which works but maybe there is a nicer way to express it. Didn't test LineIn (IT 32) or a headset with mic in the same session. Happy to test a proper patch. Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/934 Repository URL: https://github.com/alsa-project/alsa-ucm-conf