mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 01:27:16 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1126 af4574ff-66df-0310-9fd7-8a98e5e911e0
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<sect2>
|
|
<title>Installation of <application>alsa-driver</application></title>
|
|
|
|
<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>
|
|
|
|
<note><para>Because alsa drivers are kernel
|
|
modules, they must be compiled with the same compiler the kernel has
|
|
used.</para></note>
|
|
|
|
<para>Install <application>alsa-driver</application> using the following
|
|
commands as a template:</para>
|
|
|
|
<screen><userinput><command>./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 &&
|
|
make &&
|
|
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 alsa-driver source tree:
|
|
<screen><userinput><command>./snddevices</command></userinput></screen></para>
|
|
|
|
</sect2>
|