From alsa-devel-owner@alsa.jcu.cz  Mon Apr 20 14:19:38 1998
Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id OAA12529
	for <alsa-devel@jcu.cz>; Mon, 20 Apr 1998 14:19:23 +0200
Received: from scesie04.sie.siemens.at (root@firix [10.1.143.100])
	by zwei.siemens.at  with ESMTP id OAA23984
	for <alsa-devel@jcu.cz>; Mon, 20 Apr 1998 14:19:13 +0200 (MET DST)
Received: from pc0116sd7.sysdata.siemens.at ([150.121.7.246])
	by scesie04.sie.siemens.at () with SMTP id OAA02079
	for <alsa-devel@jcu.cz>; Mon, 20 Apr 1998 14:19:14 +0200 (METDST)
Received: from pc0176sd.sysdata.siemens.at (unverified [150.121.3.198]) by pc0116sd.sysdata.siemens.at
 (EMWAC SMTPRS 0.83) with SMTP id <B0000561983@pc0116sd.sysdata.siemens.at>;
 Mon, 20 Apr 1998 14:12:47 +0200
Received: by pc0176sd.sysdata.siemens.at
	id m0yRFRA-0007VAC
	(Debian Smail-3.2.0.92 1997-Feb-9 #2); Mon, 20 Apr 1998 14:12:40 +0200 (CEST)
Message-ID: <19980420141240.59114@pc0176sd>
Date: Mon, 20 Apr 1998 14:12:40 +0200
From: Szekeres Istvan <szekeres@cyberspace.mht.bme.hu>
To: alsa-devel@jcu.cz
Subject: Re: discussion about the sound volume problem...
References: <Pine.LNX.3.96.980420112839.22038E-100000@entry.jcu.cz> <Pine.LNX.3.96.980420141854.721A-100000@rai.rauma.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <Pine.LNX.3.96.980420141854.721A-100000@rai.rauma.fi>; from Sami Haahtinen / ZaNaGa on Mon, Apr 20, 1998 at 02:25:27PM +0300
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Mon, Apr 20, 1998 at 02:25:27PM +0300, Sami Haahtinen / ZaNaGa wrote:
> -> 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.
> 
> 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... 

Umm, isn't there any way to export symbols on the fly? So a module on first
load could look for a symbol named "sound_settings". If not found, allocate
some memory, and export its address via that named symbol. On unload, the
allocated memory and the symbol would remain, and next time when the module
is loaded it will find the symbol and use the memory it points to.

Pista

