Re: Input layer demand loading

Fredrik Tolf (fredrik@dolda2000.cjb.net)
Mon, 14 Jul 2003 12:58:24 +0200


On Monday 14 July 2003 08.22, Greg KH wrote:
> On Sun, Jul 13, 2003 at 06:39:49PM +0200, Fredrik Tolf wrote:
> > Why does the input layer still not have on-demand module loading? How
> > about applying this?
>
> What's wrong with the current hotplug interface for the input layer? If
> you want to implement this, add some input hotplug scripts to the
> linux-hotplug package.

Correct me if I'm wrong, but AFAIK that can only be smoothly used to load
hardware driver modules.
If the input layer userspace interface code has been compiled as modules, and
you have a ordinary (not hotplug) device, eg. a gameport joystick, can really
the hotplug interface be used to load joydev.o when /dev/input/js0 is opened?
I don't use hotplugging that much, so I can't say that I'm sure about what it
can do, but in my perception of the hotplug system, it can't be used for
that.

Fredrik Tolf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/