Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-14-2004, 01:39 AM
|
#1
|
Member
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141
Rep:
|
How to get alsamixer to save the sound settings.
I use gentoo, and alsa with arts, every time I start the system the sound is so low, I do, alsamixer, and then change VIA DXS, and raise that and it gets good, but when I close it and reboot or logout, it doesn't save the sound configuration. anyone know how to get it to save? I couldn't find it on google
|
|
|
08-14-2004, 02:02 AM
|
#2
|
Member
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
|
Well, the runlevel scripts are supposed to save current mixer settings on shutdown, but it's not uncommon for this to be broken. A simple solution is to set the mixer to suit, open a terminal, su to root, and run:
alsactl store
This should save a default setting for your mixer. Depending on how your system is set up you may have to use the full path to alsactl, for example:
/usr/bin/alsactl store
(if alsactl is in /usr/bin)
|
|
|
08-14-2004, 12:19 PM
|
#3
|
Member
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141
Original Poster
Rep:
|
it didn't work, the command went through but after logout, it lost the settings.
|
|
|
08-15-2004, 12:41 AM
|
#4
|
Member
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
|
Odd, that usually works. What's supposed to happen is this. An "asound" or "alsa" script (varies with distro) is called either through the sysinit runlevel mechanism or other startup and shutdown scripts, (again, varies with distro). The upshot is that the commands:
alsactl restore (during startup)
and
alsactl store (during shutdown)
are run. alsactl restore loads the mixer settings from /etc/asound.state into the mixer and alsactl store saves the current mixer settings to the file /etc/asound.state.
Last edited by kevinalm; 08-15-2004 at 12:42 AM.
|
|
|
06-04-2012, 09:01 AM
|
#5
|
LQ Newbie
Registered: Jun 2012
Posts: 2
Rep:
|
what I did was purge and install all my alsa packages again.
Like this:
sudo aptitude search "alsa" | grep "^i"
i alsa-base - ALSA driver configuration files
i alsa-oss - ALSA wrapper for OSS applications
i A alsa-utils - Utilities for configuring and using ALSA
i alsamixergui - graphical soundcard mixer for ALSA soundca
i gstreamer0.10-alsa - GStreamer plugin for ALSA
Then I do a :
sudo aptitude purge alsa-base ..... all of them
then I do:
sudo aptitude install alsa-base ... the same packages...
and after several test reboots all works..
ubuntu 12.04 - latest updates on a Dell l502x aka xps 15.
--
This worked nicely.
I prolly managed to mess up my settings/rc-scripts while trying all those fixes in the recent months...
|
|
|
All times are GMT -5. The time now is 11:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|