Hacking USB compatability - help improve CIOS usb support

  • Thread starter Thread starter gibbed
  • Start date Start date
  • Views Views 16,769
  • Replies Replies 77
Sonic4Ever said:
Sonic4Ever said:
http://www.privatepaste.com/b1eywJuN2i

Iomega Prestige Portable 500gb USB HDD.

Must be plugged BEFORE booting the Wii, otherwise USB Loader will give ret -1 (you'll have to shutdown the Wii, then boot and plug).

PROBLEM SOLVED: Using this dol forwarder solve the problem because it reboot the HDD while booting the USB Loader.
http://gbatemp.net/index.php?showtopic=144748

Everyone who get ret -1 occasionally should try the forwarder.

http://gbatemp.net/index.php?showtopic=144748

I have a Iomega Prestige 1TB and i have tried this channel forwarder. Only 1 time worked.
I think that, when the channel forwarder try to power on the hdd, he will wait ONLY a couple of second and then start the USB Loader. For me is too fast and he will not recognize the unit. What do you think on my theory?
 
Been hacking the source code to add a few debug messages. It seems USB Loader can't get the HDD size, and therefore exits with the "ret = -1" error (at least, that's what happens with my hardware)

I need to get a hand on IOS (mainly ipc.c) functions to go further ...
 
substring said:
Been hacking the source code to add a few debug messages. It seems USB Loader can't get the HDD size, and therefore exits with the "ret = -1" error (at least, that's what happens with my hardware)

I need to get a hand on IOS (mainly ipc.c) functions to go further ...

Are you willing or able to try partition that drive to something smaller, just to see if that makes any difference?
 
Working!
smile.gif


http://www.privatepaste.com/5e0ceim5j5
 
dipswitch said:
Hey guys, I need a little help. Each USB device I try I get this error...
Could not initialize USB subsystem! (ret = -6)
Anyone know what could be my problem?
I think that is the error returned if CIOS rev9 isn't installed.
Sorry can't really help more than that.
 
shtonkalot said:
dipswitch said:
Hey guys, I need a little help. Each USB device I try I get this error...
Could not initialize USB subsystem! (ret = -6)
Anyone know what could be my problem?
I think that is the error returned if CIOS rev9 isn't installed.
Sorry can't really help more than that.
Yes, -6 error is lack of usb2 CIOS installed.
 
transcend JF V33 4G
USB Device Details

bLength: 18
bDescriptorType: 1
bcdUSB: 2.00
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 0x058f
idProduct: 0x6387
bcdDevice: 1.00
iManufacturer: 1
iProduct: 2
iSerialNumber: 3
bNumConfigurations: 1
Config Descriptors:
bLength: 9
bDescriptorType: 2
wTotalLength: 32
bNumInterfaces: 1
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 0x80
bMaxPower: 50
Interface Descriptors:
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 8
bInterfaceSubClass: 6
bInterfaceProtocol: 80
iInterface: 0
Endpoint Descriptors:
bLength: 7
bDescriptorType: 5
bEndpointAddress: 0x01
bmAttributes: 0x02
wMaxPacketSize: 0x0040
bInterval: 0
bLength: 7
bDescriptorType: 5
bEndpointAddress: 0x82
bmAttributes: 0x02
wMaxPacketSize: 0x0040
bInterval: 0

error ret=1
 
Doesnt work. I get dont get an error message, just blank screen with the GUI.

http://www.privatepaste.com/5707OekyNr

Code:
ÂÂÂÂUSB Device Details

bLength: 18
bDescriptorType: 1
bcdUSB:ÂÂ2.00
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 0x152d
idProduct: 0x2338
bcdDevice:ÂÂ1.00
iManufacturer: 1
iProduct: 2
iSerialNumber: 5
bNumConfigurations: 1
Config Descriptors:
ÂÂÂÂbLength: 9
ÂÂÂÂbDescriptorType: 2
ÂÂÂÂwTotalLength: 32
ÂÂÂÂbNumInterfaces: 1
ÂÂÂÂbConfigurationValue: 1
ÂÂÂÂiConfiguration: 4
ÂÂÂÂbmAttributes: 0xc0
ÂÂÂÂbMaxPower: 1
ÂÂÂÂInterface Descriptors:
ÂÂÂÂÂÂÂÂbLength: 9
ÂÂÂÂÂÂÂÂbDescriptorType: 4
ÂÂÂÂÂÂÂÂbInterfaceNumber: 0
ÂÂÂÂÂÂÂÂbAlternateSetting: 0
ÂÂÂÂÂÂÂÂbNumEndpoints: 2
ÂÂÂÂÂÂÂÂbInterfaceClass: 8
ÂÂÂÂÂÂÂÂbInterfaceSubClass: 6
ÂÂÂÂÂÂÂÂbInterfaceProtocol: 80
ÂÂÂÂÂÂÂÂiInterface: 6
ÂÂÂÂÂÂÂÂEndpoint Descriptors:
ÂÂÂÂÂÂÂÂÂÂÂÂbLength: 7
ÂÂÂÂÂÂÂÂÂÂÂÂbDescriptorType: 5
ÂÂÂÂÂÂÂÂÂÂÂÂbEndpointAddress: 0x81
ÂÂÂÂÂÂÂÂÂÂÂÂbmAttributes: 0x02
ÂÂÂÂÂÂÂÂÂÂÂÂwMaxPacketSize: 0x0040
ÂÂÂÂÂÂÂÂÂÂÂÂbInterval: 0
ÂÂÂÂÂÂÂÂÂÂÂÂbLength: 7
ÂÂÂÂÂÂÂÂÂÂÂÂbDescriptorType: 5
ÂÂÂÂÂÂÂÂÂÂÂÂbEndpointAddress: 0x02
ÂÂÂÂÂÂÂÂÂÂÂÂbmAttributes: 0x02
ÂÂÂÂÂÂÂÂÂÂÂÂwMaxPacketSize: 0x0040
ÂÂÂÂÂÂÂÂÂÂÂÂbInterval: 0
 
