diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-24 15:02:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-24 15:02:18 +0000 |
commit | 8fe5ada6266a4d0ac2c1e413356ee149888db46f (patch) | |
tree | 64ffe1d68a8550d16f563313fc3c117ac00b54c2 /perl-install/harddrake/data.pm | |
parent | 5a1fde0bec841d590b45c0b4b72153e1326012ec (diff) | |
download | drakx-backup-do-not-use-8fe5ada6266a4d0ac2c1e413356ee149888db46f.tar drakx-backup-do-not-use-8fe5ada6266a4d0ac2c1e413356ee149888db46f.tar.gz drakx-backup-do-not-use-8fe5ada6266a4d0ac2c1e413356ee149888db46f.tar.bz2 drakx-backup-do-not-use-8fe5ada6266a4d0ac2c1e413356ee149888db46f.tar.xz drakx-backup-do-not-use-8fe5ada6266a4d0ac2c1e413356ee149888db46f.zip |
move usb video devices to webcam category
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r-- | perl-install/harddrake/data.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 0da8974fa..c1bfd8669 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -33,13 +33,13 @@ our @tree = ["VIDEO","Videocard", "video.png", "$sbindir/XFdrake", sub { grep { $_->{driver} =~ /^(Card|Server):/ || $_->{media_type} =~ 'DISPLAY_VGA' } @devices }, 1 ], ["TV","Tvcard", "tv.png", "/usr/bin/XawTV", - sub { grep { $_->{media_type} =~ 'MULTIMEDIA_VIDEO' } @devices}, 0 ], + sub { grep { $_->{media_type} =~ 'MULTIMEDIA_VIDEO' && $_->{bus} eq 'PCI' } @devices}, 0 ], ["MULTIMEDIA_OTHER","Other MultiMedia devices", "multimedia.png", "", sub { grep { $_->{media_type} =~ 'MULTIMEDIA_OTHER' } @devices}, 0 ], ["AUDIO","Soundcard", "sound.png", "$sbindir/draksound", sub { grep { $_->{media_type} =~ 'MULTIMEDIA_AUDIO' } @devices}, 0 ], # "MULTIMEDIA_AUDIO" => "/usr/bin/X11/sounddrake"; - ["WEBCAM","Webcam", "webcam.png", "", sub {}, 0 ], + ["WEBCAM","Webcam", "webcam.png", "", sub { grep { $_->{media_type} =~ 'MULTIMEDIA_VIDEO' && $_->{bus} ne 'PCI'} @devices }, 0 ], ["ETHERNET","Ethernetcard", "hw_network.png", "$sbindir/drakconnect", sub { #- generic NIC detection for USB seems broken (class, subclass, #- protocol report are not accurate) so I'll need to verify against |