On måndag 04 juni 2007, Kraemer,Steven [Edm] wrote: > Hi Magnus, > > Thank you for your quick reply! > > I am new to the Linux world and I'm a bit confused with the functions of > hotplug and udev. Let me ask you a different question. > > If a Wacom Cintiq 21UX is attached and working with XFree86, then powered > off, what software is required for XFree86 to recognize when the tablet has > been powered back on and map the inputs back to the correct > /dev/input/event character device without restarting XFree86? > > The tablet works fine with XFree86 until it is either powered off, > unplugged, or changes to powersave mode. > > When the tablet is powered back on, it registers under a different > character device than specified in the XF86Config file.
Ah! This one's much easier to answer. You can tell udev to make an alias for a eventX device when you plug it in to a more generic name that will not change after unplugging/replugin or a hibernation cycle [1]. If you have more than one tablet this will be more tricky though (I hope that's not an issue). My rule is as follows (/etc/udev/rules/65-wacom.rules): ---- # udev rule for wacom tablets. KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK+="input/wacom" ---- I don't think adding this rule require a reboot, but you need to update your X-configuration file to use the generic device name. Hope this solve your problem. Cheers Magnus [1] http://linuxwacom.sourceforge.net/index.php/howto/newwacom ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linuxwacom-discuss mailing list Linuxwacom-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss