At Fri, 25 Jan 2002 14:00:01 +0000,
Konstantin kletschke wrote:
> 
> Hello!
> 
> I wonder how to access the second card with devfs. An mpg123 -a /dev/dsp
> works fine. But the links for the second card are not generated, 
> mpg123 -a /dev/dsp1 fails. 
> If I run the ./snddevices script on the mounted devfs All works fine. 
> I am using the alsa-modules debian archive which is provided by
> the Debian unstable/sid. 
 
IIRC, there is a bug (or feature) in soundcore.c in kernel.
ALSA calls sound_register_special() which can handle only the first
card correctly for devfs.

Appling the following patch will solve this problem.


Takashi

Attachment: sound_core.c.dif
Description: Binary data

Reply via email to