Messages in this thread | | | Date | Tue, 21 Jul 1998 23:39:51 -0500 (CDT) | From | Thomas Molina <> | Subject | Re: Hack for Sound question |
| |
RedHat 5.X does this. They created a script which, among other things, does aumix -L at startup and aumix -S at shutdown. It saves these settings in /etc/.aumixrc.
On Tue, 21 Jul 1998, David Schleef wrote:
> > > > Not to take away from the important kernel hacking, but I have a tiny > > question of opinion to ask. I wanted to tweak the sb_mixer code around a > > bit to automaticly save and restore mixer levels whenever the mixer is > > accessed. It just irks me to have to reset it each time I reboot my > > computer. ;) > > You shouldn't need to tweak anything. Just write a script that gets > executed at startup/shutdown by init that restores/saves the mixer > state to some /etc or (better) /var file. Look what /etc/rc.d/init.d/random > does to save/restore the random number generator state. (valid possibly > only for Red Hat.)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |