Skip site navigation (1)Skip section navigation (2)
Date:      4 Nov 1998 16:29:00 +0100
From:      Graeme Brown <graeme.brown@bt-sys.bt.co.uk>
To:        FreeBSD-Newbies <freebsd-newbies@FreeBSD.ORG>
Subject:   How to determine sound card IRQ and DRQ settings ?
Message-ID:  <n1302011898.25463@maczebedee>

next in thread | raw e-mail | index | archive | help
I am trying to configure a sound card which is integrated with
the mother board of a Dell Gxa PC under FreeBSD (2.2.5).

I believe the integrated soundcard is a SoundBlaster compatible one.
I have built a kernel with sound support with kernel config options
controller      snd0
device sb0      at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330      

I 'm not sure if the  sbxvi0 ,  sbmidi0 are needed. They do not probe
on re-booting.  I have made sound support devices by
cd /dev
./MAKEDEV snd0

When I boot the new kernel the sound driver appears to find the
sound card 

dmesg gives
SNIP...
sb0 at 0x220 irq 7 drq 1 on isa
sb0: <SoundBlaster Pro 3.2>
sbxvi0 not found
sbmidi0 not found at 0x330
SNIP...

However when I try to play a sample file take from the snd-kit
distribution

cat endoftheworld > /dev/dsp

I get the console error messages

Sound: DMA timed out - IRQ/DRQ config error?
Sound: DMA timed out - IRQ/DRQ config error?
Sound: DMA timed out - IRQ/DRQ config error?
SNIP...

which suggests an IRQ/DRQ conflict.  I have removed lpt0 (normally
uses IRQ 7) from the kernel config file so I don't see how the IRQ
can be source of the problem.  Also I cannot find any other entry
in the kernel config file which uses drq 1.

cat /dev/sndstat gives

VoxWare Sound Driver:3.0-beta-950506 (Sun Feb 5 14:38:12 EST 1995
freebsd-hacke)
Config options: ffffffff

Installed drivers:
Type 2: SoundBlaster
Type 6: SoundBlaster16
Type 7: SB16 MIDI


Card config:
SoundBlaster at 0x220 irq 7 drq 1
(SoundBlaster16 at 0x0 irq 65535 drq 5)
(SB16 MIDI at 0x330 irq 65535 drq 4294967295)

Audio devices:
0: SoundBlaster Pro 3.2

Synth devices:

Midi devices:
0: SoundBlaster

Timers:
0: System Timer

Mixers:
0: SoundBlaster   

Is there a way to determine what IRQs/ DRQs/DMA channels are currently being
used by what under FreeBSD which might help
me to track down the problem ? I don't think there are any jumpers
to set to force the sound card to a known IRQ/DRQ etc.

TIA
Graeme N Brown
BT laboratories, UK
email: graeme.brown@bt-sys.bt.co.uk

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



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