On Thu, Mar 08, 2001 at 03:29:19AM -0600, Shea A Martin wrote:
> I have one usb device (scanner). It rarely gets used, so I compiled
> support as a module. Because there are other users (who don't have root
> permissions) on the machine who occasionally use the scanner, I have to
> manually modprobe the necessary drivers when they would like to use it.
> I don't think the hotplugging daemon is the answer, as the device is
> always plugged in. What if I had the user turn the device off after
> each use, and then on before use? Would this trigger the hotplug daemon
> to load the correct drivers?
> When the hotplug daemon is running, does usbcore, usb-uhci || usb-ohci
> have to be loaded? If they do, I am not saving myself anything other
> than not having scanner.o loaded.
> I was hoping for a solution like I use for my soundcard. An alias is
> entered in modules.conf, so that if a system call for sound-slot-0, the
> sound_module.o is loaded.
The hotplug scripts currently only load the driver, they don't handle
unloading them when the device is removed.
But this should be just like your sound card module, so it should work
for you.
greg k-h
--
greg@(kroah|wirex).com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users