From owner-freebsd-newbies Tue Nov 3 08:31:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA29641 for freebsd-newbies-outgoing; Tue, 3 Nov 1998 08:31:04 -0800 (PST) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from arthur.axion.bt.co.uk (arthur.axion.bt.co.uk [132.146.5.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA29620 for ; Tue, 3 Nov 1998 08:30:47 -0800 (PST) (envelope-from graeme.brown@bt-sys.bt.co.uk) Received: from rambo (actually rambo.futures.bt.co.uk) by arthur (local) with SMTP; Tue, 3 Nov 1998 16:29:53 +0000 Received: from maczebedee (actually macsmtp) by rambo with SMTP (PP); Tue, 3 Nov 1998 16:32:47 +0000 Message-ID: Date: 4 Nov 1998 16:29:00 +0100 From: Graeme Brown Subject: How to determine sound card IRQ and DRQ settings ? To: FreeBSD-Newbies X-Mailer: Mail*Link SMTP for Quarterdeck Mail; Version 4.0.0 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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: 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