From 375f47c50a51b1bb3e6a61b214c511cd224c14d7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 25 Feb 2010 13:13:45 +0000 Subject: try harder to match webcams (#53940) --- perl-install/NEWS | 1 + perl-install/harddrake/data.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index dae9cbe89..97bbca405 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -5,6 +5,7 @@ - harddrake: o display info about cores o do not display 2 decades old CPU bugs + o try harder to match webcams (#53940) - detect_devices: o fix merging PCI devices info from sysfs which resulted in ill-informed devices matching (#57711) diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 1e801adc7..27b123510 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -315,7 +315,7 @@ our @tree = detector => sub { require list_modules; my @modules = (list_modules::category2modules('multimedia/webcam'), 'Removable:camera'); - f(grep { $_->{media_type} =~ /MULTIMEDIA_VIDEO|Video\|Video Control|Imaging/ && $_->{bus} ne 'PCI' + f(grep { $_->{media_type} =~ /MULTIMEDIA_VIDEO|Video\|Video Control|Imaging|Camera/ && $_->{bus} ne 'PCI' || member($_->{driver}, @modules) || $_->{driver} =~ /^gpsca/ } @devices); }, # managed by hotplug: -- cgit v1.2.1