8 January 2006

ALSA sound: my hack

I have had problems with ALSA sound whenever I install and start using a new kernel. Here is what I do to make it work each time. It is here mainly for my records and help for others.
  1. Run alsaconf to reconfigure ALSA for your soundcard and loading of appropriate kernel module.
  2. Stop ALSA: ~$ /etc/init.d/alsa-utils stop
  3. Delete the file asound.state: ~$ rm /var/lib/alsa/asound.state
  4. Restart ALSA: ~$ /etc/init.d/alsa-utils start
This makes ALSA behave normally and sound is back again.