Joe Baker <[EMAIL PROTECTED]> writes:

> Under detected hardware in the control center, I find:
> 
> Unknown/Others
>   CXD1947Q i.LINK Controller
>   Vendor: Sony Corporation
>   Bus: PCI
>   Bus Identification: 104d:8009:104d:8054
>   Location on the bus: 0:9:0
>   Description: CXD1947Q i.LINK Controller
>   Module: unknown
>   Media class: SERIAL_FIREWIRE

does the following patch fix it ?
Index: harddrake/data.pm
===================================================================
RCS file: /cooker/gi/perl-install/harddrake/data.pm,v
retrieving revision 1.79
diff -u -p -r1.79 data.pm
--- harddrake/data.pm	26 Aug 2003 11:44:06 -0000	1.79
+++ harddrake/data.pm	26 Aug 2003 12:24:42 -0000
@@ -12,7 +12,7 @@ my @devices = detect_devices::probeall()
 
 # Update me each time you handle one more devices class (aka configurator)
 sub unknown() {
-    grep { $_->{media_type} !~ /BRIDGE|class\|Mouse|DISPLAY|Hub|MEMORY_RAM|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|NETWORK|Printer|SERIAL_(USB|SMBUS)|STORAGE_(IDE|OTHER|SCSI)|tape/
+    grep { $_->{media_type} !~ /BRIDGE|class\|Mouse|DISPLAY|Hub|MEMORY_RAM|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|NETWORK|Printer|SERIAL_(FIREWIRE|SMBUS|USB)|STORAGE_(IDE|OTHER|SCSI)|tape/
 	       && $_->{driver} !~ /^(ohci1394|scanner|usbvision|mod_quickcam)$|Mouse:USB|class\|Mouse|Removable:zip|www.linmodems.org|nvnet/
 	       && $_->{type} ne 'network'
 	       && $_->{description} !~ /Alcatel|ADSL Modem/
@@ -79,7 +79,7 @@ our @tree =
      [ "JOYSTICK", , N("Joystick"), "joystick.png", "", sub {}, 0 ],
 
      [ "ATA_STORAGE", , N("(E)IDE/ATA controllers"), "ide_hd.png", "", sub { grep { $_->{media_type} =~ /STORAGE_(IDE|OTHER)/ } @devices }, 0 ],
-     [ "FIREWIRE_CONTROLLER", , N("Firewire controllers"), "usb.png", "", sub { grep { $_->{driver} =~ /ohci1394/ } @devices }, 1 ],
+     [ "FIREWIRE_CONTROLLER", , N("Firewire controllers"), "usb.png", "", sub { grep { $_->{driver} =~ /ohci1394/ || $_->{media_type} =~ 'SERIAL_FIREWIRE'} @devices }, 1 ],
      [ "SCSI_CONTROLLER", , N("SCSI controllers"), "scsi.png", "", sub { grep { $_->{media_type} =~ /STORAGE_SCSI/ } @devices }, 0 ],
      [ "USB_CONTROLLER", , N("USB controllers"), "usb.png", "", sub { grep { $_->{media_type} =~ /SERIAL_USB|Hub/ } @devices }, 0 ],
      [ "SMB_CONTROLLER", , N("SMBus controllers"), "usb.png", "", sub { grep { $_->{media_type} =~ /SERIAL_SMBUS/ } @devices }, 0 ],
(as root, in /usr/lib/libDrakX/, run "patch -p0 < /where/it/is/firewire.diff")

but i'm not sure that all devices in SERIAL_FIREWIRE pci class really
belongs to firewire controllers category in harddrake gui :-(

Reply via email to