I have a "little" usb problem:
I can't find the usb equivalent to the sd sdio_Shutdown and sdio_Deinitialize. Now if i call a fatUnmount("usb"), (re)load an IOS and then call fatInitDefault, i don't get access to the usb device. Of course, before the unmount i have access to it. To get my sd card working at this point i call sdio_Shutdown after unmount and everything is fine.
In usbstorage i found this method:
bool __usbstorage_Shutdown(void);
but i can't call it. Then i found out that it's part of the usb - DISC_INTERFACE and sdio_Shutdown is part of the sd - DISC_INTERFACE, but i can't see where the shutdown method of the interface is called.
Which method do i need to call to get usb storage working again after shutting it down?
PS: I searched in the source of the latest stable of libogc and libfat
Missing usbstorage_Deinitialize
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Missing usbstorage_Deinitialize
Short summary of my problem: If i execute IOS_ReloadIOS once i loose the access to my usb storage device.
Is nobody here able to help me, or is this the wrong place to post this?
Is nobody here able to help me, or is this the wrong place to post this?
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Missing usbstorage_Deinitialize
Even with the latest update usb storage is still not usable. Is there any special command to shutdown usb storage correctly or is usb storage simply broken in libogc/libfat?
-
- Posts: 5
- Joined: Wed Feb 04, 2009 1:54 am
Re: Missing usbstorage_Deinitialize
I dont know and i dono want to dis some one here becouse im happy to have devkitPro so that i could lern and understand and change some programs to do something good but it seems that new comers and non coders are not wellcome *joke*
I think we have to lern a little bit mor and than we will understand how noobish our questions are.
I for me have some problems with libfat.But i use the newesd version of devkitPro and the source will be few months old.So it must work.
But in a other way.......the time i searched for the problem i learned so much mor about Wii and here internals.For a few weeks i dont have understood nothing in PN2.Now it will be mor and mor a picture.
So good luck mate....you will made it.
I think we have to lern a little bit mor and than we will understand how noobish our questions are.
I for me have some problems with libfat.But i use the newesd version of devkitPro and the source will be few months old.So it must work.
But in a other way.......the time i searched for the problem i learned so much mor about Wii and here internals.For a few weeks i dont have understood nothing in PN2.Now it will be mor and mor a picture.
So good luck mate....you will made it.
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Missing usbstorage_Deinitialize
Even if i use:
__io_usbstorage.startup();
fatMountSimple("usb", &__io_usbstorage);
to init the usb storage and:
fatUnmount("usb");
__io_usbstorage.shutdown();
to deinit it, i can't access usb storage before and after an ios reload.
Am i the only one with this problem?
__io_usbstorage.startup();
fatMountSimple("usb", &__io_usbstorage);
to init the usb storage and:
fatUnmount("usb");
__io_usbstorage.shutdown();
to deinit it, i can't access usb storage before and after an ios reload.
Am i the only one with this problem?
Who is online
Users browsing this forum: Bing [Bot] and 3 guests