diff options
author | Colin Guthrie <colin@mageia.org> | 2011-12-18 21:03:21 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-12-18 21:03:21 +0000 |
commit | 995fb5e9638bfa412a24a40af79ab014bc3a4fda (patch) | |
tree | 9ccd7cbc7e34e83bd8ae569a51dde58eed1ffa84 /lib | |
parent | da4293191914420d37335ab26949161781311318 (diff) | |
download | drakx-kbd-mouse-x11-995fb5e9638bfa412a24a40af79ab014bc3a4fda.tar drakx-kbd-mouse-x11-995fb5e9638bfa412a24a40af79ab014bc3a4fda.tar.gz drakx-kbd-mouse-x11-995fb5e9638bfa412a24a40af79ab014bc3a4fda.tar.bz2 drakx-kbd-mouse-x11-995fb5e9638bfa412a24a40af79ab014bc3a4fda.tar.xz drakx-kbd-mouse-x11-995fb5e9638bfa412a24a40af79ab014bc3a4fda.zip |
evdev needs to be loaded before calling getInputDevices_and_usb else it will lead to a crash (pterjan)
Diffstat (limited to 'lib')
-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 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') }; |