From owner-freebsd-doc Sun Dec 2 23:29:29 2001 Delivered-To: freebsd-doc@freebsd.org Received: from meow.bsdlabs.com (meow.bsdlabs.com [66.123.5.2]) by hub.freebsd.org (Postfix) with ESMTP id 0FA9F37B405 for ; Sun, 2 Dec 2001 23:29:27 -0800 (PST) Received: from localhost (chern@localhost) by meow.bsdlabs.com (8.11.6/8.11.2) with ESMTP id fB37TDX54954; Sun, 2 Dec 2001 23:29:13 -0800 (PST) (envelope-from chern@FreeBSD.org) X-Authentication-Warning: meow.bsdlabs.com: chern owned process doing -bs Date: Sun, 2 Dec 2001 23:29:12 -0800 (PST) From: Chern Lee X-X-Sender: To: Kris Anderson Cc: Subject: Re: Creating and Testing sound In-Reply-To: <000901c17acb$bc5150c0$6464a8c0@mouse> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Testing the device nodes usually entails using your sound enabled program. Usually if the device nodes were created, things should go fine. Perhaps a short blurb, such as: To test your sound device, try: # cat some-sound.wav > /dev/dspN would be appropriate. - chern On Sat, 1 Dec 2001, Kris Anderson wrote: > 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 > /dev/audio SPARC-compatible audio device > /dev/dsp Digitized voice device > /dev/dspW Like /dev/dsp, but 16 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 interface > > If all goes well, you should now have a functioning sound card. If you do not, read the next section. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message