BSD and SB16 Vibra

BSD and SB16 Vibra

Post by Jean-Michel DRICO » Fri, 18 Dec 1998 04:00:00



Hello,

I own a SB16 Vibra.
I have problems making it run under BSD.
Could anyone send me his solution or KERNEL configuration ?

Quote:>>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not

5...) <<<<<

Thanks

Jim

________________________________________________________________________

Printed on 100% Recyclable Electrons

Dricot Jean-Michel
3rd Year of Computing Science Engineering's degree.
Ecole Polytechnique - Free University of Brussels, Belgium.

URL: http://student.ulb.ac.be/~jdricot

 
 
 

BSD and SB16 Vibra

Post by Ted Sikor » Sat, 19 Dec 1998 04:00:00



> Hello,

> I own a SB16 Vibra.
> I have problems making it run under BSD.
> Could anyone send me his solution or KERNEL configuration ?

> >>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not
> 5...) <<<<<

First go into /dev and:
sh MAKEDEV snd0

kernel:
Go to /usr/src/sys/i386/conf
copy GENERIC to HOSTNAME (Use your capitalized hostname as the kernel
name)

edit HOSTNAME and add:
# Sound card support
controller      snd0

# Creative SB16 Sound card
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330
#options "SB16_DMA=6"

# SoundBlaster
#device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
#options "SBC_IRQ=7"

# Microsound Sound System
#device mss0 at isa? port 0x530 irq 10 drq 1 vector adint
#device opl0 at isa? port 0x388 conflicts

Uncomment the appropiate card and set irq.
Now compile the kernel.
cd /usr/src/sys/i386/conf

/usr/sbin/config HOSTNAME
cd ../../compile/HOSTNAME
make depend
make
make install
reboot

--
Ted Sikora

http://tsikora.tiac.net

 
 
 

BSD and SB16 Vibra

Post by Ted Sikor » Sat, 19 Dec 1998 04:00:00




> > Hello,

> > I own a SB16 Vibra.
> > I have problems making it run under BSD.
> > Could anyone send me his solution or KERNEL configuration ?

> > >>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not
> > 5...) <<<<<

> First go into /dev and:
> sh MAKEDEV snd0

> kernel:
> Go to /usr/src/sys/i386/conf
> copy GENERIC to HOSTNAME (Use your capitalized hostname as the kernel
> name)

> edit HOSTNAME and add:
> # Sound card support
> controller      snd0

> # Creative SB16 Sound card
> device sbxvi0 at isa? drq 5
> device sbmidi0 at isa? port 0x330
> #options "SB16_DMA=6"

I checked out the(Vibra16)specs and it uses the standard SB16 drivers.
So all thats needed in HOSTNAME is:

# Sound card support
controller      snd0

# Creative SB16 Sound card
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330

It should work fine after a recompile and reboot. The listed defaults
are irq5 and dma1

--
Ted Sikora

http://tsikora.tiac.net

 
 
 

BSD and SB16 Vibra

Post by Luigi Rizz » Sun, 20 Dec 1998 04:00:00



> > > Hello,

> > > I own a SB16 Vibra.
> > > I have problems making it run under BSD.
> > > Could anyone send me his solution or KERNEL configuration ?

> > > >>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not
...
> I checked out the(Vibra16)specs and it uses the standard SB16 drivers.

partly wrong. There "standard SB16" is named "Vibra16C", the new one
(with two 8-bit DMA channels) is Vibra16X and for the latter there are
no specs and it does not work completely with the standard SB16
settings as you suggested.

        cheers
        luigi

-----------------------------------+-------------------------------------
  Luigi RIZZO                      .

  HTTP://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
-----------------------------------+-------------------------------------

 
 
 

BSD and SB16 Vibra

Post by Ted Sikor » Sun, 20 Dec 1998 04:00:00




> > > > Hello,

> > > > I own a SB16 Vibra.
> > > > I have problems making it run under BSD.
> > > > Could anyone send me his solution or KERNEL configuration ?

> > > > >>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not
> ...
> > I checked out the(Vibra16)specs and it uses the standard SB16 drivers.

> partly wrong. There "standard SB16" is named "Vibra16C", the new one
> (with two 8-bit DMA channels) is Vibra16X and for the latter there are
> no specs and it does not work completely with the standard SB16
> settings as you suggested.

>         cheers
>         luigi

Does the drivers on your webpage work with it? It says it is included in
FreeBSD. Is it in 2.2.8 and 3.0? It was not clear. Is there a fix for
Vibra16X or is Creative being elusive as usual. I know they dropped OS/2
support recently and usually ignore developers requests.
--
Ted Sikora

http://tsikora.tiac.net
 
 
 

BSD and SB16 Vibra

Post by Luigi Rizz » Sun, 20 Dec 1998 04:00:00



> Does the drivers on your webpage work with it? It says it is included in
> FreeBSD. Is it in 2.2.8 and 3.0? It was not clear. Is there a fix for

the driver in both 2.2.8/stable and -current is very up to date
including partial vibra16X support.

Quote:> Vibra16X or is Creative being elusive as usual. I know they dropped OS/2
> support recently and usually ignore developers requests.

then we are not alone...

        luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO                      .

  HTTP://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
-----------------------------------+-------------------------------------

 
 
 

BSD and SB16 Vibra

Post by Karel Joop Bosschaar » Thu, 24 Dec 1998 04:00:00





> > > Hello,

