
25 Nov
2007
25 Nov
'07
11:40 p.m.
On Sun, 25 Nov 2007, Lennart Poettering wrote:
Hi!
If /dev/snd/controlC0 is not accessible due to a permission problem (EACCES), then alsa-libs will lie and return ENODEV. This is quite a bit confusing:
<snip> $ sudo chmod 000 /dev/snd/controlC0 $ aplay -D hw:0 ALSA lib pcm_hw.c:1207:(_snd_pcm_hw_open) Invalid value for card aplay: main:546: audio open error: No such device </snip>
(and strace shows that the actual problem is EACESS, as one would assume.
Could you try attached patch?
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project