]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
README: document the ALSA state file clearing
authorJaroslav Kysela <perex@perex.cz>
Wed, 19 Jun 2024 07:05:39 +0000 (09:05 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 19 Jun 2024 07:05:39 +0000 (09:05 +0200)
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/425
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
README.md

index f601f947b5f8c8d55aa1f39b3703ac973aff2089..71643158b74c0a87755bbf6bb79761e0de36710d 100644 (file)
--- 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)