diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2021-02-08 02:39:02 +0200 |
---|---|---|
committer | Povilas Kanapickas <povilas@radix.lt> | 2021-02-08 02:39:02 +0200 |
commit | 8925a86be753b95d453c0f4faeb6195671193295 (patch) | |
tree | 513e9e0de1a60a40c954518f5b245dbc5d96c958 | |
parent | 4e388fa7fdfe3d505f5044b885103ea021a0497d (diff) |
README: Remove no longer relevant section
All tests now use inputtest which does not affect the input devices seen
by any already running servers.
-rw-r--r-- | README.md | 35 |
1 files changed, 0 insertions, 35 deletions
@@ -37,40 +37,5 @@ allows to investigate logs or attach gdb to the server process. For further environment variables please refer to the xorg-gtest README http://gitlab.freedesktop.org/xorg/test/xorg-gtest/ -=== Avoiding interference with your running server === -Many of the tests will create uinput devices that, usually, will also be picked -up as devices in your current X session. This will result in pointer movement, -random clicks, etc. in your current session. This is not a fault of the tests. - -To avoid this interference the current X server must be configured to either -ignore input device hotplugging altogether (Option AutoAddDevices off, see -xorg.conf(5)) or, a smaller sledgehammer, be configured to ignore virtual -devices. The udev rule below applies a tag to every virtual device. An -xorg.conf snippet (below) matches against this tag and tells the server to -ignore those. Restart the X server to let the changes take effect. - -BEWARE: adding this xorg.conf snippet will disable _all_ virtual input -devices in your current X session. - -$> cat /etc/udev/rules.d/99-tag-virtual-devices.rules -# tag all virtual devices as virtual devices, so an xorg.conf snippet can be -# set up to ignore those. - -ACTION!="add|change", GOTO="tag_virtual_devices_end" -KERNEL!="event[0-9]*", GOTO="tag_virtual_devices_end" - -ENV{DEVPATH}=="/devices/virtual/*", ENV{ID_INPUT.tags}+="virtualdevice" - -LABEL="tag_virtual_devices_end" - -$> cat /etc/X11/xorg.conf.d/99-ignore-virtual-devices.conf -# Ignore all devices with ID_INPUT.tags set to "virtualdevice" -Section "InputClass" - Identifier "ignore virtual devices" - MatchTag "virtualdevice" - Option "Ignore" "on" -EndSection - - == Writing tests == Please refer to the HACKING document |