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.
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
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
State Changed From-To: open->closed Mentioned another way of deciding between snd0/snd1, and mentioned 'options PNPBIOS' in chapter. See r1.19, Thanks!