xserver-multidpi/config
Adam Jackson 0816e8fca6 linux: Make platform device probe less fragile
At the point where xf86BusProbe runs we haven't yet taken our own VT,
which means we can't perform drm "master" operations on the device. This
is tragic, because we need master to fish the bus id string out of the
kernel, which we can only do after drmSetInterfaceVersion, which for
some reason stores that string on the device not the file handle and
thus needs master access.

Fortunately we know the format of the busid string, and it happens to
almost be the same as the ID_PATH variable from udev. Use that instead
and stop calling drmSetInterfaceVersion.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-10-18 13:52:11 -04:00
..
10-quirks.conf config: revert quirk for the Evoluent Vertical Mouse 2014-05-15 12:56:54 +10:00
config-backends.h dbus-core: Make dbus-core no longer mutually exclusive with udev 2014-01-29 15:28:58 -08:00
config.c ddx: add new call to purge input devices that weren't added 2016-10-26 15:35:07 +10:00
dbus-api Hotplug: D-Bus: API version 2 2007-08-01 01:53:31 +03:00
dbus-core.c config/dbus: Initialize dbus fd to -1 so teardown doesn't use fd 0 2016-09-15 21:30:38 -07:00
fdi2iclass.py config: Script to convert HAL fdi settings to InputClass sections 2010-06-11 09:31:38 +10:00
hal.c xfree86: add support for MatchIsTabletPad 2016-05-03 16:15:51 +10:00
Makefile.am config: remove 10-evdev.conf, let the evdev driver install that file 2015-05-18 13:41:09 +10:00
meson.build meson: Fix install path for 10-quirks.conf 2018-03-27 10:28:33 -04:00
udev.c linux: Make platform device probe less fragile 2018-10-18 13:52:11 -04:00
wscons.c config/udev: distinguish between real keyboards and other key devices 2016-03-01 10:46:48 -05:00
x11-input.fdi config: remove mention of AllowEmptyInput 2010-11-11 10:26:44 +10:00