From f5f983e249aced65234a012ea1af09482f5dd8d7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 16 Feb 2005 11:31:12 +0000 Subject: list usb mice that have not driver set as "Mouse:xxx" in usbtable (#13575) --- perl-install/harddrake/data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/harddrake') 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(); }, -- cgit v1.2.1