LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Alsa question (https://www.linuxquestions.org/questions/slackware-14/alsa-question-142165/)

Harp00 02-04-2004 08:25 AM

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?

Astro 02-04-2004 08:31 AM

You can usually use alsamixer to set the volume levels then theres another alsasomething one to save them. That works for me.

Chris H 02-04-2004 09:01 AM

alsactl store

Astro 02-04-2004 09:23 AM

Thats it, thanks :P

Harp00 02-07-2004 07:21 AM

Alsa what?

kmeehl 02-07-2004 11:34 AM

just set all of your sound how you want it and then type
'alsactl store' in the console

kM

Harp00 02-23-2004 03:08 PM

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?

Bruce Hill 03-07-2004 03:20 PM

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.

Harp00 03-31-2004 09:30 AM

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.

kmeehl 03-31-2004 09:48 AM

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

Harp00 04-02-2004 04:00 AM

Already added, but it seems it ignore that file. I think it takes the the values from another file. Sure not from rc.local.

ringwraith 04-02-2004 06:37 AM

Is rc.local executable? ls -l /etc/rc.d/rc.local will show if it is.

Harp00 04-03-2004 03:28 PM

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?

TheMuso 04-03-2004 05:44 PM

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

Harp00 04-04-2004 06:08 AM

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.