From owner-freebsd-current@FreeBSD.ORG Sun Sep 5 18:58:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F59E16A4CE; Sun, 5 Sep 2004 18:58:23 +0000 (GMT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF7B43D54; Sun, 5 Sep 2004 18:58:22 +0000 (GMT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id i85J5X1M025853; Sun, 5 Sep 2004 15:05:33 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id i85J5WZV025852; Sun, 5 Sep 2004 15:05:32 -0400 (EDT) Date: Sun, 5 Sep 2004 15:05:32 -0400 From: Mathew Kanner To: Marc Fonvieille Message-ID: <20040905190532.GC19729@cnd.mcgill.ca> References: <4139D650.9030506@pldrouin.net> <20040904150800.GA2840@abigail.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040904150800.GA2840@abigail.blackend.org> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.62 X-Spam-Checker-Version: SpamAssassin 2.62 (2004-01-11) on hak.cnd.mcgill.ca cc: Pierre-Luc Drouin cc: current@freebsd.org Subject: Re: device pcm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 18:58:23 -0000 On Sep 04, Marc Fonvieille wrote: > On Sat, Sep 04, 2004 at 10:50:56AM -0400, Pierre-Luc Drouin wrote: > > Hi, > > > > I've read UPDATING about the changes related to the soiund devices, but > > I'm unable to get sound to work. I've added the line "device sound" to > > my kernel and have tried to use also the line "device pcm" or "device > > snd_pcm", but both are unknown when I try to compile. My sound card is a > > SB Live! What should I write in my kernel config line? > > > > Could you try to follow instructions at: > > http://www.blackend.org/docdev/en_US.ISO8859-1/books/handbook/sound-setup.html > > it's future update of Handbook section for sound setup. > > Any feedback is welcome :) Could you add that the easiest way to configure you sound in 5.X+ is to: tube# kldload snd_driver tube# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xb800 irq 11 kld snd_cmi (1p/1r/0v channels duplex default) pcm1: at io 0xb400 irq 5 kld snd_emu10k1 (4p/2r/0v channels duplex) for each kld snd_foo echo snd_foo_load="YES" >> /boot/loader.conf This method works because snd_driver is just dummy module that loads all[1] the sound modules. (Oops, just noticed I missed uaudio). Also, KLDs are the preferred method for sound usage and that ISA cards likely won't need a hint (PNP). --Mat [1] It only loads the sounds modules that it knew about at compile time. Some sound modules are provided "third party" such as in the ports, such modules will be missed by this method and will have to be specifically loaded. -- I don't even know what street Canada is on. - Al Capone