[Pkg-alsa-devel] Bug#408506: alsa-utils: Tries /dev/snd/controlC0, but only /dev/controlC0 exists

Lionel Elie Mamane lionel at mamane.lu
Fri Jan 26 10:23:34 UTC 2007


Package: alsa-utils
Version: 1.0.13-1
Severity: important

Running alsamixer, it tries to open /dev/snd/controlC0 and falls back
to /dev/aloadC0, but only /dev/controlC0 exists on my system. I use
udev.

I then symlinked /dev/snd to ., and suddenly everything started to
work _much_ better: Before that I could use my sound card only through
OSS emulation, now all my programs recognise alsa.

So maybe the bug is in alsalib for not trying /dev/controlC0 (and the
same for the pcm* devices), maybe in the udev rules for creating these
devices in /dev/ and not /dev/snd/, ...

Anyway, if this is not just a local problen, it is the kind of things
I would want to be solved before etch releases...


Extract of strace of alsamixer (without the symlink):

 open("/dev/snd/controlC0", O_RDONLY)    = -1 ENOENT (No such file or directory)
 open("/dev/aloadC0", O_RDONLY)          = -1 ENOENT (No such file or directory)
-- 
Lionel




More information about the Pkg-alsa-devel mailing list