Ainsi parlait Borsenkow Andrej :
[..]
> > But the real error comes from a buggy launch sequence:
> > When /etc/init.d/alsa script is invocated, alsa main module is already
> > loaded, the script refuse to load oss compatibility layer (that is the
>
> cause
>
> > of missing /dev/dsp), and echoes "alsa already running". Now, where
>
> could
>
> > this damn module be loaded in launch sequence ?
>
> I strongly suspect it comes from this line in /etc/devfsd.conf:
>
> # ALSA stuff
> LOOKUP          snd             MODLOAD ACTION snd
>
> Another less likely candidate is in /etc/modules.devfs
>
> alias           /dev/sound              sound-slot-0
> ...
> # Soundcard
> alias     /dev/audio            /dev/sound
> alias     /dev/mixer            /dev/sound
> alias     /dev/dsp              /dev/sound
> alias     /dev/dspW             /dev/sound
> alias     /dev/midi             /dev/sound
>
> Could you remove them one-by-one and tell if it helps? It is good idea
> to clean /lib/dev-state every time in between :-))
Well, you were right, commenting out the first alias (alias /dev/sound 
sound-slot-0) in /etc/modules.devfs fixed it.

> Still surprisingly enough I never had problem with ALSA even with these
> lines. But I never had this nonsense in /etc/modules.conf; I always had
> just
>
> alias snd-card-0 snd-emu10k1
>
> and sound worked just fine.
I'm a bit confused about multiple settings :-(
According to alsa manual, this is needed in modules.conf:
# Alsa stuff
alias char-major-116 snd
alias snd-card-0 snd-card-ens1371
# Oss compatibility stuff
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to