Alan Shoemaker <[EMAIL PROTECTED]> writes:

> mandrakeexpert incident 31551 forwarded to cooker.
> ----quoted text below----
>
>  lsilv104 : 11/09 01:25 : Incident created
> I have installed the rc2 realize of mandrake 9.0, everething looks
> ok but my video cam doesn't work, the hardrake detect's but as a tv
> board, it's on but doen't work... how can i solve this bug...

does this do the job:
Index: harddrake/data.pm
===================================================================
RCS file: /cooker/gi/perl-install/harddrake/data.pm,v
retrieving revision 1.30
diff -u -3 -p -r1.30 data.pm
--- harddrake/data.pm	2002/09/06 21:36:02	1.30
+++ harddrake/data.pm	2002/09/12 12:21:31
@@ -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

Reply via email to