Re: [PATCH] Added an xorg configuration file snippet to disable grabbing of virtual test devices. Signed-off-by: Thomas Voß <tvoss at tvoss-ThinkPad-X121e.(none)>
chase.douglas at canonical.com
Fri Mar 23 15:17:46 PDT 2012
On 03/23/2012 11:50 AM, Julien Cristau wrote:
> On Thu, Mar 22, 2012 at 14:59:19 -0400, thomas.voss at canonical.com wrote:
>> From: Thomas Voß <tvoss at tvoss-ThinkPad-X121e.(none)>
>> data/Makefile.am | 2 +-
>> data/X11/xorg.conf.d/99-virtual-test-devices.conf | 4 ++++
>> 2 files changed, 5 insertions(+), 1 deletions(-)
>> create mode 100644 data/X11/xorg.conf.d/99-virtual-test-devices.conf
> care to explain why this is needed in the commit message?
I'm going to commit this, so I'll add the message when I do.
The issue is when you are running a dummy server and instantiating
uinput virtual trackpad devices, you have contention between the dummy
server and the real server running your desktop. Usually, the desktop X
server wins and grabs the evdev event node. The test dummy server then
fails to open the event node and your tests fail. I have been resorting
to VT switching to run trackpad tests :).
More information about the xorg-devel