LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2008, 10:56 AM   #1
yuchankit
Member
 
Registered: Apr 2008
Distribution: Slackware 13.1 ,slackware-current
Posts: 145

Rep: Reputation: 22
alsamixer don't save settings


My alsamixer setting will be reset,or muted after reboot.

I tried alsactl store,and the following error occured;

bash-3.1# alsactl store
ALSA lib conf.c:1589snd_config_load1) _toplevel_:10:10:Unexpected char
alsactl: get_control:259: Cannot read control '2,0,0,Mic Capture Switch,0': Invalid argument


Any idea to this problem?
 
Old 04-19-2008, 11:39 AM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
Are you trying as root ?

Alternatively try editing _very_ carfully:
/var/lib/alsa/asound.state

Otherwise as a normal user

alsactl -f filename

Run this command upon login.
 
Old 04-19-2008, 11:53 AM   #3
yuchankit
Member
 
Registered: Apr 2008
Distribution: Slackware 13.1 ,slackware-current
Posts: 145

Original Poster
Rep: Reputation: 22
The file;

/var/lib/alsa/asound.state

does not exist.
 
Old 04-19-2008, 12:57 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
In Slackware it's /etc/asound.state, but I wouldn't edit that file if I were you (but I'm not). Run `alsaconfig` as root, then `alsamixer` (as a normal user?), then `alsactl store` as root. If that still doesn't work, post back here and we'll try to help you out. Just make sure you run `alsactl store` as ROOT.
 
Old 04-19-2008, 01:13 PM   #5
yuchankit
Member
 
Registered: Apr 2008
Distribution: Slackware 13.1 ,slackware-current
Posts: 145

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by T3slider View Post
In Slackware it's /etc/asound.state, but I wouldn't edit that file if I were you (but I'm not). Run `alsaconfig` as root, then `alsamixer` (as a normal user?), then `alsactl store` as root. If that still doesn't work, post back here and we'll try to help you out. Just make sure you run `alsactl store` as ROOT.
I don't think it's alsaconfig,it's alsaconf

When I ran alsaconf,it become even worse.

It could not find my soundcard,but my sound is OK of course,with the exception I have to reconfigure it each reboot.

When I ran alsactl store as ROOT,I get the same error as described in my first post in this thread.
 
Old 04-19-2008, 02:20 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Sorry, alsaconf is correct (wasn't paying attention). What kernel are you using? (huge, generic, huge-smp, generic-smp, or custom compiled one -- and what version? The standard 2.6.21.5 that ships with 12.0?) Did you upgrade alsa at all? Are you using a full install?
 
Old 04-19-2008, 10:28 PM   #7
yuchankit
Member
 
Registered: Apr 2008
Distribution: Slackware 13.1 ,slackware-current
Posts: 145

Original Poster
Rep: Reputation: 22
I use the default kernel version shipped with Slackware 12.0

I uninstalled the default alsa-lib,alsa driver and alsa-util and installed the 1.0.16 from source.

Then it went OK,till I realised that I can't save setting,just like my problem for now.

Then I uninstalled the 1.0.16 and reinstalled back alsa-lib and alsa driver as well as alsa-util from

http://packages.slackware.it/search.....0&t=1&q=alsa*

Any idea?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get alsamixer to save the sound settings. cheater1034 Linux - General 4 06-04-2012 08:01 AM
alsamixer settings fakie_flip Linux - Software 1 01-09-2008 07:33 PM
alsamixer does not save my settings brandonloserkid Slackware 15 09-09-2007 05:27 PM
alsamixer settings lost again and again micder Slackware 5 01-20-2006 06:49 AM
Alsamixer does not save the unmuted selection seraph-seph Slackware 3 07-28-2005 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:32 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
Open Source Consulting | Domain Registration