[PATCH evdev] Export device node as property.

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 7 14:32:16 PST 2011


CC'ing Lennart, he can contribute more details I supposed.

On Mon, Feb 07, 2011 at 08:58:22AM +1000, Daniel Stone wrote:
> On Wed, Feb 02, 2011 at 03:32:54PM +1000, Peter Hutterer wrote:
> > There is currently no mapping between XI devices and physical devices other
> > than what can be extracted by parsing the Xorg logfile. Add new property
> > "Device Node" to the driver to export the open device file.
> > 
> > The client is responsible for detecting if the device is on the same host
> > and converting the data into a more useful format (e.g. sysfs path).
> 
> So, er, why?

We expose a few features of the physical device through the X driver, but
other information is available only through the kernel directly. There is no
way of associating an input device with the X device it spawned off short of
parsing the X.log.

Cheers,
  Peter


More information about the xorg-devel mailing list