Installation of alsa-driver
Before installing the alsa-drivers note that in your kernel
configuration you should have Sound Card Support
(CONFIG_SOUND) enabled but nothing else in
the Sound menu (with the possible exception of TV Card Mixer support. In
particular you should not have OSS Sound
Modules enabled as this will cause problems when loading the
alsa driver modules.
Install alsa-driver using the following commands as a template:
./configure \
--with-moddir=/lib/modules/<kernel-version>/kernel/drivers/sound/ \
--with-kernel=<path-to-kernel-source-tree-to-build-for> \
--with-sequencer=yes \
--with-oss=yes \
--with-isapnp=no \
--with-cards=<soundcards-to-compile> &&
make &&
make install
If this is the first time you have installed the alsa drivers, you
will need to create the /dev entries
using the script provided in the alsa-driver source tree:
./snddevices