Once upon a time, Victor wrote :

> When I reboot my gamix mixer settings go to 0.  As root I then execute
> 'alsactl restore 0' and all is well.  How do I keep the mixer settings
> between bootups?

The way I consider the cleanest is explained here :
http://freshrpms.net/docs/alsa/

Basically, what I do is add this to my /etc/modules.conf file :

post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :

Like that, whenever I play around with ALSA, my settings are kept! Of
course, I also have a script that saves the state upon reboots and
shutdowns.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 7.3 (Valhalla) running Linux kernel 2.4.18-10acpi
Load : 0.09 0.16 0.26


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to