Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsamixer -> "No mixer elems found" [UNSOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
DeepThoughts
n00b
n00b


Joined: 02 Nov 2003
Posts: 43
Location: The Northern Part of Sweden (Piteå)

PostPosted: Thu Sep 23, 2004 2:10 pm    Post subject: alsamixer -> "No mixer elems found" [UNSOLVED] Reply with quote

Sound refuses to work and I have no idea why...

I've got a Terratec Aureon 5.1 Sky (Envy24HT) so there is support in the kernel (using kernel 2.6.8). I've got support compiled as a module, which seems to load fine with no problems. As far as I know I've configured every file correct but when I run "alsamixer" I get "No mixer elems found" and when I try to use XMMS I get that the sound device is busy.... I've even tried to run aplay and then I got this message: "ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such file or directory"

Could someone please help me?!?!?!


Last edited by DeepThoughts on Tue Sep 28, 2004 11:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Fri Sep 24, 2004 5:05 am    Post subject: Reply with quote

first check to see if the error from aplay is true, does the character device i-node /dev/snd/pcmC0D0p exist? Is there anything in that directory?

If not, I would question if the module is really loaded.
Check and see what you get from
Code:
lsmod

_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
DeepThoughts
n00b
n00b


Joined: 02 Nov 2003
Posts: 43
Location: The Northern Part of Sweden (Piteå)

PostPosted: Sun Sep 26, 2004 12:47 pm    Post subject: Reply with quote

The "files"(?) present in /dev/snd/ are:

Code:

controlC0  midiC0D0  midiC0D3  pcmC1D0c  pcmC1D1p  pcmC2D0p
controlC1  midiC0D1  midiC1D0  pcmC1D0p  pcmC1D2p  seq
controlC2  midiC0D2  midiC2D0  pcmC1D1c  pcmC2D0c  timer

In other words, pcmC0D0p isn't present but other "pcms" are. What could be the problem and how do I fix it?

EDIT: Forgot about lsmod... This is what lsmod gives me:

Code:

Module                  Size  Used by
snd_ice1724            36580  -
snd_ice17xx_ak4xxx      3080  -
snd_ac97_codec         66252  -
snd_ak4xxx_adda         5192  -
Back to top
View user's profile Send private message
DeepThoughts
n00b
n00b


Joined: 02 Nov 2003
Posts: 43
Location: The Northern Part of Sweden (Piteå)

PostPosted: Tue Sep 28, 2004 11:48 pm    Post subject: Is there... Reply with quote

...anyone out there?
Who can hear me?
Anyone out there
who can help me?
Is there anyone?

/me stops singing for antention
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Wed Sep 29, 2004 12:52 am    Post subject: Reply with quote

What is the name of the module which you use for your sound card? Along with this, try the following.

[code]/etc/init.d/alsasound stop # "Shut down"[acutally unloads modules and saves settings] ALSA if you have this running.
modprobe snd-* # Whatever is the name of the module for your card.
/etc/init.d/alsasound start # Load the modules again.[/quote]

ALSA works fine for me and I have everything compiled into the kernel as far as sound goes. However, I did that because when I had it all as modules they would not all load correctly all the time through the alsasound init script. If this does not work, modprobe every module that starts with snd(It might help to have Zsh here for module tab-completion).
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Wed Sep 29, 2004 6:02 pm    Post subject: Reply with quote

Ok, from your device listing, (which may or may not be correct) you have three sound cards. The first one is a midi card (or only the midi device is supported) and then you have two other cards with both audio and midi.

There's nothing really wrong here, except that the programs your are running default to hw:0,0 as the alsa device that they are going to use. However, hw:0,0 only supports midi. Use those same programs, but set them to use either alsa device hw:1,0 or hw:2.0

If neither of those work, you apparently have several devices on card 1 you can try out as well: hw:1,1 and hw:1,2
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
westboy21
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 135
Location: Raleigh, North Carolina

PostPosted: Mon Oct 04, 2004 2:43 am    Post subject: Reply with quote

How do you do this? Change the hw device to use the 2nd device instead of the first midi device
Back to top
View user's profile Send private message
westboy21
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 135
Location: Raleigh, North Carolina

PostPosted: Mon Oct 04, 2004 3:47 pm    Post subject: Reply with quote

Nevermind. I found another post detailing how not to include virtual midi in the kernel. Taking that out fixed the issue for me. I'd still be curious on how to setup alsa config files to switch the device order though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum