Alsa question
i all, i am running Slack 9.0 and i installed alsa drivers in order to have sound with my gigabyte GA-7vaxp Ultra mother board.
Everithing works correctly, but everytime i run Slack i have to code amixer set Master 70 on. Is it possible set it without writing this istuction everytime? |
You can usually use alsamixer to set the volume levels then theres another alsasomething one to save them. That works for me.
|
alsactl store
|
Thats it, thanks :P
|
Alsa what?
|
just set all of your sound how you want it and then type
'alsactl store' in the console kM |
Thank you for your suggestion.
I tried, but if i exit X and run it again i have to repeat again alsamixer and on. Does it exist some file to modify? |
You've probably already found the answer, but if not, this is it
in a more verbose answer. As a normal user issue the command $ alsamixer and unmute all the channels with the M key of your keyboard. Then turn up your volume as you wish. Then login as root and issue the command # alsactl store which will store your settings permanently. |
I tried with everything, but everytime i start X there is no sound. I think it ignore /etc/rc.d/rc.local file.
I would like to know from wich file it takes informations, but i am a linux newbie and i do not know. |
It sounds like you need to add
alsactl restore to your /etc/rc.d/rc.local I think that's the command that you need, but I just woke up and im not awake yet. I'll try to look into it more later. -kM |
Already added, but it seems it ignore that file. I think it takes the the values from another file. Sure not from rc.local.
|
Is rc.local executable? ls -l /etc/rc.d/rc.local will show if it is.
|
Yes it is. I did chmod 777 to be sure, but Master is still mute! Sigh!!!
I heard something about run levels. Is it possible is there the solution? |
When you are running X, are you running a sound server like arts or esound? If so, these may be changing the volume levels. Either way, the wm/desktop environment you are running is returning the settings back to what it thinks they should be. Open a graphical volume control program and have a look.
If this is the case, open a terminal and run alsactl store and reload your volume control. If possible, ask it to save settings. Hope this helps. TheMuso |
Thank you The Muso, this seems to be the right way.
In fact when alsa values are ok in text mode, but they change in X. Where can i find out wich server i am running? I do not understand how to fix the problem. Thank you. |
All times are GMT -5. The time now is 12:51 AM. |