Re: [linux-audio-user] RE: No sound

From: Jan Depner <eviltwin69@email-addr-hidden>
Date: Wed Aug 24 2005 - 08:06:12 EEST

On Tue, 2005-08-23 at 23:32, Dirk Ouellette wrote:
> Yes, as long as you (or an init script) runs "alsactl restore" on the
> next boot.
>
> Save/restore mixer settings should work OOTB with any decent distro,
> normal users should never have to use alsactl.
>
>
>
> So how and where do I put this in an init script?

    The alsa distribution comes with a script called alsasound. On a RH
or FC system it resides in /etc/rc.d/init.d. You use "chkconfig
alsasound on" to get it to run at boot and shutdown (it has both start
and stop functions). This saves your settings at shutdown and restores
them at boot.

-- 
Jan "Evil Twin" Depner
The Fuzzy Dice
http://www.thefuzzydice.com
"As we enjoy great advantages from the invention of others, we should be
glad of an opportunity to serve others by any invention of ours, and this
we should do freely and generously."
Benjamin Franklin, on declining patents offered by the governor of
Pennsylvania for his "Pennsylvania Fireplace", c. 1744
Received on Wed Aug 24 16:15:06 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 24 2005 - 16:15:06 EEST