xserver-multidpi/config
Huacai Chen 9fbd3e43dd linux: Fix platform device probe for DT-based PCI
On a DT-base PCI platform, the sysfs path of vga device is like this:
/sys/devices/platform/bus@10000000/1a000000.pci/pci0000:00/0000:00:11.0/0000:04:00.0.

Then the ID_PATH from udev is platform-1a000000.pci-pci-0000:04:00.0 and
the BusID will be pci-0000:04:00.0, which causes Xorg start fail. This
is because config_udev_odev_setup_attribs() use strstr() to search the
first "pci-" in ID_PATH. To fix this, we implement a strrstr() function
and use it to search the last "pci-" in ID_PATH, which can get a correct
BusID.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
2020-07-28 16:14:55 +08:00
..
10-quirks.conf config: revert quirk for the Evoluent Vertical Mouse 2014-05-15 12:56:54 +10:00
Makefile.am config: remove 10-evdev.conf, let the evdev driver install that file 2015-05-18 13:41:09 +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
meson.build meson: Fix install path for 10-quirks.conf 2018-03-27 10:28:33 -04:00
udev.c linux: Fix platform device probe for DT-based PCI 2020-07-28 16:14:55 +08: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