On Mittwoch, 27. August 2008, Kay Sievers wrote: > On Wed, 2008-08-27 at 22:15 +0200, Danny Kukawka wrote: > > From: Danny Kukawka <danny.kukawka@xxxxxx> > > Subject: generate by-id links for Wacom USB TabletPC devices > > > > Generate these persistent links for Wacom USB TabletPC input devices > > under /dev/input/by-id/ : > > > > * usb-Tablet_ISD-V4-event-stylus > > * usb-Tablet_ISD-V4-stylus > > * usb-Tablet_ISD-V4-event-touch > > * usb-Tablet_ISD-V4-touch > > Where do these links point to? Care to run "tree"? For example (sorry, can't run tree, since I don't have a machine available with these devices) : ls -lha /dev/input/by-id lrwxrwxrwx 1 root root 9 2008-08-25 12:44 usb-Tablet_ISD-V4-event-stylus -> ../event6 lrwxrwxrwx 1 root root 9 2008-08-25 12:44 usb-Tablet_ISD-V4-event-touch -> ../event7 lrwxrwxrwx 1 root root 9 2008-08-25 12:44 usb-Tablet_ISD-V4-stylus -> ../mouse2 lrwxrwxrwx 1 root root 9 2008-08-25 12:44 usb-Tablet_ISD-V4-touch -> ../mouse3 > > +DRIVERS=="wacom", ENV{ID_SERIAL}=="Tablet_ISD-V4", > > ENV{ID_CLASS}!="mouse", ENV{ID_CLASS}="touch" > > There are also kernel "ts" input devices, "touch" sounds like a class > name for them. Is that in any way related to this class of kernel > devices? Sorry, I don't know. These devices are touchscreen devices. > > +DRIVERS=="wacom", ENV{ID_SERIAL}=="Tablet_ISD-V4", > > ENV{ID_CLASS}=="mouse", ENV{ID_CLASS}="stylus" > > Why do we rename a detected "USB mouse class" to "stylus"? Because it's the stylus device for this driver, it's easier for the user to identify the correct device with this naming. > What's the difference between the two input devices this tablet creates? The *-stylus devices handle the stylus and eraser input devices and the touch devices only the touchscreen device. But both are from the same USB device. Danny -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html