Re: sound module - setting initial volume

Daniel G. Linder (dlinder@webcentric.net)
Thu, 5 Dec 1996 13:12:57 -0600 (CST)


Nils Philippsen wrote:
> I wonder if it's possible to set an initial volume that the sound-driver -
> if loaded as a module - uses at the time being (re)loaded.

In reply, Hannu Savolainen wrote:
> Linux 2.1.x versions of the sound driver contain two internal calls which
> can be used if someone is willing to implement support for loading/saving
> the mixer levels using kerneld. I'm not interested in implementing this
> feature myself but will give some instructions if somebody else wants to
> do it (has experience with kerneld).

What level of support does kerneld have when loading or saving values?
Is it possible to have a "boot / initial run" value, and then as the
module gets "tweaked" through the course of the system run time, the
"tweaked" values will be read in from something like a /proc entry that
kerneld will keep for all modules (even after they are unloaded)?

I have not hacked on kerneld, nor even looked at the code so this is just
a "feeler" for others to think about. I might get ambitious and work on
it later but I don't use modules much myself.

Dan