glfs/multimedia/libdriv/alsa/driver/alsa-driver-inst.xml

39 lines
1.6 KiB
XML
Raw Normal View History

<sect2>
<title>Installation of <application><acronym>ALSA</acronym>-driver</application></title>
<para>Before installing the <application><acronym>ALSA</acronym></application>
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
<application><acronym>ALSA</acronym></application> driver modules.</para>
<note><para>Because <application><acronym>ALSA</acronym></application> drivers
are kernel modules, they must be compiled with the same compiler the kernel has
used.</para></note>
<para>Install <application><acronym>ALSA</acronym>-driver</application> using
the following commands as a template:</para>
<screen><userinput><command>CC=/opt/gcc-2.95.3/bin/gcc ./configure \
--with-moddir=/lib/modules/`uname -r`/kernel/drivers/sound \
--with-kernel=/lib/modules/`uname -r`/build \
--with-sequencer=yes \
--with-oss=yes \
--with-isapnp=no \
--with-cards=all &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
<para>If this is the first time you have installed the
<application><acronym>ALSA</acronym></application> drivers, you
will need to create the <filename class="directory">/dev</filename> entries
using the script provided in the
<application><acronym>ALSA</acronym></application> driver source
tree:</para>
<screen><userinput><command>./snddevices</command></userinput></screen>
</sect2>