Missing usbstorage_Deinitialize
Posted: Tue Dec 30, 2008 5:48 pm
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
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