diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-16 11:31:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-16 11:31:12 +0000 |
commit | f5f983e249aced65234a012ea1af09482f5dd8d7 (patch) | |
tree | 38bf39bd647fba32fe5433973739ecc43f0cb180 /perl-install/harddrake | |
parent | 6058eb889d4a8fafb0dbecf8a0fc9a21991bbbd1 (diff) | |
download | drakx-f5f983e249aced65234a012ea1af09482f5dd8d7.tar drakx-f5f983e249aced65234a012ea1af09482f5dd8d7.tar.gz drakx-f5f983e249aced65234a012ea1af09482f5dd8d7.tar.bz2 drakx-f5f983e249aced65234a012ea1af09482f5dd8d7.tar.xz drakx-f5f983e249aced65234a012ea1af09482f5dd8d7.zip |
list usb mice that have not driver set as "Mouse:xxx" in usbtable (#13575)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 2 |
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(); }, |