All of lore.kernel.org
 help / color / mirror / Atom feed
* If /dev/snd/controlCx EACCES vs. ENODEV mixup
@ 2007-11-25 21:03 Lennart Poettering
  2007-11-25 21:40 ` Jaroslav Kysela
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Lennart Poettering @ 2007-11-25 21:03 UTC (permalink / raw)
  To: ALSA Development Mailing List

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.

I also filed this as bug on the BTS:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3600

BTW, what's the status of the BTS? Takashi asked me to post all my
issues on the ML instead of on the BTS. So why have the BTS at all?
It's even linked on the alsa-project.org front page under "I found a
bug!", which is a bit misleading. If this Mantis thing is not liked at
all, would it be possible to make some replacement available? Maybe
just use the kernel bugzilla on bugzilla.kernel.org? It's very fast,
and certainly more fun to work with than with Mantis.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-26  8:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-25 21:03 If /dev/snd/controlCx EACCES vs. ENODEV mixup Lennart Poettering
2007-11-25 21:40 ` Jaroslav Kysela
2007-11-25 21:42 ` Jaroslav Kysela
2007-11-25 21:53   ` Lennart Poettering
2007-11-25 22:10     ` Jaroslav Kysela
2007-11-26  6:53     ` Takashi Iwai
2007-11-26  7:47       ` Jaroslav Kysela
2007-11-26  7:59         ` Takashi Iwai
2007-11-26  8:24           ` Jaroslav Kysela
2007-11-26  7:55 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.