From: Jaroslav Kysela Date: Wed, 19 Jun 2024 07:05:39 +0000 (+0200) Subject: README: document the ALSA state file clearing X-Git-Tag: v1.2.13~56 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c1920e95d476c33f4b43484f14c36149829e514a;p=alsa-ucm-conf.git README: document the ALSA state file clearing Link: https://github.com/alsa-project/alsa-ucm-conf/issues/425 Signed-off-by: Jaroslav Kysela --- diff --git a/README.md b/README.md index f601f94..7164315 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,20 @@ curl -L -o alsa-ucm-conf.tar.gz https://github.com/alsa-project/alsa-ucm-conf/ar 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](https://github.com/alsa-project/alsa-ucm-conf/workflows/Validate%20UCM%20configuration/badge.svg?branch=master)