2002-06-02 13:40:28

by Eduard Bloch

[permalink] [raw]
Subject: Too many mixer devices in devfs

Hello,

I noticed this behaviour in 2.4.18 and it is still reproducible with
2.4.19pre8. With devfs, the /dev/sound/ directory allways contains four
mixer devices, even when all sound drivers are unloaded. There are also
other device files that do not appear and disappear when not needed. If
this is a feature (what I doubt), then it is a very bad one. It is not
consitent with default devfs behaviour or even other versions of it.

# ls /dev/sound
audio
dspW
mixer0
mixer1
mixer2
mixer3
sequencer
sequencer2

Gruss/Regards,
Eduard.
--
begin LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end


2002-06-02 15:59:45

by Richard Gooch

[permalink] [raw]
Subject: Re: Too many mixer devices in devfs

Eduard Bloch writes:
> Hello,
>
> I noticed this behaviour in 2.4.18 and it is still reproducible with
> 2.4.19pre8. With devfs, the /dev/sound/ directory allways contains four
> mixer devices, even when all sound drivers are unloaded. There are also
> other device files that do not appear and disappear when not needed. If
> this is a feature (what I doubt), then it is a very bad one. It is not
> consitent with default devfs behaviour or even other versions of it.
>
> # ls /dev/sound
> audio
> dspW
> mixer0
> mixer1
> mixer2
> mixer3
> sequencer
> sequencer2

I don't see this behaviour on my box. I get exactly the devices I
expect. I have the es1371 driver. Perhaps your driver has been broken
in a recent patch. Go find out who hacked it last and harass them :-)

Regards,

Richard....
Permanent: [email protected]
Current: [email protected]

2002-06-02 16:11:00

by Eduard Bloch

[permalink] [raw]
Subject: Re: Too many mixer devices in devfs

#include <hallo.h>
Richard Gooch wrote on Sun Jun 02, 2002 um 09:59:18AM:
> > mixer0
> > mixer1
> > mixer2
> > mixer3
> > sequencer
> > sequencer2
>
> I don't see this behaviour on my box. I get exactly the devices I
> expect. I have the es1371 driver. Perhaps your driver has been broken
> in a recent patch. Go find out who hacked it last and harass them :-)

Forget the whole issue. The reason is a faulty configuration script for
devfsd, installed by alsa-base Debian package. It forced the creation of
those devices, not looking for existing driver. Unfortunately, devfsd
does not remove those devices when beeing stoped.

Gruss/Regards,
Eduard.
--
begin LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end