Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 10:42:07 -0700 (PDT)
From:      Ed Alley <alley1@llnl.gov>
To:        <lahaye@users.sourceforge.net>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Can't get SoundBlaster to work with 4.3!
Message-ID:  <20010713103354.V40823-100000@jordan.llnl.gov>

next in thread | raw e-mail | index | archive | help


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" <lahaye@users.sourceforge.net>
> 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: <SB16 DSP 4.16 (ViBRA16X)> 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




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