I found that my Creative Soundblaster doesnt play sound if IEC958 is enabled in alsa mixer settings (gnome-alsamixer). So I had to disable it manually every time I boot.
To restore alsa settings automatically at boot:
First save settings after properly configuring it:
alsactl store 0[/code]
orsudo alsactl store 0
sudo kate /etc/rc.local[/code]
Add the following to /etc/rc.local:
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# By default this script does nothing.
If while running alsactl store, you get a message "Cannot open /var/lib/alsa/asound.state for writing: Permission denied", and furthermore another message "Home directory not ours" while running it as sudo, then you have to temporarily change the permissions on the file to enable writesudo chmod 777 /var/lib/alsa/asound.state
alsactl store 0
sudo chmod 644 /var/lib/alsa/asound.state[/code]
You may also require to clear the pulse audio settings to be certain that they dont get loaded up.rm ~/.pulse/*[/code]
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.