2002-08-27 07:44:12 +08:00
|
|
|
<sect2>
|
2003-09-20 11:56:53 +08:00
|
|
|
<title>Installation of <application>alsa-driver</application></title>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
<para>Before installing the alsa-drivers note that in your kernel
|
|
|
|
configuration you should have <userinput>Sound Card Support
|
|
|
|
(CONFIG_SOUND)</userinput> enabled but <emphasis>nothing</emphasis> else in
|
|
|
|
the Sound menu (with the possible exception of TV Card Mixer support. In
|
|
|
|
particular you should <emphasis>not</emphasis> have <userinput>OSS Sound
|
|
|
|
Modules</userinput> enabled as this will cause problems when loading the
|
|
|
|
alsa driver modules.</para>
|
|
|
|
|
2003-09-20 11:56:53 +08:00
|
|
|
<note><para>Because alsa drivers are kernel
|
|
|
|
modules, they must be compiled with the same compiler the kernel has
|
|
|
|
used.</para></note>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
2003-09-20 11:56:53 +08:00
|
|
|
<para>Install <application>alsa-driver</application> using the following
|
|
|
|
commands as a template:</para>
|
|
|
|
|
2003-09-23 09:53:08 +08:00
|
|
|
<screen><userinput><command>CC=/opt/gcc-2.95.3/bin/gcc ./configure \
|
2003-06-04 10:39:18 +08:00
|
|
|
--with-moddir=/lib/modules/`uname -r`/kernel/drivers/sound \
|
|
|
|
--with-kernel=/lib/modules/`uname -r`/build \
|
2002-08-27 07:44:12 +08:00
|
|
|
--with-sequencer=yes \
|
|
|
|
--with-oss=yes \
|
|
|
|
--with-isapnp=no \
|
2003-06-04 10:39:18 +08:00
|
|
|
--with-cards=all &&
|
2002-08-27 07:44:12 +08:00
|
|
|
make &&
|
2003-09-20 11:56:53 +08:00
|
|
|
make install</command></userinput></screen>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
<para>If this is the first time you have installed the alsa drivers, you
|
|
|
|
will need to create the <filename class="directory">/dev</filename> entries
|
|
|
|
using the script provided in the alsa-driver source tree:
|
2003-09-20 11:56:53 +08:00
|
|
|
<screen><userinput><command>./snddevices</command></userinput></screen></para>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
</sect2>
|