diff options
author | Anne Nicolas <ennael@mageia.org> | 2011-03-30 10:42:28 +0000 |
---|---|---|
committer | Anne Nicolas <ennael@mageia.org> | 2011-03-30 10:42:28 +0000 |
commit | 203061884129c1c4095ce2e674548fa168549a6e (patch) | |
tree | ae23cc0ba57876a4dc03093b5df9391124db7f9a | |
parent | 1ff02a2a6d65ccd9f2e3098627caf19bbccc0b11 (diff) | |
download | drakx-kbd-mouse-x11-203061884129c1c4095ce2e674548fa168549a6e.tar drakx-kbd-mouse-x11-203061884129c1c4095ce2e674548fa168549a6e.tar.gz drakx-kbd-mouse-x11-203061884129c1c4095ce2e674548fa168549a6e.tar.bz2 drakx-kbd-mouse-x11-203061884129c1c4095ce2e674548fa168549a6e.tar.xz drakx-kbd-mouse-x11-203061884129c1c4095ce2e674548fa168549a6e.zip |
evdev needs to be loaded before calling getInputDevices_and_usb
else it will lead to a crash (pterjan)
-rw-r--r-- | lib/mouse.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm index 307a5b3..a7536a9 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -280,6 +280,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') }; |