Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-31-2003, 03:07 PM   #1
Registered: Oct 2003
Location: Ontario, Canada
Distribution: Mandrake 9.1
Posts: 47

Rep: Reputation: 15
ALSA Mixer Not Saving Settings...

Hey everyone...
As the subject reads, the settings from alsamixergui are not saved when I logout and back in. I have read numerous posts regarding such an issue, and have tried all the possible solutions I managed to find without success.

I've tried:
usr/sbin/alsactl store
/usr/sbin/alsactl -f /etc/asound.state store
at konsole... everything looks fine, but no settings are restored upon reboot. Even if I try as root, same thing.

I've tried editing the modules.conf file and adding post-install and pre-remove lines. But nothing seems to work.

The closest I've gotten is running alsactl store and then restore in the same session. That works, the settings are saved and restored correctly. But if I restart the computer and try ato restore it claims "No state is present for card first".

I thought maybe some of you might have other suggestions I might try?

Thanks in advance!
Old 10-31-2003, 06:20 PM   #2
Registered: Dec 2002
Posts: 35

Rep: Reputation: 15
Here read this, I use this srcipt on LFS system and the same script on Slackware 9.0 with a little modification. With slackware I dont use the sim links I just add a line in one of the boot scripts that run at shut down and startup to have it source the alsa script.
Old 10-31-2003, 09:16 PM   #3
Registered: Oct 2003
Location: Ontario, Canada
Distribution: Mandrake 9.1
Posts: 47

Original Poster
Rep: Reputation: 15
Well, you've gotten me one step closer.

Now the settings save ok on shutdown. But on restart I have to manually run alsactl resotre to get my settings back...

For the moment I placed a link in ~/.kde/Autostart to restore my settings... which is fine. But I would indeed like to know how to make it work normally.

Thanks for the help!
Old 11-01-2003, 09:24 AM   #4
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
You've got half the picture:

alsactl store

Stores the settings. It's a text file, you can check it out.

To get them back, put

alsactl restore

in your once-per-login script, usually $HOME/.profile or $HOME/.login, depending on your shell.
Old 11-01-2003, 12:33 PM   #5
Registered: Jul 2003
Location: United Kingdom
Distribution: Slackware 8.0, 8.1, 9, 9.1 Crux 1.1,1.2
Posts: 80

Rep: Reputation: 15
Why not just use aumix?

I have:

exec aumix -v 95 -w 95 -c 80 -o 80 -s 60

In /etc/rc.d/rc.local and it sets my volume levels automatically on bootup. Saves any of the hassle I had with ALSA controls.
Old 11-01-2003, 01:01 PM   #6
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
well you can follow the way he's suggested.

You can have a better idea from this particular thread that I started myself when I had the same issue with my Red Hat 9 box


Old 11-02-2003, 11:36 AM   #7
Registered: Oct 2003
Location: Ontario, Canada
Distribution: Mandrake 9.1
Posts: 47

Original Poster
Rep: Reputation: 15
I had already tried aumix. While it was easier to setup and stuff, I couldn't unmute all the special channels (aux, line, spdif) with it.

So I went through coolamit78's thread and managed to get it pretty much solved. I'm happy with the results I got.

Thanks again guys!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA mixer settings preserve? adds2one Linux - General 2 09-02-2005 02:38 AM
saving alsa mixer and upgrading kde speel Slackware 6 05-27-2005 12:57 PM
ALSA not saving user mixer settings abk4523 Linux - Software 3 12-29-2004 12:29 AM
Saving mixer settings TIMEOUT domecq Fedora 0 07-27-2004 04:24 PM
mixer settings not saving on reboot/misc. problems Googly Linux - General 1 04-05-2004 10:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration