2002-08-27 07:44:12 +08:00
|
|
|
<sect2>
|
2003-09-25 08:34:50 +08:00
|
|
|
<title>Installation of <application><acronym>ALSA</acronym>-driver</application></title>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
2003-09-30 02:17:55 +08:00
|
|
|
<para>Before installing the <application><acronym>ALSA</acronym></application>
|
|
|
|
drivers note that in your
|
2003-09-25 08:34:50 +08:00
|
|
|
kernel configuration you should have <userinput>Sound Card Support
|
2002-08-27 07:44:12 +08:00
|
|
|
(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
|
2003-09-30 02:17:55 +08:00
|
|
|
<application><acronym>ALSA</acronym></application> driver modules.</para>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
2003-09-30 02:17:55 +08:00
|
|
|
<note><para>Because <application><acronym>ALSA</acronym></application> drivers
|
|
|
|
are kernel modules, they must be compiled with the same compiler the kernel has
|
2003-09-20 11:56:53 +08:00
|
|
|
used.</para></note>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
2003-09-25 08:34:50 +08:00
|
|
|
<para>Install <application><acronym>ALSA</acronym>-driver</application> using
|
|
|
|
the following commands as a template:</para>
|
2003-09-20 11:56:53 +08:00
|
|
|
|
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
|
|
|
|
2003-09-30 02:17:55 +08:00
|
|
|
<para>If this is the first time you have installed the
|
|
|
|
<application><acronym>ALSA</acronym></application> drivers, you
|
2002-08-27 07:44:12 +08:00
|
|
|
will need to create the <filename class="directory">/dev</filename> entries
|
2003-09-30 02:17:55 +08:00
|
|
|
using the script provided in the
|
|
|
|
<application><acronym>ALSA</acronym></application> driver source
|
2003-09-28 02:46:10 +08:00
|
|
|
tree:</para>
|
|
|
|
<screen><userinput><command>./snddevices</command></userinput></screen>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
</sect2>
|