diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-12-28 11:48:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-12-28 11:48:27 +0000 |
commit | 118f141eb27e15e4f581da2b33de98eec3c1e3ac (patch) | |
tree | fb953e21932748f4df1d05a3687d4d934b352329 /perl-install/install_steps_interactive.pm | |
parent | 020c80589d57b6376231674f02e35ee5e0424682 (diff) | |
download | drakx-backup-do-not-use-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar drakx-backup-do-not-use-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar.gz drakx-backup-do-not-use-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar.bz2 drakx-backup-do-not-use-118f141eb27e15e4f581da2b33de98eec3c1e3ac.tar.xz drakx-backup-do-not-use-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))
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 12 |
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; |