summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-19 19:34:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-19 19:34:35 +0000
commitf2c9aaef837eceaebbc643f77492fce69fb32f3f (patch)
tree6f657d56e7fc9e374fca80cf92dc4f2e6d52d018 /perl-install/mouse.pm
parent47193590cbe2f3c1de7bac211464d525a87218f7 (diff)
downloaddrakx-f2c9aaef837eceaebbc643f77492fce69fb32f3f.tar
drakx-f2c9aaef837eceaebbc643f77492fce69fb32f3f.tar.gz
drakx-f2c9aaef837eceaebbc643f77492fce69fb32f3f.tar.bz2
drakx-f2c9aaef837eceaebbc643f77492fce69fb32f3f.tar.xz
drakx-f2c9aaef837eceaebbc643f77492fce69fb32f3f.zip
full pci probe does not freeze anymore, removing code work-arounding the freeze
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 0a0a0503c..84b987002 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -313,19 +313,6 @@ sub detect() {
#- in case only a wacom has been found, assume an inexistant mouse (necessary).
@wacom and return fullname2mouse('none|No mouse', wacom => \@wacom);
- if (detect_devices::is_a_recent_computer() && $::isInstall) {
- #- 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)
- #- the only way to know this is to make a full pci probe
- modules::get_probeall("usb-interface") or modules::load_category('bus/usb', '', 'unsafe');
- log::l("trying again to find a usb mouse");
- sleep 10;
- if (my $mouse = $fast_mouse_probe->()) {
- return $mouse;
- }
- }
-
#- defaults to generic serial mouse on ttyS0.
#- Oops? using return let return a hash ref, if not using it, it return a list directly :-)
return fullname2mouse("serial|Generic 2 Button Mouse", unsafe => 1);