It is white, small, quiet, and it is NOT Working
frown.gif
:

Code:
ÂÂÂÂUSB Device Details

bLength: 18
bDescriptorType: 1
bcdUSB:ÂÂ2.00
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 0x0ea0
idProduct: 0x2118
bcdDevice:ÂÂ2.00
iManufacturer: 1
iProduct: 2
iSerialNumber: 0
bNumConfigurations: 1
Config Descriptors:
ÂÂÂÂbLength: 9
ÂÂÂÂbDescriptorType: 2
ÂÂÂÂwTotalLength: 39
ÂÂÂÂbNumInterfaces: 1
ÂÂÂÂbConfigurationValue: 1
ÂÂÂÂiConfiguration: 0
ÂÂÂÂbmAttributes: 0xc0
ÂÂÂÂbMaxPower: 250
ÂÂÂÂInterface Descriptors:
ÂÂÂÂÂÂÂÂbLength: 9
ÂÂÂÂÂÂÂÂbDescriptorType: 4
ÂÂÂÂÂÂÂÂbInterfaceNumber: 0
ÂÂÂÂÂÂÂÂbAlternateSetting: 0
ÂÂÂÂÂÂÂÂbNumEndpoints: 3
ÂÂÂÂÂÂÂÂbInterfaceClass: 8
ÂÂÂÂÂÂÂÂbInterfaceSubClass: 6
ÂÂÂÂÂÂÂÂbInterfaceProtocol: 80
ÂÂÂÂÂÂÂÂiInterface: 0
ÂÂÂÂÂÂÂÂEndpoint Descriptors:
ÂÂÂÂÂÂÂÂÂÂÂÂbLength: 7
ÂÂÂÂÂÂÂÂÂÂÂÂbDescriptorType: 5
ÂÂÂÂÂÂÂÂÂÂÂÂbEndpointAddress: 0x81
ÂÂÂÂÂÂÂÂÂÂÂÂbmAttributes: 0x02
ÂÂÂÂÂÂÂÂÂÂÂÂwMaxPacketSize: 0x0040
ÂÂÂÂÂÂÂÂÂÂÂÂbInterval: 0
ÂÂÂÂÂÂÂÂÂÂÂÂbLength: 7
ÂÂÂÂÂÂÂÂÂÂÂÂbDescriptorType: 5
ÂÂÂÂÂÂÂÂÂÂÂÂbEndpointAddress: 0x02
ÂÂÂÂÂÂÂÂÂÂÂÂbmAttributes: 0x02
ÂÂÂÂÂÂÂÂÂÂÂÂwMaxPacketSize: 0x0040
ÂÂÂÂÂÂÂÂÂÂÂÂbInterval: 0
ÂÂÂÂÂÂÂÂÂÂÂÂbLength: 7
ÂÂÂÂÂÂÂÂÂÂÂÂbDescriptorType: 5
ÂÂÂÂÂÂÂÂÂÂÂÂbEndpointAddress: 0x83
ÂÂÂÂÂÂÂÂÂÂÂÂbmAttributes: 0x03
ÂÂÂÂÂÂÂÂÂÂÂÂwMaxPacketSize: 0x0002
ÂÂÂÂÂÂÂÂÂÂÂÂbInterval: 1
 
I have a Comstar Platinum enclosure, originally with 500gb hdd but using 120gb hdd, tried other hdd's and all results are the same. It will always give ret -1 unless the swap trick is used, in which case it seems to work fine.

ID: 040D:6204 - VIA Vectro VT6204 USB 2.0 to IDE Bridge Controller

LSUSB output: http://www.privatepaste.com/d61TpKd0CL

There's also another thread here discussing some this problem, and where it breaks down in the code:
http://gbatemp.net/index.php?showtopic=148777
 

Site & Scene News

Popular threads in this forum