Bug 23910 - Handbook Chapter 14. Sound -- some fixes
Summary: Handbook Chapter 14. Sound -- some fixes
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-28 19:50 UTC by pfeifer
Modified: 2001-09-18 01:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pfeifer 2000-12-28 19:50:01 UTC
	http://www.freebsd.org/handbook/sound.html really proved useful
	when I, today, for the first time I configured a soundcard with
	FreeBSD. However, I stumbled over two (minor) issues:

	1. For on-board sound "cards", one also wants to add
	     options PNPBIOS
	   to the kernel config.

	2. `cat /dev/sndstat` did not work until I executed
	      cd /dev ; sh MAKEDEV snd0

	   Before MAKEDEV I got "No such file or directory"; afterwards
	      FreeBSD Audio Driver (newpcm) Dec 28 2000 19:02:45
	      Installed devices:
	      pcm0: <AudioPCI ES1371> at io 0xc400 irq 11 (1p/1r channels duplex)
	   That is, it was exactly the other around than stated in section
	   14.4 of the manual.
Comment 1 nik freebsd_committer freebsd_triage 2001-02-11 00:10:18 UTC
Cameron,

I'm bringing you in on this, as FreeBSD's "Mr Audio".

On Thu, Dec 28, 2000 at 08:44:25PM +0100, Gerald Pfeifer wrote:
> >Number:         23910
> >Category:       docs
> >Synopsis:       Handbook Chapter 14. Sound -- some fixes
> 
> 	http://www.freebsd.org/handbook/sound.html really proved useful
> 	when I, today, for the first time I configured a soundcard with
> 	FreeBSD. However, I stumbled over two (minor) issues:
> 
> 	1. For on-board sound "cards", one also wants to add
> 	     options PNPBIOS
> 	   to the kernel config.

Is that right?  If so, on which versions of FreeBSD?  My -current laptop
doesn't need it, and the built in audio on there works OK.

> 	2. `cat /dev/sndstat` did not work until I executed
> 	      cd /dev ; sh MAKEDEV snd0
> 
> 	   Before MAKEDEV I got "No such file or directory"; afterwards
> 	      FreeBSD Audio Driver (newpcm) Dec 28 2000 19:02:45
> 	      Installed devices:
> 	      pcm0: <AudioPCI ES1371> at io 0xc400 irq 11 (1p/1r channels duplex)
> 	   That is, it was exactly the other around than stated in section
> 	   14.4 of the manual.

This does seem to be a problem.  Perhaps we could pull out sndstat from
all the other snd* devices in MAKEDEV, and then say something like

  You must determine which set of sound devices to make, depending on
  your audio hardware.  Fortunately, the audio driver can tell you 
  what is required.

  Run the following, to create a /dev/sndstat device, and query it.

    # cd /dev
    # sh MAKEDEV sndstat
    # cat sndstat

  [...]

and then continue with the rest of the text as normal?

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery
Comment 2 pfeifer 2001-02-12 01:22:11 UTC
On Sun, 11 Feb 2001, Nik Clayton wrote:
>> 	1. For on-board sound "cards", one also wants to add
>> 	     options PNPBIOS
>> 	   to the kernel config.
> Is that right?  If so, on which versions of FreeBSD?

Well, it's right in the sense that without that option ``it just didn't
work'', while with this change it worked fine.

This was on a 4.2-RELEASE box with some Athlon-board; if you're interested
in the exact product name and manufacturer, I can obtain these.

Gerald
Comment 3 chern freebsd_committer freebsd_triage 2001-09-18 00:58:43 UTC
State Changed
From-To: open->closed

Mentioned another way of deciding between snd0/snd1, and mentioned 
'options PNPBIOS' in chapter.  See r1.19, Thanks!