»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 01-04-2004, 01:25 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
Sound Settings fail to Stick

I have a small problem with ALSA. My sound settings don't stick. So everytime I reboot Linux, I have to set my volume controls again. It's getting really annoying, especially since all the sedttings have to be at or around 75% except the master, since I use headphones and having a master of 14 is a bit odd to me The sound settings don't stick even when I log in as root and use amixer (aumix doesn't work either).

So, how do I get a sticky volume control?

Redwolf is offline   Reply With Quote
Old 01-04-2004, 09:22 PM   #2 (permalink)
Registered User
 
flashingcurser's Avatar
 
Join Date: Jan 2002
Posts: 332
flashingcurser is on a distinguished road
You can put the following in your rc.local

/usr/sbin/aumix -d /dev/mixer1 -v100 -t60 -b60

(check out the man page for better options--also try it from the command line first to make sure it works

or set your mixer the way you want then from cli (as root):

/usr/sbin/alsactl store

then put in your rc.local:

/usr/sbin/alsactl restore

You will need to try these from the command line before putting them in your rc.local--I'm on a winders box right now so i'm running off memory.

Happy slacking






dan


PS--make sure your mixer really is /dev/mixer1 it may be 0....

Last edited by flashingcurser; 01-04-2004 at 09:25 PM.
flashingcurser is offline   Reply With Quote
Old 01-06-2004, 09:42 AM   #3 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Quote:
You will need to try these from the command line before putting them in your rc.local--I'm on a winders box right now so i'm running off memory.
alsactrl save 0
and
alsactrl restore 0
You need to specify the card ID.
You can specify the file it saves to with:
alsactrl -f /etc/mixerlevel save 0
Hope that helps.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 01-09-2004, 01:18 AM   #4 (permalink)
Registered User
 
Lemon[H]ead's Avatar
 
Join Date: Dec 1969
Location: Heriot-Watt Uni
Posts: 1,370
Lemon[H]ead is on a distinguished road
Send a message via AIM to Lemon[H]ead
adjusting the levels in alsamixer then # alsactl store should work fine.
Lemon[H]ead is offline   Reply With Quote
Old 01-09-2004, 09:32 AM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Location: NC in the US
Posts: 3,732
Redwolf is on a distinguished road
Send a message via ICQ to Redwolf Send a message via AIM to Redwolf Send a message via Yahoo to Redwolf
It runs alsactl restore when the machine starts up, but that isn't in the rc.local script. well, whateverit is, running alsactl store after setting the mixer fixes it. Thanks guys!
Redwolf is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 05:00 PM.