From alsa-devel-owner@alsa.jcu.cz  Mon Apr 20 13:26:10 1998
Received: from pinta.kolumbus.fi (root@pinta.kolumbus.fi [193.229.0.40])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id NAA09180
	for <alsa-devel@jcu.cz>; Mon, 20 Apr 1998 13:25:54 +0200
Received: from rai.rauma.fi (ressu@rai.rauma.fi [195.237.14.194]) by pinta.kolumbus.fi (8.8.3/8.7.3) with ESMTP id OAA16145 for <alsa-devel@jcu.cz>; Mon, 20 Apr 1998 14:25:24 +0300 (EET DST)
Received: from localhost (ressu@localhost)
	by rai.rauma.fi (8.8.8/8.8.8) with SMTP id OAA00849
	for <alsa-devel@jcu.cz>; Mon, 20 Apr 1998 14:25:33 +0300
Date: Mon, 20 Apr 1998 14:25:27 +0300 (EET DST)
From: Sami Haahtinen / ZaNaGa <ressu@rai.rauma.fi>
To: alsa-devel@jcu.cz
Subject: Re: discussion about the sound volume problem...
In-Reply-To: <Pine.LNX.3.96.980420112839.22038E-100000@entry.jcu.cz>
Message-ID: <Pine.LNX.3.96.980420141854.721A-100000@rai.rauma.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

-> > > as i browsed through the large amounts of HOWTO's for Linux.. i came
-> > > across kerneld-minihowto... and i started reading it...
-> > 
-> > kerneld is no longer present in the 2.1.x kernels. It was replaced with
-> > kmod. I think you can do the same with kmod but with a different syntax.
-> > Jaroslav?
-> 
-> There is only problem with autocleaned modules for both kerneld and kmod.
-> There is no known way (for me) how to store driver settings at this moment.
-> Modules are removed automaticaly from kernel without interaction with user
-> space, so 'pre-remove' and 'post-remove' sections for modprobe aren't
-> working. I recommend at this time use of sound.init script which loads
-> most of sound modules without autoclean flag and other (add-on) modules
-> (like PCM OSS emulation) are loaded by kerneld/kmod.

while trying to think out this idea... i got another...

(THESE ARE ONLY IDEAS!)

how about, if we make a small module load on boot time.. that stores the
sound settings.. which the module uses to get the mixer settings... 

like.. 

gusextreme.o -> perm-module: "ok, i have loaded.. tell me the previous settings"
perm -> gus: "blaa blaa"

and when a mixer setting is changed..

gus -> perm: "i have changed these settings like this... "

and then the only problem is how to save the settings when computer
halts...

ok.. these are just ideas.. i don't know how much this is possible to
implement... but it might be worth a shot...

(PS. the reason why i'm trying to get a better solution is that i don't
have RH, and i'm not interested in trying to make up an init script for
Debian, even though it quite similar to the RH one... I WANT MY SOUND AS
AUTOLOADED! =)


		  /---------------------------\
		  |==| Sami Haahtinen |=======|
		  |===========================|
		  | E-mail:ressu@rai.rauma.fi |
		  | Voice:+358+(0)2+8231675 |=|
		  | Mail:Sami Haahtinen |=====|
		  |=====| Hietalantie 2 |=====|
		  |=====| 26930 Vermuntila |==|
		  |=====| FINLAND |===========|
  		  \---------------------------/


