Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > alsamixer wont save settings

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 09-28-2005   #1 (permalink)
Just Joined!
 
Join Date: Jul 2005
Posts: 84
alsamixer wont save settings

alsamixer has to be re ran everytime I reboot. I run alsactl store and have /usr/sbin/alsactl restore added to my rc.local file, but my settings go back to being default (muted) upon boot. I suspect I have to re-run alsamixer because I have an entry in my rc.local file to re-run ./snddevices at boot as well, which is probably reconfiguring my card. This the only way I have been able to get sound to work (the ./snddevices thing), and trust me. I have been all over lots of forums, and I have tried everything. It's been the only way that works for me. I am running Slackware 10.1 with kernel 2.6.13.2
durty_nacho is offline  


Old 09-28-2005   #2 (permalink)
Banned
 
Join Date: Nov 2004
Location: Belgium
Posts: 1,121
run alsaconf as root (should do everything for you)
__________________
Those who can make you believe absurdities can make you commit atrocities.
--Voltaire
jens is offline  
Old 09-28-2005   #3 (permalink)
Just Joined!
 
Join Date: Jul 2005
Posts: 84
Running alsaconf does not help aid me in the saving of my alsamixer settings, even if ran as root. Thank you for your reply however.
durty_nacho is offline  
Old 09-28-2005   #4 (permalink)
Just Joined!
 
Join Date: Sep 2005
Posts: 12
Code:
alsactl store
should keep them settings.
BrunoM is offline  
Old 09-28-2005   #5 (permalink)
Just Joined!
 
Join Date: Jul 2005
Posts: 84
BrunoM

The first line of my post states that I tried that.
durty_nacho is offline  
Old 09-28-2005   #6 (permalink)
Just Joined!
 
Join Date: Aug 2004
Location: Kentucky
Posts: 20
Comment out the line for ./snddevices in rc.local.
Re-run alsaconf, alsamixer, and alsctl store as root in that order. Reboot - you should be ok.
mlangdn is offline  
Old 09-29-2005   #7 (permalink)
Just Joined!
 
Join Date: Jul 2005
Posts: 84
That wont work, the whole reason I have that in their is because alsamixer wont run until I run ./snddevices. That is what makes my card work. Alsaconf will still find my card but the card wont function until I run snddevices.
durty_nacho is offline  
Old 09-29-2005   #8 (permalink)
Just Joined!
 
Join Date: Aug 2004
Location: Kentucky
Posts: 20
I just noticed that you are using kernel 2.6.13 - you may need to get a newer version of alsa for this kernel. I am using 2.6.12 with no problems with 10.2.

I do not have that line in rc.local. I am using an old sounblaster pci 128. Works great.
mlangdn is offline  
Old 09-29-2005   #9 (permalink)
Banned
 
Join Date: Nov 2004
Location: Belgium
Posts: 1,121
see: http://alsa.opensrc.org/faq/#FAQ021
Quote:
There's several ways to fix this. The easiest is to write a script with one line:

alsactl restore

, save it as 'alsasoundrestoremixer' in /etc/init.d/, make it executable:

% chmod a+x /etc/init.d/alsasoundrestoremixer

, and create a symlink to run this straight after alsasound:

% ln -s /etc/init.d/alsasoundrestoremixer /etc/rcS.d/S59alsasoundrestoremixer

This forces the loading of the mixer settings every time the system is booted.
PS: You might need to include whatever else you need to do to get it working...
__________________
Those who can make you believe absurdities can make you commit atrocities.
--Voltaire
jens is offline  
Closed Thread


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 Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:21 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2