Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] alsa autosaving/restoring

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] alsa autosaving/restoring
  • Date: Fri, 23 Jul 2004 17:24:43 +0200

On Fri, Jul 23, 2004 at 11:14:24AM -0400, Jeremy Kolb wrote:
> Where do I add the lines for alsa automatically saving and restoring mixer
> settings? I'm sick of running alsactl mixer restore 0 everytime I boot and
> I've finally decided to post about it.
>
> Thanks!
>
> Jeremy

You can either use the alsa init script for that which has recently been
moved to alsa-lib, just set CARDS="", OSS=no and START_ALSA_SEQ=no if
you have everything builtin in the kernel, then it will only run the
mixer save/restore stuff.
Or you could add the alsactl restore to /etc/sysconfig/bootmisc and
alsactl store to /etc/sysconfig/haltmisc.

If you're using udev there's also the possibility to use /etc/dev.d/ as
described in /usr/share/doc/udev/RFC-dev.d, though i never tried that.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page