Re: auto-restoring alsamixer settings?

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

 



On Sat, Mar 17, 2007 at 04:52:03PM -0400, Lee Revell wrote:
> On 3/17/07, Dragan Noveski <perodog@xxxxxxx> wrote:
> >hi list,
> >yesterday i successfully replaced the debian alsa drivers/libs/etc with
> >the selfcompiled ones, v1.0.14rc3 - and (almost) everything works 
> >wonderful!
> >
> >well, the only thing what does not work as previously is that the
> >alsamixer settings for my onboard device  (intel8x0) are not restored
> >after a reboot - everything muted!
> >if i plug the usb interface, the mixer is not muted, but there are some
> >old settings saved, and if i change the settings, on the next boot they
> >are not restored too.
> >plugin the multiface(cardbus) works wery well, since we use the
> >'hdspmixer' and not the 'alsamixer' for that one.
> 
> Debian stores asound.state in a non-standard location (somwhere under
> /var IIRC).  I think the easiest fix is to replace your self-compiled
> alsactl with Debian's, or hack the startup/shutdown scripts to
> save/restore asound.state where you want it.

I doubt there's anything special about their version of alsactl, they
probably just do what you're suggesting in an init script.
(On gentoo, the relevant script is called /etc/init.d/alsasound.)
On shutdown, you want to do:

  alsactl store

On startup, you want to do:

  alsactl restore


-- 

Paul Winkler
http://www.slinkp.com

[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