Could find little info on this topic by searching the forum. This took me quite a while to resolve. Hope to save someone else some grief. The problem I faced was default alsamixer levels were WAY too low for my Dell L400. Combed through this wiki
http://wiki.tinycorelinux.net/wiki:setting_up_sound but ran into a couple of walls. Here's what I did to get alsa mixer levels to persist.
* To get sound working
at all I had to install alsa.tcz OnBoot. (To get Skype audio working I also had to add alsa-oss.tcz OnBoot.)
* I ran
sudo alsaconf but sound was already working at that point so it was probably moot.
* Per the wiki, using editor I then added the following lines to
/opt/.filetool.lstopt/alsa
etc/modprobe.conf
etc/asound.stateProblem was at shutdown there was a backup error because
etc/asound.state does not exist at this point and my sound settings were not being restored. Reading further down the wiki I found the command
alsactl store but it needs to be run as root. So I ran
sudo alsactl store which then creates
/usr/local/etc/asound.state not
/etc/asound.state. Still getting the file not found backup error I changed the last line of
/opt/.filetool.lst to
usr/local/etc/asound.state minus the preceding forward slash.
* In terminal I ran
sudo editor, opened
/opt/bootlocal.sh and added
alsactl restore at the end. Worthy of note, I did NOT have to add to bootlocal.sh
/bin/sleep 5
/usr/local/etc/init.d/alsasound startNow my new default mixer levels are restored at each boot. To change default values now I just set the desired levels, open a terminal and do
sudo alsactl store and done.
Z