From c1920e95d476c33f4b43484f14c36149829e514a Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 19 Jun 2024 09:05:39 +0200 Subject: [PATCH] README: document the ALSA state file clearing Link: https://github.com/alsa-project/alsa-ucm-conf/issues/425 Signed-off-by: Jaroslav Kysela --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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) -- 2.47.1