[linux-audio-user] saving mixer settings on Mandrake 9.1

Patrick Shirkey pshirkey at boosthardware.com
Fri Jun 13 13:15:00 EDT 2003


Allan Klinbail wrote:
> Hi
> 
> I'm getting annoyed that every time I restart the machine (or possibly
> just ALSA) I need to reconfigure my mixer settings. (especially for my
> delta 66 as I like to have the adc, dac settings setup so that the
> meters on the computer match those of my mixing desk and hardware
> compressors.. unity gain should be the same everywhere)  
> 
> I'm sure this is just a matter of having the right SysV init script. My
> confusion is that Mandrake has 3 scripts for sound.. it has alsa,
> alsasound and sound. 
> 
> Does anyone know which is the right one to be using to ensure that my
> mixer settings are saved?
> 

This is not the answer you want but, if you only need to save them at a 
default volume then you can use:

	alsactl store <card>

there is a way to do it in your modules.conf file so that everytime you 
load the modules it restores the default setting.

ex.

alias snd-card-0 snd-cmipci
  options snd-cmipci id="first" # snd_enable_midi="1"
post-install snd-cmipci /usr/sbin/alsactl restore
  pre-remove snd-cmipci /usr/sbin/alsactl store



-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

Being on stage with the band in front of crowds shouting, "Get off! No! 
We want normal music!", I think that was more like acting than anything 
I've ever done.

Goldie, 8 Nov, 2002
The Scotsman




More information about the Linux-audio-user mailing list