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 94777606A322 for ; Fri, 4 Dec 2026 03:17:27 +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=Tm78pTB9 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 A298560324; Fri, 4 Dec 2026 04:17:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A298560324 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1796354245; bh=8rnNTX/KlYeM58YoN2C/9XA4iapLOU+dm++XJYjKChM=; 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=Tm78pTB9N3opNiPN71NCHv7GAlp+OifObKR5PAColT0qNsUaPunI+pT7ziT4n3/Zu buyyygZfNghL8FU7yyUNwvL/BM3Fa8YQW23BdvdfRdfan3cX6h59BmAFk9EevxKz6Z IZ00PosG1JEjoEXk3OFls7TzjmxlsoUNZFTLVacM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id ECB8FF805FF; Fri, 4 Dec 2026 04:16:50 +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 8EB9DF805F3; Fri, 4 Dec 2026 04:16:50 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 32D0EF80580; Fri, 4 Dec 2026 04:16:43 +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=1796354202; b=HRgtDLqe5s8eQnkzESViMbxCA7DOAKAlm/AeQFobTSR7ag++tEPL/tL+KJ5/zLqeN0rP utqEsjR2kIHJyX6PLdHtXmUmXRh3NEZRmnlHwU53QDVYCeEltnJGUSFCP768gaoSAxeje rrbYwhcK/niV8pmLiRmoykDpK4x7VuKBICK6F3FYZ5B1yxtXr0L1xBlb3AL8FmKPZ+xZV VYLSWkMevCZwG9WQrDAomyBX5rDlygBxEDMzBxELNGTskM98Vytpcvaz0p7NQ/n9AM5Dv jQK3zb+M17wferhw54Bjp9IhIvpJ9wCZov+yJKNzPRhDXGVD7OFIVg6rE4OaF9RUpVQ== ARC-Message-Signature: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; c=relaxed/simple; t=1796354202; h=MIME-Version:From:To:Message-Id:Subject; bh=8rnNTX/KlYeM58YoN2C/9XA4iapLOU+dm++XJYjKChM=; b=oidMA6ZsUJnMdFqs9ojMQrAefVhlGwOXIhE0pPWZLzKLtlDDW11aIKGwENQk4HCTz84i RYnTkEDSILmDDukzkhhKJEkHAiAHR4ApV2dd0FVmJZWtZ1Kbca9r9QjaE4eJiJnSsz5uS k9WnRMWI2eSOTX6+iibi26ZbYraym9dLCIuElgijbiBoJnRwJYkezgX5E6V6y++ceoU1d yS2dBqTPt6Mp+I9nzn8906lBxmOjBxWzlYlElstJMA3aiDMQRGv1Op8YIs1/YDJ0u84OQ VxnV9Z9d3L/hPqFYLnGSLBxq5bE+Nh7A6Zhkx7rfOdD/XlPsBWpYnLDLJRNW0jXfioQ== 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 523BDF80020 for ; Fri, 4 Dec 2026 04:16:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 523BDF80020 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: <18edeea0aa909300-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 04:16:43 +0100 (CET) Message-ID-Hash: AGFCVHT4ZKAXSAUA7DDB4KL5KGQCKVD7 X-Message-ID-Hash: AGFCVHT4ZKAXSAUA7DDB4KL5KGQCKVD7 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. - `38386b5` `ucm2: sof-soundwire/rt721: expose headphone hardware volume and mute` Bind the Headphones device to the `rt721 FU05` mixer element and create a virtual `rt721 FU05 Playback Switch` from `Headphone Switch`. Guard the remap with `HeadsetCodec1` for RT721 headset configurations. ## Testing Tested on ASUS ProArt PX13 HN7306EA (AMD ACP SoundWire, RT721 + 2x TAS2783) with kernel 7.4.0-rc5-00107: - Speaker: `tas2783-1`/`tas2783-2` change `153,153` -> `174,174` -> `153,153` when the sink volume changes 40% -> 60% -> 40%. - Speaker mute toggles `Left Spk Switch` and `Right Spk Switch` off/on. - Headphones: `rt721 FU05` changes `32,32` -> `70,70` -> `32,32` when the sink volume changes 20% -> 60% -> 20%. - Headphones mute toggles `Headphone Switch` off/on. - PipeWire reports `HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME` for the Headphones sink and `HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME` for the Speaker sink. - `alsaucm -c hw:1 dump text` shows the expected `PlaybackMixer`, `PlaybackMixerElem`, `PlaybackVolume` and `PlaybackSwitch` values. - No TAS2783/ASoC errors appeared after reboot with the updated kernel. ## Notes - The TAS2783 remap is intentionally two-amplifier only. Four-amplifier systems keep the existing software-volume fallback. - The RT721 virtual switch remap is guarded by `HeadsetCodec1`, so it is only added for RT721 headset configurations. 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