xserver-multidpi/config
Povilas Kanapickas 2f53d1cf73 config: Fix platform busid parsing when there is no ID_PATH prop
On at least Lenovo Thinkpad E585 udev does not have ID_PATH property for
the drm node (see
https://gitlab.freedesktop.org/xorg/xserver/-/issues/993). While this is
likely udev bug, this causes the device to be not recognized as
attribs->busid is NULL, which causes platform_find_pci_info to be not
called and corresponding xf86_platform_devices[i]->pdev to be NULL.

At this moment pdev being NULL will cause a crash, but this is a
different bug.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/993
Fixes: 0816e8fc linux: Make platform device probe less fragile
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-06-25 13:24:51 +03: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 config: Fix platform busid parsing when there is no ID_PATH prop 2021-06-25 13:24:51 +03: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