From the ALSA wiki
NB. If you are using cvs then you need to type
In a shell type these commands:
Make a directory to store the alsa source code in.
cd /usr/src mkdir alsa cd alsa cp /downloads/alsa-* .
Now unzip and install the alsa-driver package
bunzip2 alsa-driver-xxx tar -xf alsa-driver-xxx cd alsa-driver-xxx ./configure --with-snd-card=azt2320 --with-sequencer=yes;make;make install ./snddevices
Now unzip and install the alsa-lib package
cd .. bunzip2 alsa-lib-xxx tar -xf alsa-lib-xxx cd alsa-lib-xxx ./configure;make;make install
Now unzip and install the alsa-utils package
cd .. bunzip2 alsa-utils-xxx tar -xf alsa-utils-xxx cd alsa-utils-xxx ./configure;make;make install
Now insert the modules into the kernel space.
modprobe snd-azt2320 ;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
Now adjust your soundcards volume levels. All mixer channels are muted by default. You must use a native mixer program to unmute appropriate channels,for example alsamixer from the alsa-utils package
- NB. Some soundcards don't utilise the alsamixer program so you will need to learn how to use the amixer program
You can also look at the utils/alsasound file. This script is designed for the RedHat distribution, but it can be used with other distributions which use System V style rc init scripts. This will allow you to load your modules at boot time. Of course if you want to do this you could just compile them into the kernel instead and save yourself the hassle of coming to terms with the rc init scripts.