From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 19:41:23 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 3EA5C16A4CE for ; Wed, 31 Dec 2003 19:41:23 -0800 (PST) Received: from mta13.srv.hcvlny.cv.net (mta13.srv.hcvlny.cv.net [167.206.5.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id C238943D45 for ; Wed, 31 Dec 2003 19:41:21 -0800 (PST) (envelope-from kellers@njit.edu) Received: from 10.0.1.9 (ool-4353d5dd.dyn.optonline.net [67.83.213.221]) by mta13.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HQS00BU8KW3HI@mta13.srv.hcvlny.cv.net> for questions@freebsd.org; Wed, 31 Dec 2003 22:40:51 -0500 (EST) Date: Wed, 31 Dec 2003 22:41:19 -0500 From: T Kellers In-reply-to: <200312312218.01442.timothyk@wallnet.com> To: Tim Kellers , Lowell Gilbert Message-id: <200312312241.19798.kellers@njit.edu> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.5.4 References: <200312301231.10684.timothyk@wallnet.com> <44smj0sc1x.fsf@be-well.ilk.org> <200312312218.01442.timothyk@wallnet.com> cc: questions@freebsd.org Subject: Re: [freebsd-questions] snd_maestro3.ko load/unload 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: Thu, 01 Jan 2004 03:41:23 -0000 On Wednesday 31 December 2003 10:18 pm, Tim Kellers wrote: > I'm going to try that right now. It would be nice to learn a last nugget > before the Bull of the Old Year dies:) > > Happy (nearly) New Year > > Tim > > On Wednesday 31 December 2003 08:16 pm, Lowell Gilbert wrote: > > Tim Kellers writes: > > > %mixer > > > Mixer vol is currently set to 11:11 > > > Mixer pcm is currently set to 75:75 > > > Mixer speaker is currently set to 75:75 > > > Mixer line is currently set to 75:75 > > > Mixer mic is currently set to 0:0 > > > Mixer cd is currently set to 75:75 > > > Mixer rec is currently set to 49:49 > > > Mixer ogain is currently set to 50:50 > > > Mixer line1 is currently set to 75:75 > > > Mixer phin is currently set to 0:0 > > > Mixer phout is currently set to 0:0 > > > Mixer video is currently set to 75:75 > > > > > > > > > It's the load/unload/load thing that has me baffled. Is there some > > > knob in kldload that doesn't get twisted until after a kldunload of a > > > .ko file? > > > > Well, no, but loading the driver results in trying to reset a bunch of > > things (including the mixer settings, which was why I asked about that). > > > > > Nah... > > > > > > gotta be something else, like evil spirits, maybe. > > > > You said you were letting snd_pcm get autoloaded; do you see the same > > results if you do an explicit load of that before loading the maestro3 > > driver? [Similar reasoning...] Yes, same results The .ko snd_maestro3 file can't e loaded without it pulling in snd_pcm.ko (and snd_pcm.ko can't be unloaded while the maestro3 .ko is loaded "Device is busy" is the message) The first load always disables the keyboard clicking (from BIOS) the ^G bell in the CLI and sound in X (using KDE and artsd, I haven't tried just plain twm). The unload/reload process still wakes everything up. My idea well is dry. Thanks, Tim