kiran makam wrote:
> 
> --- Adam Jones <[EMAIL PROTECTED]> wrote:
> 
> > The command "alsactl store" will save your mixer
> > settings to
> > /etc/asound.state (under 0.9) or /etc/asound.conf
> > (for 0.5)
> > "alsactl restore" will reload the mixer settings.
> >
> > Just put them in the appropriate rc scripts and
> > you'll be all set.
> 
> I am a newbee, please tell me in which rc scripts I
> have to include the command and where to find it.
> 

There is an init script included with the driver distribution:

alsa-driver-0.9.0beta12/utils/alsasound

This script will take care of storing mixer settings when unloading the
drivers and restoring mixer settings when the drivers are loaded.

I forget which distro your running, but on debian it goes in /etc/init.d
and is then symlinked  into the appropriate runlevel directories
(/etc/rc?.d) with update-rc.d.

On redhat it goes in /etc/rc.d/init.d (though I understand they will
soon be moving away from that to use /etc/init.d) and a utility for
managing the symlinks is chkconfig.

If you are running neither a debian nor a redhat like system, perhaps
the script will at least show you what you need to do.

hope that helps,

-Eric Rz.

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to