[linux-audio-user] RE: No sound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux