[PATCH] xf86ActivateDevice(): Add "Device Node" property to input devices

Peter Korsgaard jacmet at sunsite.dk
Wed May 5 04:56:46 PDT 2010


>>>>> "Julien" == Julien Cristau <jcristau at debian.org> writes:

Hi,

 >> Add "Device Node" xinput property containing the device node path to
 >> all input devices with a device property. This is useful to figure out
 >> the relation between xinput ids and kernel devices.
 >> 
 Julien> Why is this something we should expose to clients?  They may
 Julien> not be on the same machine anyway, and typically the device
 Julien> path is not stable, so

It was requested by Peter Hutterer, see:

http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/7477/focus=7539

 Julien> it seems to me clients can't do much with that information?

I don't personally have a need for this. What I do need is a stable
identifier (which xinput ids aren't) to be able to apply per-device
transformation properties for multihead touchscreen setups - E.G. the
EVIOCGPHYS stuff in the link above.

For the use case of this, see my earlier patch:

http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/7302

-- 
Bye, Peter Korsgaard


More information about the xorg-devel mailing list