Date: Wed, 03 Mar 1999 16:49:36 +0000 From: Erik Umenofer <eriku@silcom.com> To: dmaddox@conterra.com Cc: multimedia@FreeBSD.ORG, questions@FreeBSD.ORG Subject: DMA/IRC timeout on SB16 Message-ID: <36DD6820.FF7B4A9A@silcom.com> References: <36DC8CE5.E75C9A81@silcom.com> <19990303182655.C1295@dmaddox.conterra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <SoundBlaster 16 4.16> > > sbxvi0 at drq 5 on isa > > snd0: <SoundBlaster 16 4.16> > > sbmidi0 at 0x330 on isa > > snd0: <SoundBlaster MPU-401> > > opl0 at 0x388 on isa > > snd0: <Yamaha OPL3 FM> > > > > 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: <SoundBlaster 16 4.16> > > SB16 Error: Invalid DMA channel 1/3 > > bxvi0 not found > > sbmidi0 at 0x330 on isa > > snd0: <SoundBlaster MPU-401> > > opl0 at 0x388 on isa > > snd0: <Yamaha OPL3 FM> > > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36DD6820.FF7B4A9A>