From owner-freebsd-multimedia Tue Feb 10 19:06:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA14178 for freebsd-multimedia-outgoing; Tue, 10 Feb 1998 19:06:19 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from thelab.hub.org (tc-38.acadiau.ca [131.162.2.138]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA14033; Tue, 10 Feb 1998 19:06:00 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id XAA01936; Tue, 10 Feb 1998 23:05:45 -0400 (AST) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Tue, 10 Feb 1998 23:05:45 -0400 (AST) From: The Hermit Hacker To: freebsd-multimedia@FreeBSD.ORG cc: freebsd-current@FreeBSD.ORG Subject: Re: Soundblaster 16 4.16 configuration In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Found it. After further investigations (and finding pnpinfo), we determined that altho the kernel was configured for sb0 on IRQ 10, the card itself was "stuck" on IRQ 5, so it was conflicting with my modem... moved the modem to IRQ7, and now it works... Sorry for bothering... :( On Tue, 10 Feb 1998, The Hermit Hacker wrote: > > Evening... > > A friend and I just spent the past several hours going through the > mailing lists at www.freebsd.org, newsgroups and whatever README files we > could find, and can't seem to get this thing to work...so now I ask here. > > I just picked up a Soundblaster card for my machine, and altho I > think its configured correctly, and FreeBSD appears to recognize it, I > can't appear to do anything with it. > > dmesg shows: > > Probing for devices on PCI bus 0: > chip0: rev 0x03 on pci0.0.0 > chip1: rev 0x01 on pci0.7.0 > ide_pci0: rev 0x00 on pci0.7.1 > vga0: rev 0x00 on pci0.12.0 > Probing for devices on the ISA bus: > sc0 at 0x60-0x6f irq 1 on motherboard > sc0: VGA color <16 virtual consoles, flags=0x0> > sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa > sio0: type 16550A > sio1 at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > sio2 at 0x3e8-0x3ef irq 5 on isa > sio2: type 16550A > lpt0 not found > fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa > fdc0: FIFO enabled, 8 bytes threshold > fd0: 1.44MB 3.5in > wdc0 at 0x1f0-0x1f7 irq 14 on isa > wdc0: unit 0 (wd0): > wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S > wdc0: unit 1 (atapi): , removable, dma, iordy > wcd0: 687Kb/sec, 240Kb cache, audio play, 2 volume levels, ejectable tray > wcd0: 120mm data disc loaded, unlocked > npx0 on motherboard > npx0: INT 16 interface > sb0 at 0x220 irq 10 drq 1 on isa > snd0: > sbxvi0 at ? drq 6 on isa > snd0: > opl0 at 0x388 on isa > snd0: > Intel Pentium F00F detected, installing workaround > > But, if I try to use something like 'splay' to play an mp3 file, I get: > > Sound: DMA (output) timed out - IRQ/DRQ config error? > > My first "concern" is that the sbxvi0 line above shows "at ? ..", which I > don't know if its important or not... > > My kernel config looks like: > > machine "i386" > cpu "I586_CPU" > ident thelab > maxusers 32 > > options USER_LDT > options SYSVSHM > options SYSVSEM > options SYSVMSG > options "CD9660" #ISO 9660 Filesystem > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options INET #InterNETworking > options FFS #Berkeley Fast Filesystem > options PROCFS #Process filesystem > options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] > options KTRACE > options "AUTO_EOI_1" > > config kernel root on wd0 > > controller isa0 > controller pci0 > > controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr > disk fd0 at fdc0 drive 0 > > options "CMD640" # work around CMD640 chip deficiency > controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr > disk wd0 at wdc0 drive 0 > disk wd1 at wdc0 drive 1 > > options ATAPI #Enable ATAPI support for IDE bus > options ATAPI_STATIC #Don't do it as an LKM > device wcd0 #IDE CD-ROM > > device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr > > device npx0 at isa? port "IO_NPX" irq 13 vector npxintr > > device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr > device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr > device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr > > device lpt0 at isa? port? tty irq 7 vector lptintr > > # Controls all sound devices > controller snd0 > device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr > device sbxvi0 at isa? drq 5 > device sbmidi0 at isa? port 0x330 > device awe0 at isa? port 0x620 > device opl0 at isa? port 0x388 > device mpu0 at isa? port 0x330 irq 6 drq 0 > > pseudo-device loop > pseudo-device ether > pseudo-device tun 1 > pseudo-device pty 16 > pseudo-device bpfilter 1 #Berkeley packet filter > > > And, I sent through the 'kernel -c' interface to change sb0 to irq 10 > instead of 5, because of the conflict with sio2 ... > > Is there something really simple I'm missing here? The kernel source is > from ~Jan20, 1998... > > My friend, having more experience with Linux, asked if we had a pnpprobe > utility...something that would list all the irq's and such being used...do > we have something like that? > > Thanks for any help... > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe current" in the body of the message > Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message