Add examples on how to load sound modules via kldload(8) or

/boot/loader.conf

PR:		docs/53316
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
This commit is contained in:
Marc Fonvieille 2003-11-09 23:04:15 +00:00
parent f6ab55b379
commit be490ed9ae
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=18778

View file

@ -190,7 +190,20 @@
<para>To use your sound device, you will need to load the proper
device driver. This may be accomplished in one of two ways.
The easiest way is to simply load a kernel module for your sound
card with &man.kldload.8;. Alternatively, you may statically
card with &man.kldload.8; which can either be done from the
command line:</para>
<screen>&prompt.root; <userinput>kldload snd_emu10k1.ko</userinput></screen>
<para>or by adding the appropriate line to the file
<filename>/boot/loader.conf</filename> like this:</para>
<programlisting>snd_emu10k1_load="YES"</programlisting>
<para>These examples are for a Creative Sound Blaster Live! sound
card. Other available loadable sound modules are listed in
<filename>/boot/loader.conf</filename>.</para>
<para>Alternatively, you may statically
compile in support for your sound card in your kernel. The
sections below provide the information you need to add support
for your hardware in this manner. For more information about