From owner-freebsd-questions Wed Mar 3 16:50: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.matrixinet.com (alpha.matrixinet.com [205.254.232.10]) by hub.freebsd.org (Postfix) with ESMTP id CD23014DFF; Wed, 3 Mar 1999 16:50:07 -0800 (PST) (envelope-from eriku@silcom.com) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by alpha.matrixinet.com (8.9.1a/8.9.1) with ESMTP id QAA07067; Wed, 3 Mar 1999 16:48:37 -0800 (PST) Received: from silcom.com (root@pm7-24.sba1.avtel.net [207.71.222.124]) by beach.silcom.com (8.9.0/8.9.0) with ESMTP id QAA06642; Wed, 3 Mar 1999 16:49:46 -0800 (PST) Message-ID: <36DD6820.FF7B4A9A@silcom.com> Date: Wed, 03 Mar 1999 16:49:36 +0000 From: Erik Umenofer Reply-To: eriku@silcom.com Organization: firebelly.net X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: dmaddox@conterra.com Cc: multimedia@FreeBSD.ORG, questions@FreeBSD.ORG Subject: DMA/IRC timeout on SB16 References: <36DC8CE5.E75C9A81@silcom.com> <19990303182655.C1295@dmaddox.conterra.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Donald J . Maddox wrote: > I don't believe that the Vibra16x is supported by the VoxWare driver. > It is, however, supported by the pcm driver. Pcm has no support for > MIDI, but it looks like you may have no choice. > > Try this in your kernel config: > > controller pnp0 > device pcm0 at isa? port 0x220 tty irq 5 drq 1 flags 0x15 vector pcmintr > > On Wed, Mar 03, 1999 at 01:14:13AM +0000, Erik Umenofer wrote: > > Hi. > > I have a Vibra16x > > pnpinfo says... > > 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 0x4Acceptable > > 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 > > > > dmesg..... > > > > sb0 at 0x220 irq 5 drq 1 on isa > > snd0: > > sbxvi0 at drq 5 on isa > > snd0: > > sbmidi0 at 0x330 on isa > > snd0: > > opl0 at 0x388 on isa > > snd0: > > > > Loosk good huh?? > > > > well.... > > > > Sound: DMA (output) timed out - IRQ/DRQ config error? > > > > is all i get.... > > > > I've tried drq's 1, 3 but then it says on dmesg > > > > sb0 at 0x220 irq 5 drq 1 on isa > > snd0: > > SB16 Error: Invalid DMA channel 1/3 > > bxvi0 not found > > sbmidi0 at 0x330 on isa > > snd0: > > opl0 at 0x388 on isa > > snd0: > > > > > > How do I tweak my dma's so that it doesnt' time out and the kernel likes > > it > > > > ive tried 1,3 and 1,5 > > WHat else can I do. > > IRQ 5 is correct. > > > > > > erik > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-multimedia" in the body of the message > > I Read somewhere in the source that the Vibra16X is supported but the voxware drivers didn't know how to use it I found some .c file in /usr/src/sys/i386/isa/sound/ that says something like "this is for Vibra16x but i don't know how to set it..." Then it sets the 16 bit DMA to >4 making it so if you use dma channel 1 and <4 it says that doesn't work. IT forces you to use DMA channels over 4 ie 5 Solution?? Find the code that restricts the 16 DMA to drq's over 4 since Vibra16x's use 3. Obviously it can be done. BUT HOW??????? What file do i edit.? and what do i change?? A guy told me he edited a source file and got the voxware drivers to be happy with using the 3 DMA channel for 16 bit.. Tell me if i'm wrong. I think this can be down since it's just a limting factor in the code.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message