diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-06 20:12:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-06 20:12:21 +0000 |
commit | e254e4769d84e9d8e512eb225d079ca87800b5ef (patch) | |
tree | ac3ea3dd110b579118eb5f92e8c3177db7c92871 /perl-install/mouse.pm | |
parent | 967c918d9eaf22eceee3c3b3ed448d141e38fd00 (diff) | |
download | drakx-e254e4769d84e9d8e512eb225d079ca87800b5ef.tar drakx-e254e4769d84e9d8e512eb225d079ca87800b5ef.tar.gz drakx-e254e4769d84e9d8e512eb225d079ca87800b5ef.tar.bz2 drakx-e254e4769d84e9d8e512eb225d079ca87800b5ef.tar.xz drakx-e254e4769d84e9d8e512eb225d079ca87800b5ef.zip |
no_comment
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index af0a35a79..2382f9f1e 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -172,11 +172,10 @@ sub detect() { eval { commands::modprobe("serial") }; my ($r, $wacom) = mouseconfig(); return ($r, $wacom) if $r; - if (modules::get_alias("usb-interface")) { + if (modules::get_alias("usb-interface") && detect_devices::hasUsbMouse()) { eval { modules::load("usbmouse"); modules::load("mousedev"); - sleep(2); }; if (!$@ && detect_devices::tryOpen("usbmouse")) { $wacom or modules::unload("serial"); |