> > > I own a SB16 Vibra.
> > > I have problems making it run under BSD.
> > > Could anyone send me his solution or KERNEL configuration ?

> > > >>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not
> > > 5...) <<<<<

> > First go into /dev and:
> > sh MAKEDEV snd0

> > kernel:
> > Go to /usr/src/sys/i386/conf
> > copy GENERIC to HOSTNAME (Use your capitalized hostname as the kernel
> > name)

> > edit HOSTNAME and add:
> > # Sound card support
> > controller      snd0

> > # Creative SB16 Sound card
> > device sbxvi0 at isa? drq 5
> > device sbmidi0 at isa? port 0x330
> > #options "SB16_DMA=6"

> I checked out the(Vibra16)specs and it uses the standard SB16 drivers.
> So all thats needed in HOSTNAME is:

> # Sound card support
> controller      snd0

> # Creative SB16 Sound card
> device sbxvi0 at isa? drq 5
> device sbmidi0 at isa? port 0x330

> It should work fine after a recompile and reboot. The listed defaults
> are irq5 and dma1

> --
> Ted Sikora

> http://tsikora.tiac.net

When I don't include

device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr

my kernel won't compile; I guess this line is needed. Still, the ViBRA does
not
work: not with the second DMA (sbxvi0) at 5, nor with 3. The latter gives
an "Error: Invalid DMA channel 1/3" during booting. With drq at 5, it boots
OK, but when starting some applications using the soundcard, the console
shows there was a timeout, possibly by a wrong IRQ/DRQ configuration.
That's the story for the ViBRA16X....

I noticed a difference between a ViBRA16X card and a ViBRA16C.
The ViBRA16C doesn't give any problem at all; I use irq 5 drq 1 for sb0
and drq 5 for sbvxi0, like I tried with the ViBRA16X.
'pnpinfo' (to be run as root) gives this configuration as a good one for the
card.
However, for the ViBRA16X drq 5 doesn't seem to be an option!! pnpinfo
says it can only use 0/1/3, which are designated as 8-bit channels.
I think that's the cause of all my trouble, since the driver really wants
to have the second DMA-channel larger than 3, which is not
possible on this card?! I also tried in other OS's (DOS and Win'95),
but in none of them I succeeded getting the 16 bit DMA at 5, not
even with the utility provided by Creative Labs (CTCU).

I'm convinced that my PnP configuration is OK, since I tested one
ViBRA16C and two ViBRA16X's in two PC's and it appears that
the ViBRA16C is always working OK while both ViBRA16X's
are not, in both PC's the same behaviour....

Someone who can help or has similar trouble???

Thanks a lot,
        Karel.

 
 
 

BSD and SB16 Vibra

Post by Helge Olda » Thu, 24 Dec 1998 04:00:00





| > > > I own a SB16 Vibra.
| > > > >>>> NB: My BIOS detects it as IRQ=5 DMA1=1 DMA2=3 (yes, I know... not
| > > > 5...) <<<<<
| > # Sound card support
| > controller      snd0
| >
| > # Creative SB16 Sound card
| > device sbxvi0 at isa? drq 5
| > device sbmidi0 at isa? port 0x330

| When I don't include
| device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
| my kernel won't compile; I guess this line is needed.

Indeed.

| Still, the ViBRA does not work: not with the second DMA (sbxvi0) at
| 5, nor with 3. The latter gives an "Error: Invalid DMA channel 1/3"
| during booting.

I made it work by commenting out the lines producing this message in the
source code. This appears to be a test whether dma2 is indeed 16-bit,
i.e. >= 4. Since the ViBRA16X has two 8-bit DMA and no 16-bit, the test
obviously fails. Seems like the author didn't imagine there might be
8-bit-DMA-only SB16's eventually.

/usr/src/sys/i386/isa/sound/sb16_dsp.c, lines 532 ff:

#ifdef PC98
  hw_config->dma = sb_config->dma;
#else
/*
 *  if (hw_config->dma < 4)
 *    if (hw_config->dma != sb_config->dma)
 *      {
 *        printk ("SB16 Error: Invalid DMA channel %d/%d\n",
 *                sb_config->dma, hw_config->dma);
 *        return 0;
 *      }
 */
#endif

As I said: take it with caution. Everything *seems* to work, but I have
not attepmted to browse the code in /usr/src/sys/i386/isa/sound for
other similar 16-bit DMA issues.

Helge

 
 
 

1. SB16 value PNP (Vibra)

hallo ihr

meine sb16 pnp vibra l?st sich auf meinem suse52 nicht installieren.
ich habe es schon mit den einstellunge von win98 probiert aber das klappt
auch nicht, wil da ein dma belegt wird den meine netzwerkkarte belegt
(fest).
auch den tip von suse meim mpu401 irq 5 statt -1 einzustellen hat nicht
funktioniert.

dake fr jeden hinweis

springer

2. Getting an error when using ifconfig to add an IP alias.

3. Sound :Creative SB16 Vibra

4. Kermit for Solaris

5. CL SB16 Waveffects (ViBRA 16X)

6. open a website by a shell script

7. Vibra SB16 problems

8. ANN: A JavaScript compatible interpreter SDK from Nombas

9. solaris 7 x86 and SB16 vibra

10. Creative SB16 Vibra card & Redhat 5.2

11. SB16 PnP (Vibra)

12. SB16 Vibra: no sound

13. matrox and SB16 vibra drivers for redhat 2.1