Package: alsa-utils
Version: 1.0.23-3
Severity: wishlist
Both amixer and alsamixer lack an option or button to restore defaults.
Let's say you were drunk last time you used the command and messed
things up. The only way to get it back to the default state is to
probably purge and reinstall the package. Wait, even that didn't help.
If there are no defaults too, then there should be.
At least on the amixer man page give a script that can be used to
restore some reasonable defaults.
Acknowledgement sent
to Oleksandr Gavenko <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Sat, 09 Jan 2016 09:45:05 GMT) (full text, mbox, link).
I believe that channel levels restored by:
$ sudo service alsa-utils restart
Another thing that you should have in mind that script:
/usr/share/alsa/init/default
may override what stored in:
/var/lib/alsa/asound.state
But that is another story.
Internally /etc/init.d/alsa-utils uses:
alsactl -F restore
Man page say:
restore loads driver state for the selected soundcard from the
configuration file. If restoring fails (eventually partly), the init
action is called.
If you does not satisfied by content of:
/var/lib/alsa/asound.state
you may use tip from:
http://askubuntu.com/questions/50067/howto-save-alsamixer-settings
which recommend to change settings in alsamixer and without living alsamixer
run:
$ sudo alsactl store
in another terminal.
Do you like this ideas?
--
http://defun.work/
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.