Every time I reboot I loose my sound. I can consistently get it back by running (alsaconf) then I’m OK with the session.
If I reboot and go check the sound with the sound preferences application it locks up and I have to force quit the app.
Then if I try to reboot the whole system locks up and everything is frozen and have to hit the power button to shut down.
It almost seems as though when I reboot the incorrect sound drivers (or corrupt, conflicting) are loaded and I have to reset it with alsaconf.
Is there anything I should be looking for or changing?
Next time you reboot, and you have no sound, try typing:su -c ‘rcalsasound restart’ and enter root password when prompted for a password.
If that works, then put the line
rcalsasound restart
at the end of your /etc/init.d/boot.local file.
I’ve read of users who use ndiswrapper for their wireless having this problem (as the ndiswrapper load interfers with the initial boot sound kernel module load).
I tried that and it works but not the way it should.
When I run that command and try to test the sound with sound preferences and click the “test” button under “sound events” I get the following error:
I prefer the following sound test (copy and paste into a gnome-terminal or konsole):speaker-test -Dplug:front -c2 -l5 -twav
In your /etc/init.d/boot.local assume you did not put any quotes around ‘rcalsasound restart’ as that would cause a syntax problem.
Immediately after you boot your PC, you could look at your dmesg to see if it has any errors. You can check dmesg by typing in a gnome-terminal or konsole:dmesg > dmesg.txtand then use a text editor to open dmesg.txt and examine the contents. Search it for occurrences of “snd” or “hda” or “alsa” or other sound related keywords.