Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2001 23:29:12 -0800 (PST)
From:      Chern Lee <chern@FreeBSD.org>
To:        Kris Anderson <animotions@attbi.com>
Cc:        <doc@FreeBSD.org>
Subject:   Re: Creating and Testing sound
Message-ID:  <Pine.BSF.4.31.0112022325440.54908-100000@meow.bsdlabs.com>
In-Reply-To: <000901c17acb$bc5150c0$6464a8c0@mouse>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <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
>       /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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0112022325440.54908-100000>