From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Wed, 17 Jan 2001 17:08:19 +0000 Subject: Re: Hotplugs and [input] dev links. Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > I believe that it's the job of the hotplug system to do the links > dynamically from (openned)/dev/(usb|input)/device to /dev/device, like > cardmgr do for /dev/modem. I'm not so sure that's even desirable. But wouldn't that be a job for "devfsd", if it were? > The problem is that i don't see no ways to > detect where the devices has been openned. You mean "device has been connected", right? > For example if i have a (usb) mouse and a (usb) keyboard, if i load > the mousedev and usbmouse i get the mouse working on : > > /dev/input/mouse0 > > if i load before the keyboard i get the keyboard on /dev/input/mouse0 and after > the mouse on /dev/input/mouse1, so how could we get an information > where to setup the link ? > > [Maybe it should be Cc'ed to usb-devel] If this is your combined keyboard/mouse device, I'm not sure I see what the problem is. /dev/input/mice should handle things. - Dave _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel