>>>>> "Peter" == Peter Hutterer <peter.hutte...@who-t.net> writes:

Hi,

>> To find the ID reliably. Is this the right way to do it? Is there
 >> perhaps a better way with udev/systemd?

 > what do you use for configuring and why do you need the ID specifically? if
 > you use xinput to configure things, you can use the device name as well.

 > xinput set-prop "some device name" "some property name" 1 2 3

A typical use case is to set the coordinate transformation matrix for
touchscreens in multihead setups.

In the likely situation that the touchscreens are of the same type they
will have the same device name, so you need to fish out the
corresponding /dev/input/event* device node and pass it to udevadm info
(assuming that the server is local) to E.G. key off the ID_PATH
(E.G. the USB port the touchscreen is connected to).

-- 
Bye, Peter Korsgaard
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to