From: GitHub pull_request - edited <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: ucm2: sof-soundwire: fix TAS2783 and RT721 volume on ASUS ProArt PX13
Date: Fri, 4 Dec 2026 04:16:43 +0100 (CET) [thread overview]
Message-ID: <18edeea0aa909300-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <alsa-project/alsa-ucm-conf/pr/941@alsa-project.org>
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
next prev parent reply other threads:[~2026-12-04 3:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alsa-project/alsa-ucm-conf/pr/941@alsa-project.org>
2026-12-04 2:11 ` ucm2: sof-soundwire: fix TAS2783 and RT721 volume on ASUS ProArt PX13 GitHub pull_request - opened
2026-12-04 2:12 ` GitHub pull_request - edited
2026-12-04 3:16 ` GitHub pull_request - edited [this message]
2026-12-04 4:09 ` GitHub pull_request - edited
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18edeea0aa909300-webhooks-bot@alsa-project.org \
--to=github@alsa-project.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.