Re: Input layer demand loading

Måns Rullgård
2003-07-16T16:45:05Z

Greg KH <greg@kroah.com> writes:

>> Not necessarily. When the joystick is plugged in, you want to load the
>> hardware driver modules. There's really no need for the userspace interface
>> until someone requests it. At least that's the way I see it.
>> And in any case, even if you do want to load joydev.o when the joystick is
>> plugged in, I don't see how that could be done on-demand when the joystick
>> port isn't hotplug compatible, such as is the case with gameports, right?
>
> True, but then if you try to open the port, you will only get the base
> joydev.o module loaded, not the gameport driver, which is what you
> _really_ want to have loaded, right?
>
> So there really isn't much benifit to doing this, sorry.

That's easily fixed in modules.conf, or modprobe.conf for 2.6.

--
Måns Rullgård
mru@users.sf.net