summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-05-03 13:24:32 +0000
committerFrancois Pons <fpons@mandriva.com>2000-05-03 13:24:32 +0000
commit8f5d72a12b4488f3007c73537d5212b6b67cadce (patch)
treebd76dac0f42c1d3e08c55d03b777741868a72fba /perl-install/mouse.pm
parent0f91e019e84e1cc55b224ebb4b81eccaf63eecbe (diff)
downloaddrakx-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar
drakx-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar.gz
drakx-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar.bz2
drakx-8f5d72a12b4488f3007c73537d5212b6b67cadce.tar.xz
drakx-8f5d72a12b4488f3007c73537d5212b6b67cadce.zip
*** empty log message ***
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 9443329ae..09ccbc365 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -140,9 +140,9 @@ sub detect() {
my ($r, $wacom) = mouseconfig(); return ($r, $wacom) if $r;
require pci_probing::main;
- if (my ($c) = grep { $_->[1] =~ /usb-/ } pci_probing::main::probe('')) {
+ if (my ($c) = grep { /usb-/ } map { $_->[1] } pci_probing::main::probe('')) {
eval {
- modules::load($c->[1], "SERIAL_USB");
+ modules::load($c, "SERIAL_USB");
modules::load("usbmouse");
modules::load("mousedev");
};
@@ -155,7 +155,7 @@ sub detect() {
}
modules::unload("mousedev");
modules::unload("usbmouse");
- modules::unload($c->[1], 'remove_alias');
+ modules::unload($c, 'remove_alias');
}
#- defaults to generic ttyS0