Vibra 16 Sound Card

Vibra 16 Sound Card

Post by DiSKiLLe » Mon, 05 Jul 1999 04:00:00



Anyone know how to get a Creative Labs Vibra 16 (PnP ISA) to work
properly under FBSD 3.2-STABLE ?

Thanks in advance.

--
Martin Minkus aka DiSKiLLeR - www.diskiller.net

 
 
 

Vibra 16 Sound Card

Post by Ted Sikor » Tue, 06 Jul 1999 04:00:00



> Anyone know how to get a Creative Labs Vibra 16 (PnP ISA) to work
> properly under FBSD 3.2-STABLE ?

> Thanks in advance.

> --
> Martin Minkus aka DiSKiLLeR - www.diskiller.net


Use pcm0 or sb0. I recommend pcm0.(much easier and foolproof)
The sb0 driver will give errors but will work.

Install PCM as follows:
---------------------------
cd /dev
# sh MAKEDEV snd1

Add to kernel:

# Sound card support.
controller pnp0
device pcm0 at isa? port? tty

make kernel
reboot

Install SB as follows:
--------------------------
cd /dev
# sh MAKEDEV snd0

Add to kernel:
# Soundblaster 16 audio support
controller pnp0
controller snd0
*device sb0 at isa? port 0x220 irq 9 drq 3 flags 0x11  # See **
device sbxvi0 at isa? drq 1
device sbmidi0 at isa? port 0x330
device opl0 at isa? port 0x388 conflicts

make kernel
reboot

*The cards settings can be changed/manipulated through
the PnP/PCI Configuration Menu in your machines bios.
Use the settings shown after the card is initialized..
shown on bootup after your main bios screen.

**drq 3 flags 0x11 show 3,1 for dma
To use 1,0 replace with drq 1 flags 0x10

--
Ted Sikora

http://tsikora.tiac.net

 
 
 

Vibra 16 Sound Card

Post by T. William Wel » Tue, 06 Jul 1999 04:00:00


I also have been having trouble with this card. I first tried an
install using the pcm driver. I was unable to get the microphone
to work, though it played sounds OK. I'll admit I was just
fumbling in the dark so maybe there's a way to do this that I
didn't try.

Anyway, rather than continue to fumble around with programs that
all said they were for the voxware driver and hope that they'd
work for the pcm driver, I decided to try the snd driver. That
config'd up correctly. However, I could get nothing but timeouts
from it.

controller      snd0
device sb0      at isa? port 0x220 irq 5 drq 1
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x300
device opl0     at isa? port 0x388
device awe0     at isa? port 0x620

That is my kernel config -- I'm using 300 instead of 330 because I
also have an adaptec 1540 card in the machine. Here's the relevant
boot-time messages:

config> pnp 1 0 os enable port0 0x220 port1 0x300 port2 0x388 irq0 5 drq0 1 drq1 5
config> quit

CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]

sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.16>
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.16>
sbmidi0 at 0x300 on isa
snd0: <SoundBlaster MPU-401>
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM>
awe0 at 0x620 on isa
AWE32: not detected

Attempts at playing sounds (with mpg123, which works with the pcm
driver), result in this:

Sound: DMA (output) timed out - IRQ/DRQ config error?

Cat /dev/sndstat produces the following output:


Config options:

Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: SoundBlaster
Type 6: SoundBlaster16
Type 25: AWE32 Synth
Type 7: SB16 MIDI

Card config:
SoundBlaster at 0x220 irq 5 drq 1
SoundBlaster16 at 0xffffffff irq 1 drq 5
SB16 MIDI at 0x300 irq 1
OPL-2/OPL-3 FM at 0x388 irq 1
AWE32 Synth at 0x620 irq 1

Audio devices:
0: SoundBlaster 16 4.16

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: SoundBlaster 16 Midi

Timers:
0: System clock

Mixers:
0: SoundBlaster

Suggestions?

 
 
 

Vibra 16 Sound Card

Post by Ted Sikor » Thu, 08 Jul 1999 04:00:00



> I also have been having trouble with this card. I first tried an
> install using the pcm driver. I was unable to get the microphone
> to work, though it played sounds OK. I'll admit I was just
> fumbling in the dark so maybe there's a way to do this that I
> didn't try.

> Anyway, rather than continue to fumble around with programs that
> all said they were for the voxware driver and hope that they'd
> work for the pcm driver, I decided to try the snd driver. That
> config'd up correctly. However, I could get nothing but timeouts
> from it.

> controller      snd0
> device sb0      at isa? port 0x220 irq 5 drq 1
> device sbxvi0   at isa? drq 5
> device sbmidi0  at isa? port 0x300
> device opl0     at isa? port 0x388
> device awe0     at isa? port 0x620

> That is my kernel config -- I'm using 300 instead of 330 because I
> also have an adaptec 1540 card in the machine. Here's the relevant
> boot-time messages:

> config> pnp 1 0 os enable port0 0x220 port1 0x300 port2 0x388 irq0 5 drq0 1 drq1 5
> config> quit

> CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]

> sb0 at 0x220 irq 5 drq 1 on isa
> snd0: <SoundBlaster 16 4.16>
> sbxvi0 at drq 5 on isa
> snd0: <SoundBlaster 16 4.16>
> sbmidi0 at 0x300 on isa
> snd0: <SoundBlaster MPU-401>
> opl0 at 0x388 on isa
> snd0: <Yamaha OPL3 FM>
> awe0 at 0x620 on isa
> AWE32: not detected

