Re: Alsa update in mainline broke ATI-IXP sound driver II

From: Andi Kleen
Date: Thu Jun 29 2006 - 06:02:00 EST


On Monday 26 June 2006 20:48, Takashi Iwai wrote:
> At Mon, 26 Jun 2006 20:28:31 +0200,
> Andi Kleen wrote:
> >
> >
> > > OK, and still you get the same error like:
> > >
> > > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
> > > ...
> > > ??
> >
> > Yes.
> >
> > > Any change if you set CONFIG_SND_DYNAMIC_MINORS=y ?
> >
> > With that it finally works. Thanks.
> >
> > Still can it be fixed?
>
> Well, the bug shall be fixed :)
>
> Unfortunately I cannot reproduce this on my systems that are all based
> on SUSE 10.1, and the latest 2.6.17-git works fine even
> CONFIG_SND_DYNAMIC_MINORS=n as far as I've tested.
>
> Could you check the strace and what open error occurs?
> I suppose it's /dev/snd/controlC0, but don't figure out exactly.

Sorry for the delay

(as root) I get

5184 open("/dev/snd/controlC0", O_RDONLY) = -1 EACCES (Permission denied)
5184 open("/dev/snd/controlC1", O_RDONLY) = -1 EACCES (Permission denied)
... (upto 31) ...
5184 open("/dev/sound/dsp", O_WRONLY|O_NONBLOCK) = -1 ENOENT (No such file or d
5184 open("/dev/dsp", O_WRONLY|O_NONBLOCK) = -1 EACCES (Permission denied)

ccontrol0 is
crw------- 1 andi audio 116, 6 2006-06-29 11:49 /dev/snd/controlC0

It also doesn't work as andi

I stuck printks to the EACCES in sound/* and they don't trigger so it must
be somewhere else.


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/