> > How does one do it? I have gotten the sound submodules to autoload, but
> > awe_wave doesn't quite work. I was thinking of making awe_wave read a default
> > sound font, and load it onto the card when it is insmod. But I don't know how
> > to open a file.
>
> I do it manually, but having something like
>
> post-install awe_wave sfxload -x -I -i /dos/ctsnd/sfbank/synthgm.sbk
>
> in /etc/modules.conf should cause it to happen automatically.
This won't work. Imagine this senario. Run drvmidi. The kernel autoloads
sound.o. The open(/dev/sequencer) starts. Then awe_wave loads. When sfxload
tries to install the sound font, it also opens /dev/sequencer. But, since
drvmidi already issue the open request, sfxload waits for /dev/sequencer to
become available. Because sfxloading is waiting, the open for drvmidi also
waits. Deadlock occurs. If I kill sfxload, then the open for drvmidi
completes, but obviously, I have no sound.
Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu