Align UCM with the topology change that added dedicated multimedia
frontends for DisplayPort (commit c8d6762 "ASoC: qcom:
x1e80100-LENOVO-Thinkpad-T14s: add dedicated multimedia frontend for
DisplayPort").
- SectionVerb EnableSequence: enable DISPLAY_PORT_RX_0/1/2 on
MultiMedia5/6/7 (remove the old MultiMedia1 "0" settings).
- Headphones: disable the DP mixers on the new dedicated streams.
- HDMI0/1/2 devices: route each DISPLAY_PORT_RX_* to its own
MultiMedia frontend, use dedicated PlaybackPCM "hw:${CardId},4/5/6",
add explicit PlaybackChannels 2, and keep the existing JackControl.
This gives independent DP audio streams and matches the new topology.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/754
Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||
|---|---|---|
| .github/workflows | ||
| ucm | ||
| ucm2 | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| VERSION | ||
alsa-ucm-conf
ALSA Use Case Manager configuration
Installation
Copy the ucm and ucm2 trees to the alsa-lib configuration directory (usually located in /usr/share/alsa) including symlinks. The files in the package root directory (README.md, LICENSE and VERSION) files are extra (only informational).
Example:
tar xvjf alsa-ucm-conf-1.2.6.2.tar.bz2 -C /usr/share/alsa --strip-components=1 --wildcards "*/ucm" "*/ucm2"
The latest configuration can be obtained with those commands:
curl -L -o alsa-ucm-conf.tar.gz https://github.com/alsa-project/alsa-ucm-conf/archive/refs/heads/master.tar.gz
tar xvzf alsa-ucm-conf.tar.gz -C /usr/share/alsa --strip-components=1 --wildcards "*/ucm" "*/ucm2"
State file
Some values may be set only one time by UCM and then they are saved to the global ALSA sound state file. Please, make sure that this state is cleared, if you have an issue.
Commands for standard systemd setup (relogin is required):
systemctl stop alsa-state
rm /var/lib/alsa/asound.state
systemctl start alsa-state
Validation
The UCM configurations are automatically validated using the UCM validator available at https://github.com/alsa-project/alsa-tests/tree/master/python/ucm-validator .
If you create a pull request for new hardware, please, add also the alsa-info.sh output to emulate this hardware in the UCM validator.