summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-12-28 11:48:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-12-28 11:48:27 +0000
commit118f141eb27e15e4f581da2b33de98eec3c1e3ac (patch)
treefb953e21932748f4df1d05a3687d4d934b352329
parent020c80589d57b6376231674f02e35ee5e0424682 (diff)
downloaddrakx-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar
drakx-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar.gz
drakx-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar.bz2
drakx-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar.xz
drakx-118f141eb27e15e4f581da2b33de98eec3c1e3ac.zip
(selectMouse): when selecting a usb mouse, call setup_thiskind with
at_least_one=1 (so that pci_class probe is used and so unknown serial_usb recognised (cf ldetect))
-rw-r--r--perl-install/install_steps_interactive.pm12
1 files changed, 7 insertions, 5 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index e34187bad..2e4503851 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -273,11 +273,13 @@ sub selectMouse {
]) or return;
}
- any::setup_thiskind($o, 'usb', !$::expert, 0, $o->{pcmcia}) if $o->{mouse}{device} eq "usbmouse";
- eval {
- devices::make("usbmouse");
- modules::load($_) foreach qw(hid mousedev usbmouse);
- } if $o->{mouse}{device} eq "usbmouse";
+ if ($o->{mouse}{device} eq "usbmouse") {
+ any::setup_thiskind($o, 'usb', !$::expert, 1, $o->{pcmcia});
+ eval {
+ devices::make("usbmouse");
+ modules::load($_) foreach qw(hid mousedev usbmouse);
+ };
+ }
$o->SUPER::selectMouse;
1;