lkml.org 
[lkml]   [1998]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Testers wanted: exorcised kmod.c: no more daemon!
Date
From

chris@cybernet.co.nz said:
> On Fri, Apr 17, 1998 at 12:41:45AM +0200, David Woodhouse wrote:
> >
> > bytor@logicsouth.com said:
> > > Maybe someone should hack the sound module to take initial mixer
> > > settings on startup. (this is why I don't modularize sound =])
> >
> > I did this, and it worked very nicely. It used the [gs]et_persist() functions
> > of kerneld to store and retrieve the mixer levels when unloading and loading
> > the module, respectively.
> >
> > Unfortunately, I'm a bit stuck for ideas now that kerneld's gone.
>
> Can modprobe be hacked to to pre/post stuff for certain modules as flagged
> by /etc/modules.conf or something?

I think it already does. But it's too late - we don't want to set the mixer
levels half a second after deafening the user by setting the output gain to
its default 75%.

We ought to load the intended levels into kernel space before setting the
hardware up, which is what I was doing before kerneld disappeared.

ftp://dwmw2.robinson.cam.ac.uk/pub/kernel/sound-kerneld-79

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.027 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site