> Attempts at playing sounds (with mpg123, which works with the pcm
> driver), result in this:

> Sound: DMA (output) timed out - IRQ/DRQ config error?

> Cat /dev/sndstat produces the following output:


> Config options:

> Installed drivers:
> Type 1: OPL-2/OPL-3 FM
> Type 2: SoundBlaster
> Type 6: SoundBlaster16
> Type 25: AWE32 Synth
> Type 7: SB16 MIDI

> Card config:
> SoundBlaster at 0x220 irq 5 drq 1
> SoundBlaster16 at 0xffffffff irq 1 drq 5
> SB16 MIDI at 0x300 irq 1
> OPL-2/OPL-3 FM at 0x388 irq 1
> AWE32 Synth at 0x620 irq 1

> Audio devices:
> 0: SoundBlaster 16 4.16

> Synth devices:
> 0: Yamaha OPL-3

> Midi devices:
> 0: SoundBlaster 16 Midi

> Timers:
> 0: System clock

> Mixers:
> 0: SoundBlaster

> Suggestions?

You seem to be setting your card as a SB AWE. The Vibra 16 will only use
dma 1,3 /3,1 /1,0 . You have dma 5 set for sbxvi0. Unfortunately the
card is 16 and 8 bit so the setting for the 2nd dma cannot be set
properly. You can set this to 0 or 1 but it usually will give an error.
It will work however. I am pretty sure you can find info on this card in
/usr/src/sys/i386/isa/sound and /snd.

--
Ted Sikora

http://tsikora.tiac.net

 
 
 

Vibra 16 Sound Card

Post by T. William Wel » Thu, 08 Jul 1999 04:00:00




: You seem to be setting your card as a SB AWE. The Vibra 16 will only use
: dma 1,3 /3,1 /1,0 .

Yeah, I noticed that (from pnpinfo). But the only instructions I
could find were for the AWE. So I figured I'd use them and hope
that probing "did the right thing".

: You have dma 5 set for sbxvi0. Unfortunately the
: card is 16 and 8 bit so the setting for the 2nd dma cannot be set
: properly.

I'm seriously confused here. Pnpinfo says that 0, 1, and 3 are the
only legit values for that second DMA. But if it's supposed to be
16 bit, it can't be those -- and the driver *insists* (I read the
source) on the channel being over 4. So, what gives here? Is this
a card that only pretends to have a second DMA channel?

: You can set this to 0 or 1 but it usually will give an error.
: It will work however. I am pretty sure you can find info on this card in
: /usr/src/sys/i386/isa/sound and /snd.

Ah, well, I did a whole bunch of kernel configs with different DMA
channels -- all of them produced a timeout. I got an e-mail
pointing out that this /dev/sndstat output indicates some sort of
problem:

: > Card config:
: > SoundBlaster at 0x220 irq 5 drq 1
: > SoundBlaster16 at 0xffffffff irq 1 drq 5

He suggested a conflict but there isn't one, so I'm going to have
to keep looking....

 
 
 

Vibra 16 Sound Card

Post by Karel J. Bosschaar » Thu, 08 Jul 1999 04:00:00





> : You seem to be setting your card as a SB AWE. The Vibra 16 will only use
> : dma 1,3 /3,1 /1,0 .

> Yeah, I noticed that (from pnpinfo). But the only instructions I
> could find were for the AWE. So I figured I'd use them and hope
> that probing "did the right thing".

> : You have dma 5 set for sbxvi0. Unfortunately the
> : card is 16 and 8 bit so the setting for the 2nd dma cannot be set
> : properly.

> I'm seriously confused here. Pnpinfo says that 0, 1, and 3 are the
> only legit values for that second DMA. But if it's supposed to be
> 16 bit, it can't be those -- and the driver *insists* (I read the
> source) on the channel being over 4. So, what gives here? Is this
> a card that only pretends to have a second DMA channel?

I guess that you have a ViBRA16X -- this card has indeed two 8-bit
DMA channels, unlike the (older) ViBRA16C. (I tend to say that the
ViBRA16X is not SB16-compatible ;-) I didn't succeed using this
card with snd0, as I had the same problem as you: driver insists on
second DMA-channel > 4.
I got it working fine with the pcm driver, using two low DMA channels
as indicated by pnpinfo.

Good luck,
Karel.

 
 
 

Vibra 16 Sound Card

Post by T. William Wel » Thu, 08 Jul 1999 04:00:00




: I got it working fine with the pcm driver, using two low DMA channels
: as indicated by pnpinfo.

Were you able to get a microphone to work? Mine didn't and that's
why I'm trying the snd driver.

 
 
 

Vibra 16 Sound Card

Post by T. William Wel » Fri, 09 Jul 1999 04:00:00



: ]     BEWARE -- all recent (1998 ?) SB16 use a new codec, Vibra16X,
: ]     which is sufficiently different from the old one to not work with
: ]     this driver in capture mode or in full duplex. Documentation is
                       ^^^^^^^

Thus the pcm driver is documented to not work with the microphone,
assuming one is willing to dig through the source directory to
find the document. And then snd driver won't accept the 8 bit DMA
channel and probably won't handle a microphone either.

Which translates to: "Buy a new sound card."

Oh well. :)