From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Mathezer Date: Tue, 03 Aug 2004 14:35:31 +0000 Subject: Re: symlink created to ts2 instead of mouse2 Message-Id: <410FA2B3.40600@yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Stephen Mathezer wrote: > I am trying to get a usb mouse working with udev/hotplug. Everything > works fine as long as I don't try to influence the naming. I plug the > mouse in and I end up with /dev/input/mouse2 which works no problem. > If however I try to symlink to the mouse, the symlink gets created to > /dev/input/ts2 instead of mouse2. If I create a rule using NAME for > the device, then the device gets created with the ts2 maj/min node > numbers instead of the mouse2 maj/min numbers. > > Does anyone have any ideas for how to fix this or figure out what is > going on? > > See relevant info below > > thanks > > -Steve > > My udev rule is: > > BUS="usb", SYSFS{product}="Microsoft 5-Button Mouse with > IntelliEye(TM)", SYMLINK="input/msmouse" For the sake of the archives I'll answer my own question. I just had to add KERNEL="mouse*" to my rule (duh) BUS="usb", KERNEL="mouse*", SYSFS{product}="Microsoft 5-Button Mouse with IntelliEye(TM)", SYMLINK="input/msmouse" -Steve ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ 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