summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-16 11:31:12 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-16 11:31:12 +0000
commitf5f983e249aced65234a012ea1af09482f5dd8d7 (patch)
tree38bf39bd647fba32fe5433973739ecc43f0cb180 /perl-install/harddrake/data.pm
parent6058eb889d4a8fafb0dbecf8a0fc9a21991bbbd1 (diff)
downloaddrakx-backup-do-not-use-f5f983e249aced65234a012ea1af09482f5dd8d7.tar
drakx-backup-do-not-use-f5f983e249aced65234a012ea1af09482f5dd8d7.tar.gz
drakx-backup-do-not-use-f5f983e249aced65234a012ea1af09482f5dd8d7.tar.bz2
drakx-backup-do-not-use-f5f983e249aced65234a012ea1af09482f5dd8d7.tar.xz
drakx-backup-do-not-use-f5f983e249aced65234a012ea1af09482f5dd8d7.zip
list usb mice that have not driver set as "Mouse:xxx" in usbtable (#13575)
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 94c04810a..cef0b9146 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -384,7 +384,7 @@ our @tree =
icon => "hw_mouse.png",
configurator => "$sbindir/mousedrake",
detector => sub {
- f(grep { $_->{driver} =~ /^Mouse:|^Tablet:/ } @devices),
+ f(grep { $_->{driver} =~ /^Mouse:|^Tablet:/ || $_->{media_type} =~ /class\|Mouse/ } @devices),
# USB devices are filtered out since we already catch them through probeall():
grep { $_->{bus} ne 'usb' && $_->{driver} =~ /mouse/ } detect_devices::getInputDevices();
},