Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157258

Summary: gentoo-sources-2.6.19-r1 alsa problem - snd_pcm_dsnoop_open unable to open slave
Product: Gentoo Linux Reporter: Miroslav Šulc <fordfrog>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED INVALID    
Severity: normal CC: mpagano
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Miroslav Šulc gentoo-dev 2006-12-05 12:44:52 UTC
I upgraded my system and now I cannot get sound from mic nor record. I get:
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave

This happens both on gentoo-sources-2.6.19-r1 and gentoo-suspend2-2.6.18
Comment 1 Miroslav Šulc gentoo-dev 2006-12-05 12:47:12 UTC
Created attachment 103411 [details]
emerge --info

This is my emerge --info
Comment 2 Miroslav Šulc gentoo-dev 2006-12-05 13:37:42 UTC
Just more info.

$ rec test.wav
Send break (control-c) to end recording
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
sox: Failed reading default: cannot open audio device

Running skype from console, making call, when call is about to be connected, I get:
ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave
Comment 3 Miroslav Šulc gentoo-dev 2006-12-05 17:15:24 UTC
I just found that if I restart alsasound while in KDE, I can make a call from skype (ie no error is thrown) but still recording (mic) doesn't work.
Comment 4 Miroslav Šulc gentoo-dev 2006-12-05 17:21:00 UTC
Hm, but if I then play a sound from other app (like using testing button in KDE sound configuration) then the problem comes back.
Comment 5 Chris Slycord 2007-04-13 19:17:49 UTC
The issue is that some program is using alsa or taking control of it. And while it still has control you are trying to have another program using alsa.
Comment 6 Mike Pagano gentoo-dev 2007-05-14 18:03:27 UTC
Is alsa built it or do you use it as a module?

Can you please test with the latest stable kernel and with alsa built into the kernel if it is not already and report back the results?



Comment 7 Miroslav Šulc gentoo-dev 2007-05-14 21:55:16 UTC
Sorry, I forgot to close this bug. I found out the problem was that alsa autoconfig utility corrupted my alsa modules config so that was the reason it didn't work.