Date: Sat, 1 Dec 2001 16:53:19 -0800 From: "Kris Anderson" <animotions@attbi.com> To: <doc@FreeBSD.org> Subject: Creating and Testing sound Message-ID: <000901c17acb$bc5150c0$6464a8c0@mouse>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C17A88.ADE1C580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Where in this document does it tell me how to test the device nodes? Not = even in the troubleshooting section. Hope to see a fix to the docs. Thanks. 14.4 Creating and Testing the Device Nodes After you reboot, log in and run dmesg | grep pcm as shown below: # dmesg | grep pcm pcm0: <SB16 DSP 4.11> on sbc0 The output from your system may look different. If no pcm devices show = up, something went wrong 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. If the previous command returned pcm0, you will have to run the = following as root: # cd /dev # sh MAKEDEV snd0 If the command returned pcm1, follow the same steps as shown above, = replacing snd0 with snd1. Note: The above commands will not create a /dev/snd device! MAKEDEV will create a group of device nodes, including: Device Description=20 /dev/audio SPARC-compatible audio device=20 /dev/dsp Digitized voice device=20 /dev/dspW Like /dev/dsp, but 16 bits per sample=20 /dev/midi Raw midi access device=20 /dev/mixer Control port mixer device=20 /dev/music Level 2 sequencer interface=20 /dev/sequencer Sequencer device=20 /dev/pss Programmable device interface=20 If all goes well, you should now have a functioning sound card. If you = do not, read the next section. ------=_NextPart_000_0006_01C17A88.ADE1C580 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV class=3DSECT1> <H1 class=3DSECT1><FONT size=3D1>Where in this document does it tell me = how to test=20 the device nodes? Not even in the troubleshooting section.</FONT></H1> <DIV class=3DSECT1>Hope to see a fix to the docs.</DIV> <DIV class=3DSECT1>Thanks.</DIV> <H1 class=3DSECT1><A name=3DAEN14406>14.4 Creating and Testing the = Device=20 Nodes</A></H1> <P>After you reboot, log in and run <TT class=3DCOMMAND>dmesg | grep = pcm</TT> as=20 shown below:</P><PRE class=3DSCREEN> <TT class=3DPROMPT>#</TT> dmesg = | grep pcm pcm0: <SB16 DSP 4.11> on sbc0 </PRE> <P>The output from your system may look different. If no <TT=20 class=3DDEVICENAME>pcm</TT> devices show up, something went wrong = earlier. If that=20 happens, go through your kernel configuration file again and make sure = you chose=20 the correct device. Consult the troubleshooting section for additional=20 options.</P> <P>If the previous command returned <TT class=3DDEVICENAME>pcm0</TT>, = you will=20 have to run the following as root:</P><PRE class=3DSCREEN> <TT = class=3DPROMPT>#</TT> cd /dev <TT class=3DPROMPT>#</TT> sh MAKEDEV snd0 </PRE> <P>If the command returned <TT class=3DDEVICENAME>pcm1</TT>, follow the = same steps=20 as shown above, replacing <TT class=3DDEVICENAME>snd0</TT> with <TT=20 class=3DDEVICENAME>snd1</TT>.</P> <DIV class=3DNOTE> <BLOCKQUOTE class=3DNOTE> <P><B>Note:</B> The above commands will <I class=3DEMPHASIS>not</I> = create a <TT=20 class=3DDEVICENAME>/dev/snd</TT> device!</P></BLOCKQUOTE></DIV> <P><TT class=3DCOMMAND>MAKEDEV</TT> will create a group of device nodes, = including:</P> <DIV class=3DINFORMALTABLE><A name=3DAEN14431></A> <TABLE class=3DCALSTABLE border=3D0> <THEAD> <TR> <TH vAlign=3Dtop align=3Dleft>Device</TH> <TH vAlign=3Dtop align=3Dleft>Description</TH></TR></THEAD> <TBODY> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/audio</TT></TD> <TD vAlign=3Dtop align=3Dleft>SPARC-compatible audio = device</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/dsp</TT></TD> <TD vAlign=3Dtop align=3Dleft>Digitized voice device</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/dspW</TT></TD> <TD vAlign=3Dtop align=3Dleft>Like <TT = class=3DDEVICENAME>/dev/dsp</TT>, but 16=20 bits per sample</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/midi</TT></TD> <TD vAlign=3Dtop align=3Dleft>Raw midi access device</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/mixer</TT></TD> <TD vAlign=3Dtop align=3Dleft>Control port mixer device</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/music</TT></TD> <TD vAlign=3Dtop align=3Dleft>Level 2 sequencer interface</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/sequencer</TT></TD> <TD vAlign=3Dtop align=3Dleft>Sequencer device</TD></TR> <TR> <TD vAlign=3Dtop align=3Dleft><TT = class=3DDEVICENAME>/dev/pss</TT></TD> <TD vAlign=3Dtop align=3Dleft>Programmable device=20 interface</TD></TR></TBODY></TABLE></DIV> <P>If all goes well, you should now have a functioning sound card. If = you do=20 not, read the next section.</P></DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_0006_01C17A88.ADE1C580-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c17acb$bc5150c0$6464a8c0>