summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-07 07:25:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-07 07:25:25 +0000
commit5712797969ba9b1f320ddc5135114c12d939bd00 (patch)
tree54a25ccd886439a550c769283a503727e23bddfc
parent916a91466e178c707b0363ce8c1ef5be98257c36 (diff)
downloaddrakx-5712797969ba9b1f320ddc5135114c12d939bd00.tar
drakx-5712797969ba9b1f320ddc5135114c12d939bd00.tar.gz
drakx-5712797969ba9b1f320ddc5135114c12d939bd00.tar.bz2
drakx-5712797969ba9b1f320ddc5135114c12d939bd00.tar.xz
drakx-5712797969ba9b1f320ddc5135114c12d939bd00.zip
explain
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index c7d7aa738..308704b3d 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -368,6 +368,7 @@ our @tree =
configurator => "$sbindir/keyboardrake",
detector => sub {
f(grep { $_->{description} =~ /Keyboard/i } @devices),
+ # USB devices are filtered out since we already catch them through probeall():
grep { $_->{bus} ne 'usb' && $_->{driver} eq 'kbd' } detect_devices::getInputDevices();
},
checked_on_boot => 0,
@@ -380,6 +381,7 @@ our @tree =
configurator => "$sbindir/mousedrake",
detector => sub {
f(grep { $_->{driver} =~ /^Mouse:|^Tablet:/ } @devices),
+ # USB devices are filtered out since we already catch them through probeall():
grep { $_->{bus} ne 'usb' && $_->{driver} =~ /mouse/ } detect_devices::getInputDevices();
},
checked_on_boot => 1,