From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Mon, 08 Jan 2001 23:24:59 +0000 Subject: Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > Without usbmodules program the hotplugging didn't work at all for > scanner (epson perfection 1200u, did work before), nor mouse/joystick > nor usb-storage. Curious, it most certainly worked for a mouse I tested it against. Was that a combined mouse/joystick ... or a real mouse? Did you install both modutils 2.4.1 and Keith's patch? And then rebuild and reinstall your kernel, and reinstall all the kernel modules? Rule of thumb for this version: if a HID device doesn't hotplug, it's going to need an entry in /etc/hotplug/usb.handmap ... that will be true until someone starts to teach the "input" subsystem how to hotplug. (The previous version needed that for usb-storage devices too ... but the ABI change made it easier for that driver to hotplug, so usb-storage should mostly hotplug.) I've not looked at it, but one way to start "input" hotplugging might be to find out where "hid.c" sees devices' HID descriptors, and issue call_usermodehelper() with information describing the device type. An /etc/hotplug/input.agent script should be able to figure out whether it's a mouse, keyboard, joystick, UPS, tablet, etc and modprobe accordingly. - Dave _______________________________________________ Linux-hotplug-devel mailing list Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel