From owner-freebsd-questions Mon Mar 23 07:39:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04062 for freebsd-questions-outgoing; Mon, 23 Mar 1998 07:39:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from top.monad.net (root@top.monad.net [204.97.16.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04048 for ; Mon, 23 Mar 1998 07:38:45 -0800 (PST) (envelope-from vdk@chaosphere.com) Received: from logrus.chaosphere.com (logrus.chaosphere.com [206.231.108.252]) by top.monad.net (8.8.8/What) with SMTP id KAA03692 for ; Mon, 23 Mar 1998 10:38:31 -0500 (EST) Date: Sun, 22 Mar 1998 22:36:28 -0500 (EST) From: Obi Wan Oblivion Reply-To: Obi Wan Oblivion To: questions@FreeBSD.ORG Subject: -stable: SB Pro + PnP / IRQs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I have a PnP ISA sound card running (by default) in SoundBlaster Pro mode on IRQ 5, DMA 1, and port 0x220. I am running 2.2-STABLE, built March 15th. I have added the following lines to my kernel config: controller pnp0 controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr options SBC_IRQ=5 rebuilt the kernel, rebooted, and ran: # cd /dev # ./MAKEDEV snd0 Rebooted again (just because I could) and everything seems to be detected appropriately. The kernel pops up with: Probing for PnP devices: CSN 1 Vendor ID: OPT0924 [0x2409143e] Serial 0x08000000 and then with: sb0 at 0x220 irq 5 drq 1 on isa sb0: I have an AVI, complete with audio, that I have been feeding to XAnim via: % xanim +Ae themovie.avi But always I am unable to hear any sound. I am unconvinced that this is an accurate test and would like to know if there is something more appropriate. I am also wondering if anyone has any thoughts about other things I can try to get this sound card running. I have tried eliminating the "option SBC_IRQ=5" line. I have also tried adding "conflicts" to the sb0 line above, more as a desparation move that anything else. With each of these changes, the kernel still reports the same lines indicated above at startup, however, with "conflicts" added to the line, and the SBC_IRQ line included, I am now getting this error message: Mar 20 02:26:51 logrus /kernel: Sound: DMA timed out - IRQ/DRQ config error? At the end of this email message, I have included the output of pnpinfo in the hope that this information may prove useful to anyone who wishes to help out with this. Also, on another note, I originally had my modem set up on irq 5, but when I installed my sound card, the modem failed to be detected. I ended up swapping the modem over to irq 3 (stolen from a disabled sio1) and it works fine. Now, however, X periodically hangs and then two or three seconds later it merrily marches on, all the while spewing something about "Cirrus: BitBLT eating itself" or words to that effect. This is especially evident when doing work in an xterm. What might I do to correct this? Is this as simple as throwing an "Option 'no_bitblt'" into /etc/XF86Config? Is there a way to correct this without disabling features? Am I correct in assuming that this is an irq conflict? Is there a utility that will let me see a list of all of the irqs in use on my system so that I can avoid conflicts like this in the future? Any help on either of these fronts would be appreciated. Pointers to reference material that I can read and learn from would be appreciated the most. Thanks! -Jeff Output of pnpinfo: Checking for Plug-n-Play devices... Trying Read_Port at 203... Card assigned CSN #1 Board Vendor ID OPT0924, Serial Number 0x08000000 PnP Version 1.0, Vendor Version 0 Device Description: OPTi Audio 16 Logical Device ID: OPT0000 0x0000143e #0 Vendor register funcs 00 Device Description: Pro Audio 16 I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10 [not 16-bit addr] I/O Range 0x130 .. 0x3f0, alignment 0x4, len 0x8 [not 16-bit addr] TAG Start DF I/O Range 0x380 .. 0x380, alignment 0x10, len 0xc [not 16-bit addr] IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, , , Compatibility mode TAG Start DF I/O Range 0x380 .. 0x3f0, alignment 0x10, len 0xc [not 16-bit addr] IRQ: 5 7 9 10 11 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, , , Compatibility mode DMA: channel(s) 0 1 3 8-bit, not a bus master, , , Compatibility mode TAG End DF Logical Device ID: OPT0001 0x0100143e #1 Vendor register funcs 00 Compatible Device ID: PNPb02f (2fb0d041) Device Description: Game Port TAG Start DF FIXED I/O base address 0x201 length 0x1 TAG Start DF I/O Range 0x100 .. 0x3f0, alignment 0x10, len 0x2 [not 16-bit addr] TAG End DF Logical Device ID: OPT0002 0x0200143e #2 Vendor register funcs 00 Device Description: MPU401 IRQ: 5 7 9 10 - only one type (true/edge) I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2 [not 16-bit addr] Logical Device ID: OPT0003 0x0300143e #3 Vendor register funcs 00 Compatible Device ID: PNP0600 (0006d041) Device Description: CD IRQ: 15 - only one type (true/edge) TAG Start DF I/O Range 0x376 .. 0x376, alignment 0x10, len 0x2 [not 16-bit addr] I/O Range 0x170 .. 0x170, alignment 0x10, len 0x8 [not 16-bit addr] TAG Start DF I/O Range 0x376 .. 0x3f6, alignment 0x10, len 0x2 [not 16-bit addr] I/O Range 0x170 .. 0x3f0, alignment 0x10, len 0x8 [not 16-bit addr] TAG End DF Logical Device ID: OPT0004 0x0400143e #4 Vendor register funcs 00 Compatible Device ID: PNP0500 (0005d041) Device Description: Modem IRQ: 3 4 5 7 9 10 11 - only one type (true/edge) TAG Start DF I/O Range 0x2e8 .. 0x2f8, alignment 0x10, len 0x8 [not 16-bit addr] TAG Start DF I/O Range 0x3e8 .. 0x3f8, alignment 0x10, len 0x8 [not 16-bit addr] TAG Start DF I/O Range 0x100 .. 0x3f0, alignment 0x10, len 0x8 [not 16-bit addr] TAG End DF Logical Device ID: OPT0005 0x0500143e #5 Vendor register funcs 00 Device Description: OPT924 I/O Range 0x30d .. 0x3ed, alignment 0x20, len 0x9 [not 16-bit addr] TAG Start DF TAG Start DF IRQ: 5 10 11 - only one type (true/edge) TAG End DF End Tag Successfully got 57 resources, 6 logical fdevs -- card select # 0x0001 Logical device #0 IO: 0x0220 0x0130 0x0380 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 5 0 DMA 3 4 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0201 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #2 IO: 0x0300 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 9 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #3 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 Logical device #4 IO: 0x02e8 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 10 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #5 IO: 0x030d 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Transformers - They're more than meets the eye! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message