From owner-freebsd-questions Fri Jul 13 10:42:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from jordan.llnl.gov (jordan.llnl.gov [128.115.36.14]) by hub.freebsd.org (Postfix) with ESMTP id B521437B40B for ; Fri, 13 Jul 2001 10:42:13 -0700 (PDT) (envelope-from alley1@llnl.gov) Received: from localhost (wea@localhost) by jordan.llnl.gov (8.11.4/8.11.4) with ESMTP id f6DHg7Y40834; Fri, 13 Jul 2001 10:42:07 -0700 (PDT) Date: Fri, 13 Jul 2001 10:42:07 -0700 (PDT) From: Ed Alley To: Cc: Subject: Can't get SoundBlaster to work with 4.3! Message-ID: <20010713103354.V40823-100000@jordan.llnl.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry if I'm comming in late on this question, but I picked it up in the digest. I'm running 4.3 with a soundblaster card. It is a pci card with pnp so set-up is easy. > Date: Fri, 13 Jul 2001 15:33:06 +0900 > From: "R. Lahaye" > Subject: Can't get SoundBlaster to work with 4.3! > Hi, > I'm running 4.3 ... The sound interface has changed (even since 4.2). > I have tried the guidelines in the Free BSD handbook, that > comes with the installation. It talks vagely about the sound > setup for SoundBlaster 16. Out of date... > I added in MYKERNEL config: > device pcm > device pcm0 at isa? irq 5 drq 1 flags 0x0 Unless you have an old isa sound card, all you need is: device pcm. The driver will probe the pci bus and assign the irqs and etc.. You may have forced the kernel to assign the incorrect irg or drq. Watch out for the flags setting too. I assume that you have read: pcm(4) ??? > I then made the devices: > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm) Jul 13 2001 14:16:12 > Installed devices: > pcm1: at io 0x220 irq 5 drq 1 (1p/1r channels) > # cd /dev > # ./MAKEDEV snd0 > # ./MAKEDEV snd1 After you do this then try catting something into dsp0, dsp1 etc until you find the connected devices. After that you can soft link to them: ln -sf /dev/dsp0 dsp etc... where dsp0 is the one that worked. MAKEDEV will make softlinks to the last dsp? that you made. This may be the wrong one so test dsp0, dsp1, etc until you find the one that works, then set the softlink to that one. The same goes for the dev/audio softlink as well: If audio0 is the one that works, then make sure that the /dev/audio softlink points to it. Also make sure that the permissions are not messed up for access to the device files: crw-r--r-- 1 root wheel ... dsp0 would not work for dsp0 if you wanted to write to it for instance. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message