You are not logged in.

#1 2010-08-16 11:33:18

Madsin
Member
Registered: 2010-02-28
Posts: 5

Alsamixer settings wont be saved

Hey there,

Every time I boot, I've got to set up alsamixer anew.
I already tried

sudo alsactl store

but this wont do the trick.
What could be the reason?

Thanks,
Max

EDIT: When i run

sudo alsctl restore

after booting, my desired settings are applied.

Last edited by Madsin (2010-08-16 11:38:17)

Offline

#2 2010-08-16 11:41:04

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: Alsamixer settings wont be saved

Have you added also the alsa daemon to /etc/rc.conf? You shouldn't need to run alsctl restore anymore.

See: http://wiki.archlinux.org/index.php/Beg … d_Settings

Last edited by marfig (2010-08-16 11:41:21)


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#3 2010-08-16 11:42:02

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Alsamixer settings wont be saved

also are you setting the levels in alsamixer as root or as your regular user?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2010-08-16 11:57:16

Madsin
Member
Registered: 2010-02-28
Posts: 5

Re: Alsamixer settings wont be saved

Thanks marfig, that did it.
But I'm still confused.
How come alsa worked perfectly even without having the daemon run?
Running a daemon just to restore the settings?
Sorry, I still got to learn a lot. smile

Max

Offline

#5 2010-08-16 12:05:13

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Alsamixer settings wont be saved

Well, it's not really a daemon. If you look at what it actually does, it's

/usr/sbin/alsactl $ALSA_ARGS restore

and that's it.
Optionally it can also handle the power of the sound chip, but even that is just a command, not something that runs all the time like a real daemon would.

Offline

#6 2010-08-16 12:14:30

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: Alsamixer settings wont be saved

Madsin wrote:

Running a daemon just to restore the settings?
Sorry, I still got to learn a lot. smile

You and I.
However, I think this is an alternative, and probably more elegant, solution to changing your kernel module options in /etc/modprob.conf as suggested in http://alsa.opensrc.org/index.php/Using … lume_state. The daemon also shuts itself down once it does its thing. So not extra resources, as minimal as they may be, are used up.

I hope I'm right with that assessment, but this is what I've gathered from my readings on this matter.


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#7 2010-08-16 14:52:03

kpbotbot
Member
From: Philippines
Registered: 2010-08-02
Posts: 93
Website

Re: Alsamixer settings wont be saved

I still have this problem, but I was too lazy to research so I just wrote a script to raise my volume levels everytime xfce starts up big_smile Glad I found this.


Sex is not the answer.

Sex is the question, and Yes is the answer.

Offline

Board footer

Powered by FluxBB