Skip to content

Commit

Permalink
README: document the ALSA state file clearing
Browse files Browse the repository at this point in the history
Link: #425
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
perexg committed Jun 19, 2024
1 parent 13022a9 commit c1920e9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c1920e9

Please sign in to comment.