You'll have to add a script that runs alsactl restore on boot or when you log in, but that's not really my area.
This is probably not the smothest way, but you could PROBABLY do it something like this:
1. Create a file in /etc named .alsareload
2. Add the following in it:
Code:
#!/bin/bash
function alsarestore {
echo "Restoring ALSA-settings"
alsactl restore
echo "ALSA-settings restored, hopefully :)"
}
3: Then add the following line in your ~/.bash_profile
Code:
if [ -f /etc/.alsareload ]; then
. /etc/.alsareload
fi
Done. Reboot. This should run alsactl restore every time you log on as the user who has the .bash_profile. Just copy it to other users homedirs if you need too. There are other ways of doing it, but as I said, it's not what I'm good at
If the alsarestore file won't do the trick, replace "the alsactl restore"-line with something like:
Code:
. /usr/bin/alsactl restore
Good luck.
/Marcus