summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-18 05:44:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-18 05:44:25 +0000
commit6b69393d2b0c2911f486ca6c0046ccf6e1a3f238 (patch)
treed0f131da5b1d5ae7f370b0cd3411242eee1a7990 /perl-install/mouse.pm
parent94f257d030c1fd411ec48e438db18c657cd97e40 (diff)
downloaddrakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar
drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.gz
drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.bz2
drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.xz
drakx-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.zip
no_comment
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 94741db34..30f3eaa31 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -172,12 +172,12 @@ sub detect() {
eval { commands::modprobe("serial") };
my ($r, $wacom) = mouseconfig(); return ($r, $wacom) if $r;
- if (detect_devices::probeUSB()) {
+ if (modules::get_alias("usb-interface")) {
eval {
modules::load("usbmouse");
modules::load("mousedev");
- };
- sleep(2);
+ sleep(2);
+ };
if (!$@ && detect_devices::tryOpen("usbmouse")) {
$wacom or modules::unload("serial");
return name2mouse("USB Mouse"), $wacom;