diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/mouse.pm | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,8 @@ - display_driver_helper: use the new modprobe --resolve-alias instead of manually parsing --dry-run output - convert mouse helper to use udevadm in order to work with udev 175+ +- evdev needs to be loaded before calling getInputDevices_and_usb else + it will lead to a crash Version 0.98 - 07 November 2011 - display_driver_helper: allow automatic loading of the implicit driver diff --git a/lib/mouse.pm b/lib/mouse.pm index 11cb30f..16dad30 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -286,6 +286,10 @@ sub detect { detect_devices::probe_category('input/tablet'); detect_devices::probe_category('input/touchscreen'); + # evdev needs to be loaded before calling getInputDevices_and_usb + # else it will lead to a crash + eval { modules::load("evdev") }; + my @wacom = _probe_usb_wacom_devices(); $modules_conf->get_probeall("usb-interface") and eval { modules::load('usbhid') }; |