From owner-freebsd-questions Sat Dec 22 17:42:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 59A2637B41B for ; Sat, 22 Dec 2001 17:42:03 -0800 (PST) Received: from dialup-63.214.201.246.dial1.philadelphia1.level3.net ([63.214.201.246] helo=) by avocet.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16HxeL-0003rU-00; Sat, 22 Dec 2001 17:42:02 -0800 Date: Sat, 22 Dec 2001 20:42:04 -0500 From: Jud To: "Emil" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sounds bad Message-Id: <20011222204204.431791e7.judmarc@earthlink.net> In-Reply-To: References: X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Dec 2001 19:46:05 +0100 "Emil" wrote: > Hi, I'm trying to configure my soundBlaster 128 under >FreeBSD 4.4-STABLE. I have compiled my kernel lots of times, >adding "device pcm", "device pcm0", "device pcm1" or "device >pcm0 at isa? ...", but it doesn't work. When I compile the >kernel, run it, and i make the devide "snd0" or "snd1" in >/dev/ with MAKEDEV, and I try to load the module snd_es137x, >I get these errors: [snip] > pcm0: at device 12.0 on pci0 > pcm0: unable to map register space > device_probe_and_attach: pcm0 attach returned 6 [snip] > pcm0: at device 12.0 on pci0 > pcm0: unable to map register space > device_probe_and_attach: pcm0 attach returned 6 I may be able to help with part of this. I have on-board sound at pcm0 as well as a SoundBlaster 16PCI (ES1373) card at pcm1. The system was defaulting to the onboard sound, but I prefer the card. This is what I did to the relevant part of my kernel last night, and it seems to have worked: # Sound device pci0 device pcm0 at pci0 disable irq 10 device pcm1 at pci0 irq 5 Since dmesg says your card at pcm0 is on pci0, I think you would want to use "at pci0" rather than "at isa?" to describe the card's location. In turn, you'll also have to include "device pci0" so "at pci0" is defined. Unfortunately, I don't know enough to tell you why you're getting the "attach returned 6" or "unable to map register space" errors in your dmesg, so I can't help resolve that problem. Perhaps some kind person will post and let us both know? Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message