summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-11 14:27:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-11 14:27:50 +0000
commit7b4651896ee17d5f5dda786a8672ff9188d7cf38 (patch)
treeda585caa7160b94cec2747bc6f191f2b07085640 /perl-install/mouse.pm
parent0cadba080a3485bf36d673d8259d2ef6a995684a (diff)
downloaddrakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar.gz
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar.bz2
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.tar.xz
drakx-7b4651896ee17d5f5dda786a8672ff9188d7cf38.zip
use get_probeall instead of get_alias for usb-interface
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 1ff8c106b..d6cdec3c1 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -263,7 +263,7 @@ sub detect() {
my $fast_mouse_probe = sub {
my $auxmouse = detect_devices::hasMousePS2("psaux") && fullname2mouse("PS/2|Standard", unsafe => 1);
- if (modules::get_alias("usb-interface")) {
+ if (modules::get_probeall("usb-interface")) {
if (my (@l) = detect_devices::usbMice()) {
log::l("found usb mouse $_->{driver} $_->{description} ($_->{type})") foreach @l;
eval { modules::load(qw(hid mousedev usbmouse)) };
@@ -278,7 +278,7 @@ sub detect() {
$auxmouse;
};
- if (modules::get_alias("usb-interface")) {
+ if (modules::get_probeall("usb-interface")) {
my $keep_mouse;
if (my (@l) = detect_devices::usbWacom()) {
log::l("found usb wacom $_->{driver} $_->{description} ($_->{type})") foreach @l;
@@ -319,7 +319,7 @@ sub detect() {
MOUSETYPE => "Microsoft",
XMOUSETYPE => "Microsoft"}, @wacom;
- if (!modules::get_alias("usb-interface") && detect_devices::is_a_recent_computer() && $::isInstall && !$::noauto) {
+ if (!modules::get_probeall("usb-interface") && detect_devices::is_a_recent_computer() && $::isInstall && !$::noauto) {
#- special case for non detected usb interface on a box with no mouse.
#- we *must* find out if there really is no usb, otherwise the box may
#- not be accessible via the keyboard (if the keyboard is USB)