mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 01:27:16 +08:00
64bc4bd4a3
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@151 af4574ff-66df-0310-9fd7-8a98e5e911e0
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<sect2>
|
|
<title>Installation of alsa-driver</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>
|
|
|
|
<para>Install alsa-driver using the following commands as a template:</para>
|
|
|
|
<para><screen><userinput>rm include/linux/isapnp.h &&
|
|
./configure \
|
|
--with-moddir=/lib/modules/<kernel-version>/kernel/drivers/sound/ \
|
|
--with-kernel=<path-to-kernel-source-tree-to-build-for> \
|
|
--with-sequencer=yes \
|
|
--with-oss=yes \
|
|
--with-isapnp=no \
|
|
--with-cards=<soundcards-to-compile> &&
|
|
make &&
|
|
make install</userinput></screen></para>
|
|
|
|
<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>./snddevices</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|