This works for me using Alsa and TinyCore 6 for sound and persistence:
- add alsa-config.tcz to /etc/sysconfig/tcedir/onboot.lst
- add the following to /opt/bootlocal.sh:
amixer set Master unmute &
amixer set PCM unmute &
amixer set Master 80% &
amixer set PCM 80% &
- on my system if PCM is muted sound does not work
- using Fluxbox, add to .fluxbox/keys to mute/unmute and control volume via keyboard:
Mod4 Up :Exec amixer sset Master,0 1+
Mod4 Down :Exec amixer sset Master,0 1-
Mod4 Left :Exec amixer sset Master,0 toggle
PS: XMMS is still a great music player