On Wed, Jul 20, 2011 at 08:39:44PM +0200, Lennart Poettering wrote: > On Wed, 20.07.11 15:16, Peter Hutterer ([email protected]) wrote: > > > > > On Tue, Jul 19, 2011 at 11:48:26PM -0500, Favux ... wrote: > > > Well both the new protocol 4 wacom_serial.ko and protocol 5 > > > wacom_serial5.ko are using: > > > > > > ACTION=="add|change", SUBSYSTEM=="pnp", ENV{PRODUCT}='13/3d/*', > > > ENV{NAME}=="Wacom protocol IV serial > > > tablet",SYMLINK+="input/wacom",ENV{ID_INPUT}="1",ENV{ID_INPUT_TABLET}="1" > > > > > > So maybe that needs to be looked at. > > > > > > What horrendous mistakes would I be making if I used? > > > > > > SUBSYSTEM="tty", SUBSYSTEMS="pnp", ATTRS{id}=="PNP0501", > > > ENV{ID_MODEL}="Serial Wacom Tablet", ENV{ID_INPUT}="1", > > > ENV{ID_INPUT_TABLET}="1" > > > > looks good to me though I would recommend using the $attr{id} in the > > ID_MODEL as well. Lennart? > > It's really up to you, what you want to have show up in that string. > > Note that ID_MODEL is usually something to show people as a pretty > descriptive string.
see my reply here regarding the current state of ID_MODEL http://lists.freedesktop.org/archives/xorg-devel/2011-July/023980.html To avoid too much confusion, I ask that you answer on the xorg-devel list regarding these issues and then maybe reply here with a summary once we've figured out the details. Otherwise we'll likely confuse users just on one list. > If you are looking for something to recognize a device with it's > probably better to use ID_PATH for that, and hook the path_id udev > helper into your rules for that. ID_PATH is then set to the device path > consisting only of the "fixed" values. i.e. the PCI slot, USB port, and > so on. We need to recognise the tablet model (i.e. the WACf part) since it tells us model-specific quirks that we need to look for in the models. I don't think the path itself is needed much atm. Cheers, Peter ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
