LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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



Reply
 
Search this Thread
Old 08-14-2004, 01:39 AM   #1
cheater1034
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
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
 
Old 08-14-2004, 02:02 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
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)
 
Old 08-14-2004, 12:19 PM   #3
cheater1034
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Gentoo
Posts: 141

Original Poster
Rep: Reputation: 15
it didn't work, the command went through but after logout, it lost the settings.
 
Old 08-15-2004, 12:41 AM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
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.
 
Old 06-04-2012, 09:01 AM   #5
rsv
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
alsamixer does not save my settings brandonloserkid Slackware 15 09-09-2007 06:27 PM
Alsamixer does not save the unmuted selection seraph-seph Slackware 3 07-28-2005 08:43 PM
9.3 doesnt save sound settings after reboot hollovoid7 Suse/Novell 2 04-28-2005 07:46 AM
Save Sound settings? LouKaNiKo Suse/Novell 1 03-02-2005 09:45 PM
ALSAmixer does not remember settings? Pwcca Linux - Software 3 08-05-2003 06:29 AM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration