Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 21:45:12 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        freebsd-multimedia@FreeBSD.ORG
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Soundblaster 16 4.16 configuration
Message-ID:  <Pine.BSF.3.96.980210213454.249A-100000@thelab.hub.org>

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

Evening...

	A friend and I just spent the past several hours going through the
mailing lists at www.freebsd.org, newsgroups and whatever README files we
could find, and can't seem to get this thing to work...so now I ask here.

	I just picked up a Soundblaster card for my machine, and altho I
think its configured correctly, and FreeBSD appears to recognize it, I
can't appear to do anything with it.

dmesg shows:

Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
vga0: <ATI Mach64-GX graphics accelerator> rev 0x00 on pci0.12.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 5 on isa
sio2: type 16550A
lpt0 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL_TM2110A>
wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <ACER CD-910E/JAS/13N>, removable, dma, iordy
wcd0: 687Kb/sec, 240Kb cache, audio play, 2 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 10 drq 1 on isa
snd0: <SoundBlaster 16 4.16> 
sbxvi0 at ? drq 6 on isa
snd0: <SoundBlaster 16 4.16> 
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
Intel Pentium F00F detected, installing workaround

But, if I try to use something like 'splay' to play an mp3 file, I get:

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

My first "concern" is that the sbxvi0 line above shows "at ? ..", which I
don't know if its important or not...

My kernel config looks like:

machine		"i386"
cpu		"I586_CPU"
ident		thelab
maxusers	32

options		USER_LDT
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options		"CD9660"		#ISO 9660 Filesystem
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		KTRACE
options         "AUTO_EOI_1"

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0		#IDE CD-ROM

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr

device      lpt0    at isa? port? tty irq 7 vector lptintr

# Controls all sound devices
controller	snd0
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330
device awe0     at isa? port 0x620
device opl0     at isa? port 0x388
device mpu0     at isa? port 0x330 irq 6 drq 0

pseudo-device	loop
pseudo-device	ether
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device   bpfilter        1       #Berkeley packet filter


And, I sent through the 'kernel -c' interface to change sb0 to irq 10
instead of 5, because of the conflict with sio2 ...

Is there something really simple I'm missing here?  The kernel source is
from ~Jan20, 1998...

My friend, having more experience with Linux, asked if we had a pnpprobe
utility...something that would list all the irq's and such being used...do
we have something like that?

Thanks for any help...



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980210213454.249A-100000>