Revise sound chapter:
* Include correct instructions to create sound device nodes * Mention 'options PNPBIOS' for onboard sound Partially Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> PR: 23910
This commit is contained in:
parent
0af996aac3
commit
88c47ea57f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10718
2 changed files with 68 additions and 48 deletions
|
@ -1,7 +1,7 @@
|
||||||
<!--
|
<!--
|
||||||
The FreeBSD Documentation Project
|
The FreeBSD Documentation Project
|
||||||
|
|
||||||
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/sound/chapter.sgml,v 1.17 2001/09/12 20:26:59 chern Exp $
|
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/sound/chapter.sgml,v 1.18 2001/09/12 21:50:21 chern Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="sound">
|
<chapter id="sound">
|
||||||
|
@ -199,6 +199,16 @@ device csa</programlisting>
|
||||||
the IRQ or the other settings to match your card.</para>
|
the IRQ or the other settings to match your card.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
<sect2>
|
||||||
|
<title>Onboard Sound</title>
|
||||||
|
|
||||||
|
<para>Some systems with built-in motherboard sound devices may
|
||||||
|
require the following option in your kernel
|
||||||
|
configuration:</para>
|
||||||
|
|
||||||
|
<programlisting>options PNPBIOS</programlisting>
|
||||||
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1>
|
<sect1>
|
||||||
|
@ -214,36 +224,36 @@ device csa</programlisting>
|
||||||
<title>Creating and Testing the Device Nodes</title>
|
<title>Creating and Testing the Device Nodes</title>
|
||||||
|
|
||||||
<indexterm><primary>device nodes</primary></indexterm>
|
<indexterm><primary>device nodes</primary></indexterm>
|
||||||
<para>After you reboot, log in and run <command>cat
|
<para>After you reboot, log in and run <command>dmesg | grep pcm</command> as shown
|
||||||
/dev/sndstat</command>. You should see output similar to the
|
below:</para>
|
||||||
following:</para>
|
|
||||||
|
|
||||||
<programlisting>FreeBSD Audio Driver (newpcm) Sep 21 2000 18:29:53
|
<screen>&prompt.root; dmesg | grep pcm
|
||||||
Installed devices:
|
pcm0: <SB16 DSP 4.11> on sbc0</screen>
|
||||||
pcm0: <Aureal Vortex 8830> at memory 0xfeb40000 irq 5 (4p/1r +channels duplex)</programlisting>
|
|
||||||
|
|
||||||
<para>If you see an error message, something went wrong earlier. If
|
<para>The output from your system may look different. If no
|
||||||
that happens, go through your kernel configuration file again and
|
<devicename>pcm</devicename> devices show up, something went wrong
|
||||||
make sure you chose the correct device.</para>
|
earlier. If that happens, go through your kernel configuration
|
||||||
|
file again and make sure you chose the correct device. Consult
|
||||||
|
the troubleshooting section for additional options.</para>
|
||||||
|
|
||||||
<para>If it reported no errors and returned
|
<para>If the previous command returned <devicename>pcm0</devicename>,
|
||||||
<devicename>pcm0</devicename>, <command>su</command> to
|
you will have to run the following as root:</para>
|
||||||
<username>root</username> and do the following:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
<screen>&prompt.root; cd /dev
|
||||||
&prompt.root; <userinput>sh MAKEDEV snd0</userinput></screen>
|
&prompt.root; sh MAKEDEV snd0</screen>
|
||||||
|
|
||||||
<para>If it reported no errors and returned
|
<para>If the command returned <devicename>pcm1</devicename>,
|
||||||
<devicename>pcm1</devicename>, <command>su</command> to
|
follow the same steps as shown above, replacing
|
||||||
<username>root</username> and do the following:</para>
|
<devicename>snd0</devicename> with
|
||||||
|
<devicename>snd1</devicename>.</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
<note>
|
||||||
&prompt.root; <userinput>sh MAKEDEV snd1</userinput></screen>
|
<para>The above commands will <emphasis>not</emphasis> create a
|
||||||
|
<devicename>/dev/snd</devicename> device!</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<para>Please note that either of the above commands will
|
<para><command>MAKEDEV</command> will create a group of device
|
||||||
<emphasis>not</emphasis> create a
|
nodes, including:</para>
|
||||||
<devicename>/dev/snd</devicename> device! Instead it creates a
|
|
||||||
group of device nodes including:</para>
|
|
||||||
|
|
||||||
<informaltable frame="none">
|
<informaltable frame="none">
|
||||||
<tgroup cols="2">
|
<tgroup cols="2">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!--
|
<!--
|
||||||
The FreeBSD Documentation Project
|
The FreeBSD Documentation Project
|
||||||
|
|
||||||
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/sound/chapter.sgml,v 1.17 2001/09/12 20:26:59 chern Exp $
|
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/sound/chapter.sgml,v 1.18 2001/09/12 21:50:21 chern Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="sound">
|
<chapter id="sound">
|
||||||
|
@ -199,6 +199,16 @@ device csa</programlisting>
|
||||||
the IRQ or the other settings to match your card.</para>
|
the IRQ or the other settings to match your card.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
<sect2>
|
||||||
|
<title>Onboard Sound</title>
|
||||||
|
|
||||||
|
<para>Some systems with built-in motherboard sound devices may
|
||||||
|
require the following option in your kernel
|
||||||
|
configuration:</para>
|
||||||
|
|
||||||
|
<programlisting>options PNPBIOS</programlisting>
|
||||||
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1>
|
<sect1>
|
||||||
|
@ -214,36 +224,36 @@ device csa</programlisting>
|
||||||
<title>Creating and Testing the Device Nodes</title>
|
<title>Creating and Testing the Device Nodes</title>
|
||||||
|
|
||||||
<indexterm><primary>device nodes</primary></indexterm>
|
<indexterm><primary>device nodes</primary></indexterm>
|
||||||
<para>After you reboot, log in and run <command>cat
|
<para>After you reboot, log in and run <command>dmesg | grep pcm</command> as shown
|
||||||
/dev/sndstat</command>. You should see output similar to the
|
below:</para>
|
||||||
following:</para>
|
|
||||||
|
|
||||||
<programlisting>FreeBSD Audio Driver (newpcm) Sep 21 2000 18:29:53
|
<screen>&prompt.root; dmesg | grep pcm
|
||||||
Installed devices:
|
pcm0: <SB16 DSP 4.11> on sbc0</screen>
|
||||||
pcm0: <Aureal Vortex 8830> at memory 0xfeb40000 irq 5 (4p/1r +channels duplex)</programlisting>
|
|
||||||
|
|
||||||
<para>If you see an error message, something went wrong earlier. If
|
<para>The output from your system may look different. If no
|
||||||
that happens, go through your kernel configuration file again and
|
<devicename>pcm</devicename> devices show up, something went wrong
|
||||||
make sure you chose the correct device.</para>
|
earlier. If that happens, go through your kernel configuration
|
||||||
|
file again and make sure you chose the correct device. Consult
|
||||||
|
the troubleshooting section for additional options.</para>
|
||||||
|
|
||||||
<para>If it reported no errors and returned
|
<para>If the previous command returned <devicename>pcm0</devicename>,
|
||||||
<devicename>pcm0</devicename>, <command>su</command> to
|
you will have to run the following as root:</para>
|
||||||
<username>root</username> and do the following:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
<screen>&prompt.root; cd /dev
|
||||||
&prompt.root; <userinput>sh MAKEDEV snd0</userinput></screen>
|
&prompt.root; sh MAKEDEV snd0</screen>
|
||||||
|
|
||||||
<para>If it reported no errors and returned
|
<para>If the command returned <devicename>pcm1</devicename>,
|
||||||
<devicename>pcm1</devicename>, <command>su</command> to
|
follow the same steps as shown above, replacing
|
||||||
<username>root</username> and do the following:</para>
|
<devicename>snd0</devicename> with
|
||||||
|
<devicename>snd1</devicename>.</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
<note>
|
||||||
&prompt.root; <userinput>sh MAKEDEV snd1</userinput></screen>
|
<para>The above commands will <emphasis>not</emphasis> create a
|
||||||
|
<devicename>/dev/snd</devicename> device!</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<para>Please note that either of the above commands will
|
<para><command>MAKEDEV</command> will create a group of device
|
||||||
<emphasis>not</emphasis> create a
|
nodes, including:</para>
|
||||||
<devicename>/dev/snd</devicename> device! Instead it creates a
|
|
||||||
group of device nodes including:</para>
|
|
||||||
|
|
||||||
<informaltable frame="none">
|
<informaltable frame="none">
|
||||||
<tgroup cols="2">
|
<tgroup cols="2">
|
||||||
|
|
Loading…
Reference in a new issue