LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-05-2009, 01:52 AM   #1
puskas
Member
 
Registered: Jan 2004
Posts: 45

Rep: Reputation: 15
Alsamixer


Why can't I reach my alsamixer? T

ALSA lib conf.c:1179parse_def) default is not a compound
ALSA lib conf.c:1589snd_config_load1) _toplevel_:1:13:Invalid argument
ALSA lib conf.c:2850snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:2714snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3079snd_config_update_r) hooks failed, removing configuration
 
Old 08-05-2009, 02:11 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
/etc/asound.conf may be old or corrupted: consider to remove or fix it
Try what they suggest

Last edited by repo; 08-05-2009 at 02:25 AM.
 
Old 08-05-2009, 02:24 AM   #3
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
running alsaconf may help, as root.
 
Old 08-05-2009, 03:22 AM   #4
puskas
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
alsamixer

Just don't know what to fix in asound.conf?

alsaconf doesn't work. Says command not found.
 
Old 08-05-2009, 03:29 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
If you have asound.conf, then rename it as something like asound.conf.bad and then try running alsamixer again.

In newer versions of alsa, alaconf has been removed and the configuration is done automatically (so the theory goes )
jdk
 
Old 08-05-2009, 04:59 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You may have alsaconf at /usr/sbin/alsaconf. It is most likely supplied by alsa-utils package, which also supplied the alsamixer program, so you should have it. It may not be in your regular users path, because it is a root command.
Try "locate alsaconf" or "ls /usr/sbin/alsaconf".
 
Old 08-05-2009, 06:26 AM   #7
puskas
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Alsamixer

At last it's working but as I'm eager to learn something from this I actually don't understand how come it works?

I renamed the asound.conf to asound.conf.bad. I did not locate alsaconf anywhere. What I did was changing to Logitech headset USB (OSS) and not (ALSA) in Sound preferences. But shouldn't ALSA replace OSS? It doesn't work with ALSA here.

I'm also able to reach Alsamixer via terminal (or Alsamixergui) now. How come? Because I renamed asound.conf?
 
Old 08-05-2009, 07:34 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
When I added a Logitech USB microphone, I needed to use "alsamixer -c1" to set the level. It has a controller chip so it is another device to alsa. KDE4's kmix didn't like USB mike for some reason and trying to pot it up, KDE would drop level to 0.
 
Old 08-05-2009, 08:28 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Here's how it works in Debian. These are the lists of files in the /sbin folder of the alsa-utils packages.
Lenny:
Quote:
alsa-utils (1.0.16-2)
/usr/sbin/alsaconf
/usr/sbin/alsactl
Squeeze:
Quote:
alsa-utils (1.0.20-2)
usr/sbin/alsactl
So at some point between 1.0.16 and 1.0.20 alsaconf got axed. I would guess a similar thing happened in other distros, right?
Cheers,
jdk
 
Old 08-05-2009, 01:52 PM   #10
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
Quote:
Originally Posted by puskas View Post
At last it's working but as I'm eager to learn something from this I actually don't understand how come it works?

I renamed the asound.conf to asound.conf.bad. I did not locate alsaconf anywhere. What I did was changing to Logitech headset USB (OSS) and not (ALSA) in Sound preferences. But shouldn't ALSA replace OSS? It doesn't work with ALSA here.

I'm also able to reach Alsamixer via terminal (or Alsamixergui) now. How come? Because I renamed asound.conf?
well if in the error you got it told you that asound.conf was corrupted changing the name would help.

it works because after changing to asound.conf.bad alsamixer cannot find the original file and what it does (or so i guess) is that it creates a new one with the very basics.

Also I guess you were always able to get to alsamixer, but not to alsaconf which are little different, alsamixer controls the volume of a specific device ex.

alsamixer -c0 [this is for card 1]
alsamixer -c1 [this is for card 2]

alsaconf on the other hand brings a dialog box which will do an automated configuration of the cards you have plugged on your pc... but as the others mentioned it seems to be blown away, who knows why, maybe alsactl or alsamixer make the autoconfig now...
 
Old 08-06-2009, 12:27 AM   #11
puskas
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by RaptorX View Post

it works because after changing to asound.conf.bad alsamixer cannot find the original file and what it does (or so i guess) is that it creates a new one with the very basics.
I also thought it would create a new file in same directory as asound.conf.bad but it hasn't. And now isn't the sound working in youtube, but streaming wma at radio station works fine.
 
Old 08-06-2009, 03:46 AM   #12
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
are you sure you ran alsactl after you renamed to asound.conf.bad?
did you change the configuration back to ALSA or is it still on OSS.

You can try to reinstall alsa-utils, maybe that helps.
 
  


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
alsamixer rcmayfld Linux - Software 1 03-21-2006 01:41 PM
no alsamixer chstani Linux - Laptop and Netbook 9 09-08-2005 05:08 PM
alsamixer evensen Linux - Software 6 11-22-2004 08:34 PM
alsamixer tgkspike Linux - Software 2 05-23-2004 06:04 PM
Alsamixer... Camasii Linux - General 1 12-03-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:07 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