Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Aug 1999 21:04:48 -0500
From:      Mark Kobussen <kobes@usermail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   SB 16 Config With 3.2-RELEASE
Message-ID:  <37A79FC0.B1B17409@usermail.com>

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

I've been at this for all of 2 days, and I've had promising results from
the stuff I've done already, I just haven't gotten it to actually *WORK*
yet.

Here's the skinny:

FreeBSD 3.2-RELEASE
VOXWARE Drivers

It is a SoundBlaster 16 ISA PNP, also known as the ViBRA 16X (s'what it
says when the BIOS does PnP config)
It *IS* a soundblaster card though, bought in the original packaging. =)

Here's the output from:

## pnpinfo ##
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 16
Device Description: Creative ViBRA16X PnP

Logical Device ID: CTL0043 0x43008c0e #0
Device Description: Audio
TAG Start DF
Good Configuration
    IRQ: 5  - only one type (true/edge)
    DMA: channel(s) 1
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
 [16-bit addr]
    I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
 [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
    I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2
 [16-bit addr]
    I/O Range 0x388 .. 0x394, alignment 0x4, len 0x4
 [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
 8-bit, not a bus master, count by byte, , Compatibility mode
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
 [16-bit addr]
TAG End DF

Logical Device ID: CTL7005 0x05708c0e #1
Compatible Device ID: PNPb02f (2fb0d041)
Device Description: Game
TAG Start DF
Good Configuration
    I/O Range 0x201 .. 0x201, alignment 0x1, len 0x1
 [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x200 .. 0x20f, alignment 0x1, len 0x1
 [16-bit addr]
TAG End DF
End Tag

Successfully got 48 resources, 2 logical fdevs
-- card select # 0x0001

CSN CTL00f0 (0xf0008c0e), Serial Number 0xffffffff

Logical device #0
IO:  0x0220 0x0330 0x0388 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 1 5
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00

## End of pnpinfo output ##

## Kernel ##
..snip
controller snd0
device sb0  at isa? port 0x220 irq 5 drq 1
device sbxvi0  at isa? drq 5
device sbmidi0  at isa? port 0x330
#device opl0  at isa? port 0x388

## End of Kernel ##

And yes, the 'controller pnp' is up there near the beginning.  A

Also: anyone know why 'config' gives me a syntax error on 'Line 219'
(which happens to be device opl0)?  I looked that up in LINT and it is
the exact same config line.

## dmesg ##
..snip..
config> pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330
port2 0x388
config> pnp 1 1 os disable
config> qu
..snip..
Probing for PnP devices:
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f
[0x2fb0d041]
..snip..
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 0x330 on isa
snd0: <SoundBlaster MPU-401>
..snip..
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
Sound: DMA (output) timed out - IRQ/DRQ config error?
## end of dmesg ##

## /boot/kernel.conf ## (Sure this is on dmesg, but who knows.. =)
pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2
0x388
pnp 1 1 os disable
qu
## end of kernel.conf ##



If you've gotten this far, thank you very much for sticking with me. =)

So far, this is the farthest I've gotten it (oh, and I did 'MAKEDEV
snd0').  I noticed in 'pnpinfo' it states that the DMA's are 1 and 3, so
I then re-compiled the kernel and changed the 'drq1 5' to '3', but then
it couldn't find the sbxvi at boot-up.

Anyways, I hope someone can help me out - and if you HAVE gotten this
far, thanks for atleast trying. =)

Oh, and if you *COULD*, mind replying to this e-mail address
("kobes@usermail.com") AND 'mkobusse@sgp.honeywell.com'?  I have a
feeling I'll be at work long before I check this e-mail account.

Thanks,
Mark Kobussen



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?37A79FC0.B1B17409>