From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 7 15:11:26 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ECFC16A4CE; Fri, 7 Nov 2003 15:11:26 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EBF844003; Fri, 7 Nov 2003 15:11:23 -0800 (PST) (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 hA7N97k4098214; Fri, 7 Nov 2003 18:09:07 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id hA7N94XE098213; Fri, 7 Nov 2003 18:09:04 -0500 (EST) Date: Fri, 7 Nov 2003 18:09:04 -0500 From: Mathew Kanner To: Scott Long Message-ID: <20031107230904.GJ94805@cnd.mcgill.ca> References: <20031107204812.GD374@arthur.nitro.dk> <20031107210525.GG34063@elvis.mu.org> <20031107152814.Y51343@pooker.samsco.home> <20031107223606.GI94805@cnd.mcgill.ca> <20031107154956.D51343@pooker.samsco.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031107154956.D51343@pooker.samsco.home> 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.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on hak.cnd.mcgill.ca cc: "Simon L. Nielsen" cc: "Bruce A. Mah" cc: Alfred Perlstein cc: multimedia@freebsd.org Subject: Re: Re: HEADSUP: Soekris and generic LED/lamp support in FreeBSD-current X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 23:11:26 -0000 On Nov 07, Scott Long wrote: > On Fri, 7 Nov 2003, Mathew Kanner wrote: > > On Nov 07, Scott Long wrote: > > > On Fri, 7 Nov 2003, Alfred Perlstein wrote: > > > > * Simon L. Nielsen [031107 12:48] wrote: > > > > > On 2003.11.07 08:43:11 -0800, Bruce A. Mah wrote: > > [...snip...] > > > > kldunload should unload all driver. I plan to augment > > /dev/sndstat to show which driver is actually behind the device. > > The current semantics are intentional (IIRC from talking with Cameron). > The idea was to make it easy to load the correct sound driver without > having to know specifically which one you needed, but not waste RAM by > loading all of them. Modifying /dev/sndstat like you said would be > interesting, but changing the unload semantics then makes things less > convenient. kldunload does unload all the drivers, at least on my machine. I can't think of an easy way to implement those semantics without preventing the unload of an attached driver in the general case. --Mat -- Canada is a country whose main exports are hockey players and cold fronts. Our main imports are baseball players and acid rain. - Pierre Elliott Trudeau