diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-05 16:55:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-05 16:55:18 +0000 |
commit | 0ab66801de59b6e39d0418a14bd9afd405cadef4 (patch) | |
tree | 6794057c2a9562124f592fbe37d474958a9a3836 /perl-install/harddrake | |
parent | 7222353e0a25f5d4eced256d9aefd9146ed6606e (diff) | |
download | drakx-0ab66801de59b6e39d0418a14bd9afd405cadef4.tar drakx-0ab66801de59b6e39d0418a14bd9afd405cadef4.tar.gz drakx-0ab66801de59b6e39d0418a14bd9afd405cadef4.tar.bz2 drakx-0ab66801de59b6e39d0418a14bd9afd405cadef4.tar.xz drakx-0ab66801de59b6e39d0418a14bd9afd405cadef4.zip |
all "gpsca*" driven devices are webcam
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index dd8686752..8a429558d 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -326,7 +326,8 @@ 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' || member($_->{driver}, @modules) } @devices); + f(grep { $_->{media_type} =~ /MULTIMEDIA_VIDEO|Video\|Video Control/ && $_->{bus} ne 'PCI' + || member($_->{driver}, @modules) || $_->{driver} =~ /^gpsca/ } @devices); }, # managed by hotplug: checked_on_boot => 0, |