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/harddrake/data.pm | |
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/harddrake/data.pm')
-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 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: |