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 AC739606A332 for ; Fri, 4 Dec 2026 02:13:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.a=rsa-sha256 header.s=default header.b=APjRfttT 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 D5DCA6032B; Fri, 4 Dec 2026 03:12:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D5DCA6032B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1796350380; bh=6z2hCsk44OfBYUia0BV5VImvtgGjDirMeiN0Zbtdv4s=; 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=APjRfttTYpQdxd0pk7SoYq19S1YykymH0gB9rOOHa0kYNeadmSZldmgGDi7EE98cb cDhhHTmaCKP1lPUbTO3QlKygzqMPBPESdsL/oNB3/RsAtZCfrTpD6sle1hRmU4SPWS RV7igIBZ+2I8njJMiDRVoTVpqVFHv7wo1RcYYeIk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5D8B5F80603; Fri, 4 Dec 2026 03:12:28 +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 C7DC3F8055B; Fri, 4 Dec 2026 03:12:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A9017F80580; Fri, 4 Dec 2026 03:12:22 +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=1796350341; b=ouxGlaGjT6zYi5Zok52JSdhD8q+FhuKeZwJxGe+YaE9ynnXEZJyiahQZmdVdAPv+QxV/ Drd3A9kRq3UID2MLva8wmd4Oza5P5RNVV8f9zWfoGVygGibs6NiSmr7gcWV1Bpshz22d+ txg1od90+jL9VrzBSmEtKkTev8mb6FheKRx+QscCd55604FyhxjRhk5V33S1k2CWtQ3J6 ute6s0s/YOpvuUlVre932B5evc6mJScBIwpbzBan15DLa/+GOYN3aKm9/ry6dQUXHcieE Sq7L5voU/Neejq4LF7Hv7HumcJFfqNmtW0bOVKUHmg1ejaO8xVdDxFlW5ibCRdrzS0w== ARC-Message-Signature: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; c=relaxed/simple; t=1796350341; h=MIME-Version:From:To:Message-Id:Subject; bh=6z2hCsk44OfBYUia0BV5VImvtgGjDirMeiN0Zbtdv4s=; b=PncnPDTbg/WHIl3ooc1mUYgzHNeMQ8d3ew3+r4Isa5k+57ZMDtM406IPzJvFevo/E4hw uEoyYmPQx505dYXYkXXLVGA+2XVTK1PFPSGbWBBgLJGT5RtPc/9X/7z86cRL98OEHoSrx hYzEqByoSjqoBQAzpZoxjNVVb3Xx+Am32yC61jV8CwuSjGw107czot1FkB1v7KvNv8hkP PPzG14B7toQbdjIiHvFFZKZ7T2+IXJK20vdxWRGDKnJhbrHA+meQ2ekUTsUfU0KJ8COsN ph+JOmXqVuavrA6Jfut92soZ0dkLkfXXxNvgYw2L351IkJ7v4Ga+Jv189ZuXatW1u0A== 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 7BB02F80020 for ; Fri, 4 Dec 2026 03:12:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7BB02F80020 X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - edited To: alsa-devel@alsa-project.org Message-Id: <18edeb1dfbc04e00-webhooks-bot@alsa-project.org> In-Reply-To: References: Subject: ucm2: sof-soundwire: fix TAS2783 and RT721 volume on ASUS ProArt PX13 Date: Fri, 4 Dec 2026 03:12:22 +0100 (CET) Message-ID-Hash: OKLXK456WAXWKUW53RWJSXLCSHOKQKKU X-Message-ID-Hash: OKLXK456WAXWKUW53RWJSXLCSHOKQKKU 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 pull request #941 was edited from cathay4t: This series fixes the internal speaker and headphone hardware volume/mute on the ASUS ProArt PX13 HN7306EA (AMD ACP SoundWire, RT721 + 2x TAS2783). ## Problem The UCM Speaker and Headphones devices only mapped their playback PCMs, so PipeWire's ACP fell back to software volume/mute controls. - TAS2783: the two amplifiers expose one mono `Speaker Volume` control each plus per-amplifier DAPM speaker switches. There is no stereo `Speaker Playback Volume`/`Switch` pair for ACP to bind. - TAS2783: `BootSequence` used `Left Spk`, `Right Spk`, `Left Spk2` and `Right Spk2`, but the actual controls are `Left Spk Switch` etc. - RT721: the Headphones device did not map `rt721 FU05 Playback Volume` or `Headphone Switch`. ## Changes - `fec8ba0` `ucm2: sof-soundwire: expose TAS2783 speaker hardware volume` Create a stereo `Speaker Playback Volume`/`Switch` from the two mono TAS2783 volume controls and the two speaker switches, and bind it to the Speaker device. This is limited to the two-amplifier topology; one- and four-amplifier systems keep the existing behavior. - `269581a` `ucm2: codecs/tas2783: fix speaker switch names in BootSequence` Use the real DAPM control names. - `f2f2113` `ucm2: sof-soundwire/rt721: expose headphone hardware volume` Bind `rt721 FU05 Playback Volume` and `Headphone Switch` to the Headphones device. ## Testing Tested on ASUS ProArt PX13 HN7306EA (AMD ACP SoundWire, RT721 + 2x TAS2783) with kernel 7.4.0-rc5: - `alsaucm -c hw:1 dump text` with the new tree shows: - Speaker: `PlaybackMixer`, `PlaybackMixerElem "Speaker"` - Headphones: `PlaybackMixer`, `PlaybackVolume`, `PlaybackSwitch` - The TAS2783 virtual `Speaker Playback Volume` maps left/right correctly: setting `150,160` updates `tas2783-1` to 150 and `tas2783-2` to 160. - The TAS2783 virtual `Speaker Playback Switch` toggles both `Left Spk Switch` and `Right Spk Switch`. - `rt721 FU05 Playback Volume` is stereo, range 0..87, 0.75 dB step; `Headphone Switch` is present. ## Notes - The TAS2783 remap is intentionally two-amplifier only. Four-amplifier systems keep the existing software-volume fallback. - The RT721 `PlaybackSwitch` is set unconditionally. Systems without the machine-driver `Headphone Switch` keep hardware volume and fall back to software mute. Request URL : https://github.com/alsa-project/alsa-ucm-conf/pull/941 Patch URL : https://github.com/alsa-project/alsa-ucm-conf/pull/941.patch Repository URL: https://github.com/alsa-project/alsa-ucm-conf