Re: sound <-> kerneld

Gerhard Mack (nuke@bayside.net)
Sun, 8 Feb 1998 04:00:05 +0000 (GMT)


On Fri, 6 Feb 1998, Regis Duchesne wrote:

> > The kernel just requests "char-major-14" which is
> > by default aliased to "sound".
>
> > What's missing in his patch is automatic
> > loading of the synth device (opl3 for sb cards) when the sequencer is
> > open.
> No. All things _but playmidi -f foo.mid_ in a sb 16 pnp work perfectly
> when char-major-14 is aliased to "sb".
>
> If I want playmidi -f foo.mid to work as well, I have to manually load
> adlib_card.o (and not opl3.o, opl3.o will be loaded because it is needed
> by adlib_card.o, but that must be loaded)
>
> As I use a lot /dev/dsp on my computer, I think it's normal, to have my sb
> module alaways loaded, but I want to have my adlib_card.o module loaded
> _on demand_.
>
> That's why for the moment, I think the kernel is broken : when playmidi -f
> foo.mid tries to open its device, it fails because no kernel request is
> sent to kerneld. In my humble opinion, the kernel should issue a request
> like "char-major-14-minor-bar", to have adlib_card.o loaded, thanks to an
> alias in my /etc/modules.conf.
>
> It seems that kerneld can always handle such a situation (see the
> software watchdog which use a kerneld request like char-major-10-130
> for the device with major number 10 and minor number 130, which is
> aliased to softdog.o). So it seems this is not really a kerneld problem,
> but a kernel problem : the kernel should be able to send the right kerneld
> request when trying to open the device.

i'm not sure if this is related or not, but i just upgraded to kerneld
2.1.71, and all of a sudden (under 2.0.33 kernel), my sound module doesn't
load on demand anymore. i'm not sure what my old kerneld was (2.1.43?),
but it was loading it just fine.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu