diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-25 13:13:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-25 13:13:45 +0000 |
commit | 375f47c50a51b1bb3e6a61b214c511cd224c14d7 (patch) | |
tree | 77e2323364854c877eaf95cfe70581d150c10ab5 /perl-install | |
parent | b4dda3eda80857be94640f0a34aa41a40f3c1020 (diff) | |
download | drakx-375f47c50a51b1bb3e6a61b214c511cd224c14d7.tar drakx-375f47c50a51b1bb3e6a61b214c511cd224c14d7.tar.gz drakx-375f47c50a51b1bb3e6a61b214c511cd224c14d7.tar.bz2 drakx-375f47c50a51b1bb3e6a61b214c511cd224c14d7.tar.xz drakx-375f47c50a51b1bb3e6a61b214c511cd224c14d7.zip |
try harder to match webcams (#53940)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/harddrake/data.pm | 2 |
2 files changed, 2 insertions, 1 deletions
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: |