glfs/multimedia/libdriv/alsa/driver/alsa-driver-inst.xml
Larry Lawrence a75063d4ec seperating para and screen sections
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1223 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-27 18:46:10 +00:00

36 lines
1.5 KiB
XML

<sect2>
<title>Installation of <application><acronym>ALSA</acronym>-driver</application></title>
<para>Before installing the <acronym>ALSA</acronym> 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
<acronym>ALSA</acronym> driver modules.</para>
<note><para>Because <acronym>ALSA</acronym> 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 alsa drivers, you
will need to create the <filename class="directory">/dev</filename> entries
using the script provided in the <acronym>ALSA</acronym>-driver source
tree:</para>
<screen><userinput><command>./snddevices</command></userinput></screen>
</sect2>