LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-24-2007, 10:23 AM   #1
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
ALSA not saving settings


Hello,

I used the ALSA mixer to unmute and increase the volume. Whenever I would reboot the settings would revert and I would have to unmute and increase the volume again. I tried to run the command "alsactl store" and I get the reply:
Code:
# alsactl store
alsactl: relocation error: alsactl: symbol snd_ctl_elem_info_is_tlv_readable, version ALSA_0.9 not defined in file libasound.so.2 with link time reference
I tried to run alsaconf and it worked, but when I rebooted the computer, xmms didn't even recognize my soundcard being present and I had to run alsaconf again to be able to listen to sound.

What is going on? And how can I fix it?
 
Old 03-24-2007, 10:58 AM   #2
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Rep: Reputation: 30
are you running the alsactl store as root?
 
Old 03-24-2007, 11:01 AM   #3
Thomas Lemmens
Member
 
Registered: Sep 2006
Location: European Union (BE)
Distribution: Ubuntu, Slackware
Posts: 49

Rep: Reputation: 16
After configuring ALSA you have to save your settings to the configuration file with the command "alsactl store <card #>". If you have only one soundcard, "alsactl store" does the job. So, examining this configuration file can help.

Last edited by Thomas Lemmens; 03-24-2007 at 11:04 AM.
 
Old 03-24-2007, 02:49 PM   #4
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Original Poster
Rep: Reputation: 30
Hello,

Quote:
Originally Posted by soylentgreen
are you running the alsactl store as root?
Yes, I ran both alsactl store and alsaconf as root. Alsamixer is the only one that I ran as a user (but I have run it as root a couple of times).
 
Old 03-24-2007, 02:55 PM   #5
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Thomas Lemmens
After configuring ALSA you have to save your settings to the configuration file with the command "alsactl store <card #>". If you have only one soundcard, "alsactl store" does the job. So, examining this configuration file can help.
I do only have one soundcard. It is an integrated card from nVidia/Realtek. There is no configuration file, it should be /etc/asound.state or /etc/asound.names. I even tried to manually create the file asound.state and then run "alsactl store" and it still failed.
 
Old 03-24-2007, 03:14 PM   #6
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Hello JMJ_coder,

Have you tried compiling alsa yourself?

+T+
wynd
 
Old 03-24-2007, 04:24 PM   #7
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Original Poster
Rep: Reputation: 30
Hello,

Quote:
Originally Posted by Wynd
Hello JMJ_coder,

Have you tried compiling alsa yourself?

+T+
wynd
How would I do this? There seems to be a half dozen packages that need to be done, along with replacing kernel modules, and I can't get the documentation to come up.
 
Old 03-25-2007, 02:10 PM   #8
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Go to the ALSA site and download the sources for all the packages you have installed (I have -driver, -lib, -oss and -utils). Then uninstall your current ALSA packages, and just compile it like you would any other piece of software.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA Volume Settings not saving tubatodd Slackware 5 04-14-2014 03:55 PM
saving alsa settings for all users sonofpan Slackware 4 03-11-2009 03:57 PM
Saving Alsa settings mraray Linux - Hardware 4 09-08-2005 08:10 AM
ALSA not saving user mixer settings abk4523 Linux - Software 3 12-29-2004 01:29 AM
ALSA Mixer Not Saving Settings... shiny_spoon Linux - Software 6 11-02-2003 12:36 PM


All times are GMT -5. The time now is 04:31 PM.

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