summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-06 17:09:36 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-06 17:09:36 +0000
commit5424ceca56bfb9a9a749d4ec618acf434c5dc4b3 (patch)
treebb4e03a1b009fed7cff243b5c2a4bb0ef076ad8b /perl-install/detect_devices.pm
parent2f6812f51d43e7b76aef7764a298b05154d308e4 (diff)
downloaddrakx-backup-do-not-use-5424ceca56bfb9a9a749d4ec618acf434c5dc4b3.tar
drakx-backup-do-not-use-5424ceca56bfb9a9a749d4ec618acf434c5dc4b3.tar.gz
drakx-backup-do-not-use-5424ceca56bfb9a9a749d4ec618acf434c5dc4b3.tar.bz2
drakx-backup-do-not-use-5424ceca56bfb9a9a749d4ec618acf434c5dc4b3.tar.xz
drakx-backup-do-not-use-5424ceca56bfb9a9a749d4ec618acf434c5dc4b3.zip
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f03bbd596..b8a1ff707 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -219,13 +219,7 @@ sub hasModem($) {
}
sub hasMousePS2() {
- my $t; sysread(tryOpen("psaux"), $t, 1) != 1 || $t ne "\xFE";
-}
-
-sub hasMouseUSB(;$) {
- my @modules = map { "usb-$_" } qw(uhci ohci ohci-hcd);
- my ($first) = @_;
-# modprobe(
+ my $t; sysread(tryOpen("psaux"), $t, 256) != 1 || $t ne "\xFE";
}
#-######################################################################################