Does anybody know how to access usb storage devices after a IOS_ReloadIOS? Or does anybody have an idea about this?
------------------------------------------------------------------------------------------------------
Code excerpt:
fatInitDefault();
[...]
(sd + usb working fine)
[...]
fatUnmount("sd");
fatUnmount("usb");
// Deinit sd card, without this sd card doesn't work after the ios reloading
sdio_Startup(); // maybe this is not necessary
sdio_Deinitialize();
IOS_ReloadIOS(x);
fatInitDefault();
[...]
(sd working fine, usb NOT working)
------------------------------------------------------------------------------------------------------
I guess i need some kind of usb storage deinitialize which is similar to sdio_Deinitialize for sd card. I searched the source of libogc and libfat for this, but everything i tried didn't work.
PS: If there's no way to solve this problem, i wouldn't be surprised that this the reason why the homebrew channel doesn't have usb support
------------------------------------------------------------------------------------------------------
Code excerpt:
fatInitDefault();
[...]
(sd + usb working fine)
[...]
fatUnmount("sd");
fatUnmount("usb");
// Deinit sd card, without this sd card doesn't work after the ios reloading
sdio_Startup(); // maybe this is not necessary
sdio_Deinitialize();
IOS_ReloadIOS(x);
fatInitDefault();
[...]
(sd working fine, usb NOT working)
------------------------------------------------------------------------------------------------------
I guess i need some kind of usb storage deinitialize which is similar to sdio_Deinitialize for sd card. I searched the source of libogc and libfat for this, but everything i tried didn't work.
PS: If there's no way to solve this problem, i wouldn't be surprised that this the reason why the homebrew channel doesn't have usb support