From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 11:50:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AC6316A4B3 for ; Sat, 11 Oct 2003 11:50:27 -0700 (PDT) Received: from smtp2.knology.net (smtp3.knology.net [24.214.63.14]) by mx1.FreeBSD.org (Postfix) with SMTP id AE8D843FBF for ; Sat, 11 Oct 2003 11:50:26 -0700 (PDT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 28172 invoked from network); 11 Oct 2003 18:50:26 -0000 Received: from unknown (HELO user-24-214-34-52.knology.net) (24.214.34.52) by smtp3.knology.net with SMTP; 11 Oct 2003 18:50:26 -0000 From: David Kelly To: andy@neu.net, questions@freebsd.org Date: Sat, 11 Oct 2003 13:50:24 -0500 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310111350.24616.dkelly@HiWAAY.net> Subject: Re: Soundcard config issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 18:50:27 -0000 On Saturday 11 October 2003 01:01 pm, andy@neu.net wrote: > I recently installed 5.1 release in a box that has a Creative Labs > model # CT4810 soundcard. I believe this card is sold as Sound > Blaster PCI, which is supported according to the pcm(4) man page. > The following line is from dmesg output: > pci0: at device 9.0 (no driver attached) > > What does this mean, how can I configure it? Detailed instructions > would be really appreciated. Thanks in advance... Its way too early to start building kernels to shoot for the proper drivers for your sound card. Use the KLD modules first to figure out what is needed, its much faster. Almost instant. Then rather than build the drivers into the kernel you might elect to load the modules automatically at boot. % su # kldload snd_driver See if your sound card now works. Easy test is to type "mixer", if it doesn't complain then a driver was found. "Snd_driver" loads every sound driver, which "works" but is a bit excessive. We don't care about being excessive and wasteful when trying to get things working the first time but I don't think you want to use snd_driver all the time. If you get the card working with snd_driver (as I expect you will) then study /var/log/messages and dmesg(8) for hints as to what driver found hardware it liked. Then try to associate that with the modules listed with kldstat(8). Can use "kldunload snd_driver" to remove everything. Verify mixer(8) no longer works. Then use kldload(8) to install the module you think is needed. Verify with mixer(8). For me, snd_es137x is correct. Placed this line in /boot/loader.conf to load it (early) at boot: snd_es137x_load="YES" snd_es137x depends on snd_pcm and will automatically pull it in too. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.