From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 5 08:44:47 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A7D116A4CE for ; Fri, 5 Mar 2004 08:44:47 -0800 (PST) Received: from atlasta.net (mail.atlasta.net [209.246.234.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 47BDB43D31 for ; Fri, 5 Mar 2004 08:44:47 -0800 (PST) (envelope-from drais@atlasta.net) Received: (qmail 18601 invoked by uid 1012); 5 Mar 2004 16:44:46 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 5 Mar 2004 16:44:46 -0000 Date: Fri, 5 Mar 2004 08:27:56 -0800 (PST) From: David Raistrick To: "Brandon D. Valentine" In-Reply-To: <20040304205210.GJ490@geekpunk.net> Message-ID: References: <20040303160340.700C5170D4@www.wcborstel.nl> <20040304205210.GJ490@geekpunk.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII ReSent-Date: Fri, 5 Mar 2004 08:44:39 -0800 (PST) Resent-From: David Raistrick Resent-To: freebsd-hackers@freebsd.org ReSent-Subject: Re: Standard sbc and pcm support in GENERIC kernel? ReSent-Message-ID: cc: Jorn Argelo cc: stable@freebsd.org cc: hackers@freebsd.org Subject: Re: Standard sbc and pcm support in GENERIC kernel? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 16:44:47 -0000 On Thu, 4 Mar 2004, Brandon D. Valentine wrote: > If they'd read pcm(4) they'd know how to get sound support up and > running without recompiling their kernel. Is there something wrong with > requiring that a new user bother to read the documentation? pcm(4) only explains the technical details, as well as partially covering the reboot-to-make-it-work scenario. It doesn't cover the kdlload scenario to bring sound online without rebooting. If pcm(4) or the handbook, or something, would give a more end-user oriented (for those who are new to 5.x or new to freebsd entirely) approach, this would be very helpful. pcm(4) also provides no detail on how to determine what "foo" should be for your soundcard. snd_foo_load (``NO'') If set to ``YES'', load driver for card/chipset foo. For example, I have an ALC650 soundcard in my XPC. Where do I look to find out what snd_foo_load I need to enable the sound? I've still not found this information. I use snd_driver_load="YES" which loads /all/ of the pcm drivers, but I cannot tell from kldstat which driver I'm actually using, so I could avoid loading the others. Providing detail on how to kldload "snd_driver_load" or "snd_foo_load" would be nice, so users can test this without rebooting their systems. kldload snd_driver is of course the correct way to do it. FWIW, kldunload snd_driver does /not/ unload all of the modules that kldload snd_driver loads. All of this of course assumes that the modules are even built and installed in /boot/kernel/ which may or may not be the case (in my experiance) with a fresh installation. You may need to make install these... ~shrug~ ...david --- david raistrick drais@atlasta.net http://www.expita.com/nomime.html