Olivier Thauvin <[EMAIL PROTECTED]> writes:

> In Hardrake, this pcmcia is detect as "Other/unknow device", maybe
> can you add it description to see it in "ethernet card" section:

does this patch fix it :
diff -u harddrake/data.pm harddrake/data.pm
--- harddrake/data.pm	2002/07/31 08:04:47
+++ harddrake/data.pm	2002/07/31 09:14:46
@@ -12,7 +12,7 @@
 
 # Update me each time you handle one more devices class (aka configurator)
 sub unknown {
-    grep { ($_->{media_type} !~ /tape|SERIAL_(USB|SMBUS)|Printer|DISPLAY|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|STORAGE_(IDE|SCSI)|BRIDGE|NETWORK/) && ($_->{driver} ne 'scanner') } @devices;
+    grep { ($_->{media_type} !~ /tape|SERIAL_(USB|SMBUS)|Printer|DISPLAY|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|STORAGE_(IDE|SCSI)|BRIDGE|NETWORK/) && ($_->{driver} ne 'scanner') && $_->{type} ne 'network'} @devices;
 }
 
 
@@ -47,7 +47,7 @@
 	    my @usbnet = qw/CDCEther catc kaweth pegasus usbnet/;
 	    # should be taken from detect_devices.pm or modules.pm. it's identical
 	    
-	    grep { $_->{media_type} =~ /^NETWORK/ || member($_->{driver}, @usbnet) } @devices}],
+	    grep { $_->{media_type} =~ /^NETWORK/ || member($_->{driver}, @usbnet) || $_->{type} eq 'network' } @devices}],
 #	["","Tokenring cards", "Ethernetcard.png", "", \&detect_devices::getNet],
 #	["","FDDI cards", "Ethernetcard.png", "", \&detect_devices::getNet],
 #	["","Modem", "Modem.png", "", \&detect_devices::getNet],

apply it as root in /usr/lib/libDrakx/

> Are you sure this device file is good ? It don't exist for network
> card...

ignore it ...

Reply via email to