#988433 alsa-utils initialization script not effective any more since move to systemd

Package:
alsa-utils
Source:
alsa-utils
Description:
Utilities for configuring and using ALSA
Submitter:
Samuel Thibault
Date:
2021-05-13 01:09:04 UTC
Severity:
important
Tags:
#988433#5
Date:
2021-05-13 01:06:40 UTC
From:
To:
Hello,

Since the move to systemd, the alsa-utils init script is not getting
started at all any more. This broke setting the initial volumes of sound
cards to hearable values, which was essential for speech accessibility
of a Debian system. It seems some drivers initialize with a very low
volume. We cannot chase all such drivers, that was precisely why the
sanify_levels call from alsa-utils was made to just use amixer to set
proper volumes of Master/PCM/etc.

How to reproduce:

- install Debian with a graphical desktop enabled, so that the
alsa-utils gets automatically installed
- at first reboot, run amixer, see that the Master/PCM/etc. levels are not at 80%
- $ source /usr/share/alsa/utils.sh
- $ sanify_levels 0
- run amixer, see that the Master/PCM/etc. levels are now properly set
more or less at 80%

For speech to be hearable in general immediately after installation,
levels must be more or less at 80% at the second step, not only after
calling sanify_levels by hand.

Samuel