Homebrew Forwarder Channel that wakes up USB hard drive

xombi-mp

Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
11
Trophies
0
XP
115
Country
United States
I have been editing the UniversalForwarder source code to forward to my usbloader applications. The problem is that when my USB hard drive is sleeping and I launch the forwarder and launch cfg usbloader, the Wii freezes at the splash screen or sometimes the 30 sec count down and I have to hard reboot the Wii.

Most of the usbloaders that I forward to have this problem when the USB drive is asleep. However, USBLoader GX is able to boot every time. I've taken a look at their source code and they have a function that wakes up the hard drive and a ton of other logic to handle boot up issues. A section of the main function of USBLoader GX:

CODEUSBDevice_Init();ÂÂ // seems enough to wake up some HDDs if they are in sleep mode when the loader starts (tested with WD MyPassport Essential 2.5")

ÂÂÂÂgprintf("\n\tChecking for stub IOS");
ÂÂÂÂios222rev = getIOSrev(0x00000001000000dell);
ÂÂÂÂios249rev = getIOSrev(0x00000001000000f9ll);

ÂÂÂÂ//if we don't like either of the cIOS then scram
ÂÂÂÂif (!(ios222rev==4 || (ios249rev>=9 && ios249rev
 

K405

Active Member
Newcomer
Joined
Apr 21, 2009
Messages
25
Trophies
0
XP
189
Country
Netherlands
Great findings!

Your hero will be my hero
tongue.gif


I'll add the magic word.. Please?
bow.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    straferz @ straferz: Anybody know why this is happening to my ACWW town...