From owner-freebsd-doc Sat Dec 1 16:53:34 2001 Delivered-To: freebsd-doc@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 1414637B41F for ; Sat, 1 Dec 2001 16:53:07 -0800 (PST) Received: from mouse ([12.225.134.60]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20011202005306.CKQT24045.rwcrmhc53.attbi.com@mouse> for ; Sun, 2 Dec 2001 00:53:06 +0000 Message-ID: <000901c17acb$bc5150c0$6464a8c0@mouse> Reply-To: "Kris Anderson" From: "Kris Anderson" To: Subject: Creating and Testing sound Date: Sat, 1 Dec 2001 16:53:19 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C17A88.ADE1C580" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: 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

Where in this document does it tell me = how to test=20 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=20 Nodes

After you reboot, log in and run dmesg | grep = pcm as=20 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=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.

If the previous command returned pcm0, = you will=20 have to run the following as root:

    # cd /dev
    # sh MAKEDEV snd0

If the command returned pcm1, follow the = same steps=20 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
/dev/audio SPARC-compatible audio = device
/dev/dsp Digitized voice device
/dev/dspW Like /dev/dsp, but 16=20 bits per sample
/dev/midi Raw midi access device
/dev/mixer Control port mixer device
/dev/music Level 2 sequencer interface
/dev/sequencer Sequencer device
/dev/pss Programmable device=20 interface

If all goes well, you should now have a functioning sound card. If = you do=20 not, read the next section.

------=_NextPart_000_0006_01C17A88.ADE1C580-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message