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 CE264606A322 for ; Fri, 4 Dec 2026 02:11:56 +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=l9pqzfhd 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 B30316031A; Fri, 4 Dec 2026 03:11:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B30316031A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1796350314; bh=hUSwk3QVx8cBjqWjDqQqvJcdjl2YsZ+7kcHrAu4b698=; 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=l9pqzfhdVzEagFEKnLaXTHy270GS3zruQtMdtNoyUBDL4zaeQs+qL0LyOmgaS3xAE MB38Fpqj5spUR/uzLUVdYo6eMiuvS7wxPtWsVoZ9HuBUOjDhfNrxZGn6jBU10GRcKc eMC7g0kX4f/2xET5LytYzQswWho7AZvO/vPva+is= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 81046F80602; Fri, 4 Dec 2026 03:11:19 +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 94548F805EF; Fri, 4 Dec 2026 03:11:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BE53FF80580; Fri, 4 Dec 2026 03:11:12 +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=1796350271; b=Uw/HDrItYIZGVJfYvOKALSggBRnMhj1+nQOg6mef0Gpy7UVfq22HOlDKFkim6Ac93/YG ZOzBvB4m81U62LjXTaKgunXnCZireZRZBA+8Ltf+oC+NO6OOxKSFRPBgk31S9T+O5EY3K J3A0VT80fmLnMvRkfaBiNb/uNJVD22+/ZZpHq0w7MO4BC1VT9XL+hQxrTZ5HtGqbRra7M nBKAJIyvKTdBDtWUgv/ZiXjIf2dsTev1rwyDEkv3/gsMGze+ce02rDuyX41SHHpJWOC3Q /wksPse9iF8t0imU/IlRGeXSOf/8Z6Szb7sbFOTw9xlvBPKFx7nRroLb/Nd9pXhA5AA== ARC-Message-Signature: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; c=relaxed/simple; t=1796350271; h=MIME-Version:From:To:Message-Id:Subject; bh=hUSwk3QVx8cBjqWjDqQqvJcdjl2YsZ+7kcHrAu4b698=; b=b75OSGB7JaROU676ISU7c1wQLi5S0n22rZX7HIne7FhHlXhK/fZlre1Y8YdQyRfCw3rp 5hKF++faiCsAl9Q2sryJZrJLrN+1fBviw6wV157pLs32Femi2HctxvBgu4z/4h8pqAiFf OFFad5yCwVHZ6k9H5DkWQHtTwkySW8wGPQTzLYHmAykCl+O/q8gYX5U2i68sPuPRZoSnH tcmDJNd/XAhb10NKLTXq65S2jz6VQRjFc+fOkB364JtkU4XETfLtQq4lNkI0AvH7RqaDA Q7/t7q4Gs62f6KS/bvHJLjPU270nV2lfLCQG5i2wfqfyEHnYp/Juog6imBMhfHOY6kw== 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 62EFCF80020 for ; Fri, 4 Dec 2026 03:11:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 62EFCF80020 X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org Message-Id: <18edeb0d8c84b800-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:11:12 +0100 (CET) Message-ID-Hash: T7PGXWMEXAKCT54WCXMLSNDLHQWTCAFF X-Message-ID-Hash: T7PGXWMEXAKCT54WCXMLSNDLHQWTCAFF 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 opened 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 - `35a2d19` `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. - `148f822` `ucm2: codecs/tas2783: fix speaker switch names in BootSequence` Use the real DAPM control names. - `11845f5` `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