[PATCH evdev] Export device node as property.
Daniel Stone
daniel at fooishbar.org
Mon Feb 7 15:12:22 PST 2011
Hi,
On Tue, Feb 08, 2011 at 08:32:16AM +1000, Peter Hutterer wrote:
> 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.
To be honest, it's not really the sort of thing I want to encourage; is
there anything in particular missing from Xi 2.1? Telling clients to
just mix and match the two and hope they haven't screwed up local vs.
remote, et al, sounds a tad unfortunate. Not to mention that they
probably don't have access to the devices.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110207/2f059806/attachment.pgp>
More information about the xorg-devel
mailing list