DacoTaco / priiloader

A Wii homebrew application that can prevent and fix some user level bricks
GNU General Public License v2.0
544 stars 101 forks source link

Wii Menu and HBC will freeze #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect a USB Device
2. Unplug USB Device

What is the expected output? What do you see instead?
Wii-Menu will freeze
HBC will also freeze

Added info:
R41
I don't know if previous Versions had this Problem, too.

Original issue reported on code.google.com by apps.bad.uncle@gmx.de on 17 Dec 2009 at 9:46

GoogleCodeExporter commented 9 years ago
plug in device in priiloader and unplug it in wiimenu/HBC is the issue right?
that might be my fault for not shutting down the usb port... i guess we'll soon 
see :)

Original comment by dac...@gmail.com on 17 Dec 2009 at 3:26

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect a USB Device
2. Return to Wii Menu (from a Game)
3. Unplug USB Device

Original comment by apps.bad.uncle@gmx.de on 17 Dec 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Ive had the Wii freeze ramdomly upon connecting/disconecting USB device with 
with 
on, didn't think of it has priiloiaders fault. But it happened not only in 
system 
menu or HBC, since I've not connected disconected any usb device with the Wii 
on. 
But I thought this was the recomended procedure. Is it not? Anyway I was on 
Priiloader 0.2 r30 then. I'm now back on 0.1 r15 as staded in issue 17.

Original comment by nanashar...@gmail.com on 19 Dec 2009 at 10:18

GoogleCodeExporter commented 9 years ago
hmmm, confirmed... not so sure why the HELL it happens tho. the usb port gets
shutdown like it should before booting system menu...

Original comment by dac...@gmail.com on 20 Dec 2009 at 12:19

GoogleCodeExporter commented 9 years ago
this is one of the following:
1) a stupid mistake in libogc's usbstorage code. i added some code and it works 
now.
2) stupidity by me. its possible but i doubt it as there isn't much i do 
different
from others :)

as test i moddified libogc a bit and compiled. worked like a charm.
from what i can tell libogc's usbstorage handle doesn't get closed on shutdown. 
hell,
all it does is say its not mounted anymore ...

Original comment by dac...@gmail.com on 20 Dec 2009 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by dac...@gmail.com on 20 Dec 2009 at 6:46

GoogleCodeExporter commented 9 years ago
The issues is fixed, but a bigger problem comes up.
Go to Priiloader, go to Settings, don't save, return to the Main Menu and try 
to 
boot HBC or BootMii or Systemmenu, it will fail...

Original comment by apps.bad.uncle@gmx.de on 21 Dec 2009 at 12:10

GoogleCodeExporter commented 9 years ago
i noticed. if its the same thing try and boot system menu from the priiloader 
menu.
it will fail with TMD size error for some odd reason... :/

Original comment by dac...@gmail.com on 21 Dec 2009 at 6:14

GoogleCodeExporter commented 9 years ago
yup, it was what i thought it was, didn't like it when no usb was plugged in. 
fixed
that. (just add a if(__mounted) and then do the close&deinit) gonna have to 
update my
patch for libogc :P

Original comment by dac...@gmail.com on 21 Dec 2009 at 6:20

GoogleCodeExporter commented 9 years ago
try again now :P

Original comment by dac...@gmail.com on 21 Dec 2009 at 3:34

GoogleCodeExporter commented 9 years ago
eug, apparently the bug is still there but this time its the other way 
around... when
usb is inserted it fails :/

Original comment by dac...@gmail.com on 21 Dec 2009 at 4:36

GoogleCodeExporter commented 9 years ago
doesn't happen anymore now does it?

Original comment by dac...@gmail.com on 26 Dec 2009 at 10:22

GoogleCodeExporter commented 9 years ago
It's fixed with the rev45. You can unplug the USB Device without freeze. ;-)
And also the systemmenu "boot bug" is gone...

Original comment by apps.bad.uncle@gmx.de on 30 Dec 2009 at 8:19

GoogleCodeExporter commented 9 years ago
I can't reproduce the problem. I guess that it's solved, but kinda hard to know 
for sure.

My (full) steps to attempt:
1. start priiloader (r43) without any USB devices
2. connect a USB device (a WD "mybook" USB disk)
3. wait a few seconds
4. disconnect it.
5. wait some more seconds
6. plug it back in (to check with post 11)
7. wait a few more seconds
8. launch either HBC or the system menu by selecting it from the priiloader menu
(tried both)

I also tried with the drive enabled at the start and then unplugging and so on. 
It
all didn't matter. I just couldn't get it to freeze.

Oh, and just in case I misread some things: I also unplugged and replugged the 
device
while IN the homebrew channel. That also made no difference.

So I guess it's solved by now. :)

Original comment by wever1...@gmail.com on 30 Dec 2009 at 8:33

GoogleCodeExporter commented 9 years ago
it is...in a hacky way >_>

Original comment by dac...@gmail.com on 30 Dec 2009 at 3:17

GoogleCodeExporter commented 9 years ago

Original comment by dac...@gmail.com on 30 Dec 2009 at 3:17