No description
Find a file
Zoran Zhan 63f161cb8d ucm2: MediaTek: mt8365-evk: Add SOF support
Add support for MT8365 EVK with SOF enabled. When SOF is
disabled, the "HiFi" use case is used; when SOF is enabled,
the "SOF" use case is used.

The main difference compared to the UCM with SOF disabled is
the device number for playback and capture, which now uses the
PCMs for SOF instead.

Define these parameters as variables for each case (with and
without SOF), and move the common initialization to init.conf,
so the UCM can be shared by both configurations.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/583
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2025-06-24 15:12:02 +02:00
.github/workflows github: use ucm-validator2, use actions/checkout@v4 2025-01-08 21:57:38 +01:00
ucm chtrt5645: adapt to ucm2 2019-11-21 14:57:59 +01:00
ucm2 ucm2: MediaTek: mt8365-evk: Add SOF support 2025-06-24 15:12:02 +02:00
.gitignore Add .gitignore to skip backup files 2019-09-27 10:32:27 +02:00
LICENSE Initial commit 2019-07-31 19:38:52 +02:00
README.md README: document the ALSA state file clearing 2024-06-19 09:05:39 +02:00
VERSION Release v1.2.14 2025-04-14 10:26:24 +02:00

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

Validate UCM configuration

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.