diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-12-23 18:18:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-12-23 18:18:06 +0000 |
commit | f6c0e2788954d8240a7be4a5b7295b87ff4ba225 (patch) | |
tree | 2d4435b0468e76457df5712a7cfc1da87906f622 /perl-install/harddrake | |
parent | 298dc436f41f09a83e5372755714d91b2fcfee8c (diff) | |
download | drakx-f6c0e2788954d8240a7be4a5b7295b87ff4ba225.tar drakx-f6c0e2788954d8240a7be4a5b7295b87ff4ba225.tar.gz drakx-f6c0e2788954d8240a7be4a5b7295b87ff4ba225.tar.bz2 drakx-f6c0e2788954d8240a7be4a5b7295b87ff4ba225.tar.xz drakx-f6c0e2788954d8240a7be4a5b7295b87ff4ba225.zip |
fix detecting some cameras
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 66c747179..f80ed5da1 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/ && $_->{bus} ne 'PCI' + f(grep { $_->{media_type} =~ /MULTIMEDIA_VIDEO|Video\|Video Control|Imaging/ && $_->{bus} ne 'PCI' || member($_->{driver}, @modules) || $_->{driver} =~ /^gpsca/ } @devices); }, # managed by hotplug: |