summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-17 13:04:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-17 13:04:41 +0000
commitc239347fcb639ee3154c318fc8dce02ed3fbe22c (patch)
treea1d76f857400bff5ac5510e28857366887484f67
parent3b855af417a8c3bb917fee6026814594793eb627 (diff)
downloaddrakx-c239347fcb639ee3154c318fc8dce02ed3fbe22c.tar
drakx-c239347fcb639ee3154c318fc8dce02ed3fbe22c.tar.gz
drakx-c239347fcb639ee3154c318fc8dce02ed3fbe22c.tar.bz2
drakx-c239347fcb639ee3154c318fc8dce02ed3fbe22c.tar.xz
drakx-c239347fcb639ee3154c318fc8dce02ed3fbe22c.zip
detection defaults on automatic choices
-rw-r--r--perl-install/mouse.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index e4949913b..63b2dfd31 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -324,9 +324,10 @@ sub detect() {
} elsif (@wacom) {
#- in case only a wacom has been found, assume an inexistant mouse (necessary).
fullname2mouse('none|No mouse', wacom => \@wacom);
+ } elsif (c::kernel_version() =~ /^\Q2.6/) {
+ fullname2mouse('Universal|Any PS/2 & USB mice', unsafe => 1);
} else {
- #- defaults to generic serial mouse on ttyS0.
- fullname2mouse("serial|Generic 2 Button Mouse", unsafe => 1);
+ fullname2mouse("PS/2|Automatic", unsafe => 1);
}
}