Florian Schmidt wrote:
On Thu, 22 Jan 2004 11:37:08 +0100
Daniel <[EMAIL PROTECTED]> wrote:


Argh!

This is really beginning to annoy me! Whenever I shut down or reboot Mandrake (9.2), ALSA forgets all mixer settings. When I start up
again, everything is reset to 0 volume and all that can be muted is
muted.


[snip]
http://alsa.opensrc.org/index.php?page=FAQ021


Forget the other guy's alsactl suggestion, because there is a script alread created for you.

From that FAQ page, "Usually there should be an /etc/init.d/alsasound
script included with your alsainstallation. This script just needs to be
added to the runlevel you use. Check the docs of your distribution for
details."

I'm using RedHat, but this might work for you, too.  Find out which
runlevel your computer uses when normally running (usually 3 for text
login or 5 for graphical login if you haven't messed with anything).
Then cd to /etc/rc.d/rcX.d (where X is your runlevel number).  The
directory should be filled with symlinks to scripts that are located in
/etc/rc.d/init.d/.  The ones that start with K do not get loaded, the
ones that start with S do get loaded.  The numbers indicate what order
they get loaded in.  So you need to make a link for ALSA.
ln -s ../init.d/alsasound SYYalsasound
where YY is 87 on my system (it might be different for Mandrake, I
haven't read the script).  The alsasound script actually can tell SysV
when it should be loaded.  To be sure that you picked the right number,
run ntsysv.  alsasound should be part of the list now.  Uncheck it, then
save the configuration.  Open ntsysv again, recheck it, save the
configuration, and the load number will be automatically set to the
correct value.  Good luck!

Peace,
William




------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to