2002-08-27 07:44:12 +08:00
|
|
|
<sect2>
|
2003-09-25 08:34:50 +08:00
|
|
|
<title>Configuring <application><acronym>ALSA</acronym>-driver</application></title>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
|
|
|
|
2003-04-21 06:15:01 +08:00
|
|
|
<para><filename>/etc/modules.conf</filename></para>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-09-25 08:34:50 +08:00
|
|
|
<para>To configure the <acronym>ALSA</acronym> drivers, you need to add some
|
|
|
|
lines to <filename>/etc/modules.conf</filename>:</para>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
2003-09-20 11:56:53 +08:00
|
|
|
<screen><userinput><command>cat >> /etc/modules.conf << "EOF"
|
2002-08-27 07:44:12 +08:00
|
|
|
alias char-major-14 soundcore
|
|
|
|
alias char-major-116 snd
|
|
|
|
|
2003-09-25 08:34:50 +08:00
|
|
|
alias snd-card-0 snd-<replaceable>[soundcard-name]</replaceable>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
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
|
2003-09-20 11:56:53 +08:00
|
|
|
EOF</command></userinput></screen>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
2003-09-25 08:34:50 +08:00
|
|
|
<para><replaceable>[soundcard-name]</replaceable> needs to be replaced with the
|
|
|
|
driver relevant to your soundcard. If you have more than one soundcard, you
|
|
|
|
can add additional sections by repeating the above but changing the first 0 to
|
|
|
|
1 and so on.</para>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
<para>After editing <filename>/etc/modules.conf</filename> you need to run
|
2003-09-25 08:34:50 +08:00
|
|
|
<command>depmod</command>. If the drivers you have compiled are for the
|
2003-09-28 02:46:10 +08:00
|
|
|
version of the kernel you are currently running, simply run</para>
|
2003-09-25 08:34:50 +08:00
|
|
|
<screen><userinput><command>depmod</command></userinput></screen>
|
2003-09-28 02:46:10 +08:00
|
|
|
<para>If you are compiling drivers for a different kernel version than those
|
|
|
|
you are running, you will need to use a line along the lines of:</para>
|
2003-09-25 08:34:50 +08:00
|
|
|
<screen><userinput><command>depmod -a 2.4.22 -F /boot/System.map-2.4.22
|
2003-09-28 02:46:10 +08:00
|
|
|
</command></userinput></screen>
|
2002-08-27 07:44:12 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|