Messages in this thread | | | Subject | Re: Testers wanted: exorcised kmod.c: no more daemon! | Date | Fri, 17 Apr 1998 03:17:50 +0200 | From | David Woodhouse <> |
| |
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
| |