I have a one line patch to make my old 32MB usb key working with the usb_mass iop driver.
For recent usb memory keys, it seems that the interface subclass is 6 but for my small key, it's 5.
I transformed the following line in cvs usb_mass/iop/mass_stor.c :
Code: Select all
if( (intf->bInterfaceClass != USB_CLASS_MASS_STORAGE) ||
! (intf->bInterfaceSubClass != USB_SUBCLASS_MASS_SCSI) ||
(intf->bInterfaceProtocol != USB_PROTOCOL_MASS_BULK_ONLY) ||
Code: Select all
if( (intf->bInterfaceClass != USB_CLASS_MASS_STORAGE) ||
! (intf->bInterfaceSubClass != USB_SUBCLASS_MASS_SCSI &&
! intf->bInterfaceSubClass != USB_SUBCLASS_MASS_SFF_8070I) ||
(intf->bInterfaceProtocol != USB_PROTOCOL_MASS_BULK_ONLY) ||
Also I had problem to compile the latest cvs usb_mass using the latest cvs ps2sdk.
Some irx filename.h are defined twice (namely sifcmd.h) and I had to add a symbolic link sifcmdx.h->sifcmd.h (in ps2sdk/iop/kernel//include) and include this file, otherwise it is ps2sdk/common/include/sifcmd.h which is included.
I could not do better, and I don't know where is the good place to talk about that.
cheers
--
spooo - who would love to build a basic graphical to choose and launch elves directly from usb key