From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 14 Jan 2004 17:39:31 +0000 Subject: Re: devices with more than one node Message-Id: <20040114173931.GE5567@kroah.com> List-Id: References: <20040113193842.GA29887@suse.de> In-Reply-To: <20040113193842.GA29887@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Jan 14, 2004 at 06:29:37PM +0100, Olaf Hering wrote: > On Tue, Jan 13, Greg KH wrote: > > > On Tue, Jan 13, 2004 at 10:11:22PM +0100, Olaf Hering wrote: > > > On Tue, Jan 13, Greg KH wrote: > > > > On Tue, Jan 13, 2004 at 08:38:42PM +0100, Olaf Hering wrote: > > > > > inputdevices have also an event node attached. > > > > > > > > Yes, and you get two different hotplug events, and udev just works, > > > > right? (this is with the kernel patches I sent out last week...) > > > > > > I tried the -mm tree, and /proc/bus/input/devices differs indeed. Havent > > > tried to feed udev with the data. > > > > Look at /sys/class/input in the -mm kernel. I didn't do anything with > > the /proc/bus/input stuff. > > I did not load evdev.ko on the other box. Anyway, I havent tested it > yet, but what will happen with the /dev/input/mice multiplexer and one > of the 2 USB mice will be removed? I think /dev/input/mice will > disappear, have to verify that today. It doesn't do that for me, try testing the code before making such claims :) As an example, here's what my /sys/class/input/ looks like with a ps2 and a usb mouse plugged in, and the evdev module loaded: $ tree /sys/class/input/ /sys/class/input/ |-- event0 | `-- dev |-- event1 | `-- dev |-- event2 | |-- dev | |-- device -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2.2 | `-- driver -> ../../../bus/usb/drivers/usb |-- mice | `-- dev |-- mouse0 | `-- dev `-- mouse1 |-- dev |-- device -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2.2 `-- driver -> ../../../bus/usb/drivers/usb thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel