glfs/multimedia/libdriv/alsa/driver/alsa-driver-config.xml
Bruce Dubbs 96ee548152 Yet more grammar
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2265 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-06-04 14:47:01 +00:00

48 lines
1.6 KiB
XML

<sect2>
<title>Configuring <application><acronym>ALSA</acronym> Driver</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/modules.conf</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>To configure the <acronym>ALSA</acronym> drivers, you need to add some
lines to <filename>/etc/modules.conf</filename>:</para>
<screen><userinput><command>cat &gt;&gt; /etc/modules.conf &lt;&lt; "EOF"
alias char-major-14 soundcore
alias char-major-116 snd
alias snd-card-0 snd-<replaceable>[soundcard-name]</replaceable>
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi
EOF</command></userinput></screen>
<para><replaceable>[soundcard-name]</replaceable> needs to be replaced with the
driver relevant to your sound card. If you have more than one sound card, you
can add additional sections by repeating the above, changing the first 0 to
1 and so on.</para>
<para>After editing <filename>/etc/modules.conf</filename> you need to run
<command>depmod</command>. If the drivers you have compiled are for the
version of the kernel you are currently running, simply run:</para>
<screen><userinput><command>depmod</command></userinput></screen>
<para>If you are compiling drivers for a different kernel version than those
you are running, you will need to use a line similar to:</para>
<screen><userinput><command>depmod -a 2.4.22 -F /boot/System.map-2.4.22</command></userinput></screen>
</sect3>
</sect2>