netspy said:@jordan_ch : I don't know the answer for your question, but if it's not directly related to the controller lag fix, maybe you should ask this in the official topic about ModMii.
yeah!!!thx! i'll ask xflak in there!
netspy said:@jordan_ch : I don't know the answer for your question, but if it's not directly related to the controller lag fix, maybe you should ask this in the official topic about ModMii.
x4mer said:Thanks to everyone putting work in on fixing this problem.
Rev21dx is still not fixed though.
In a few hours of playing RB3 last night, using the latest ehci from the thread (which I believe was supposed to fix the timer to 3 args), I did not complete one song perfect. I normally should have lots of 100% songs at the end of a session, so the cios is still resulting in dropped notes. Most songs were still 99%, but many of those were lost by "missing" notes during straight forward boring sections.
My wife was complaining that the mic kept cutting out, and thought there was something wrong with the mic. I tested it by starting a song in singer only mode, and then pausing it after the song started. By doing this, the mic stays active, and you should be able to hear everything you say coming out the speakers, without being drown out by the music. While doing this, the mic would cut out every time the HDD blinked, making it impossible to get 100% on singing as well. This convinced me that the EHCI is still causing havoc, although to a much lesser degree than it did before (Wario Shake It works now for instance).
BTW, my guitars are GH wiimote based ones, not USB based like the mic.
Tonight I've gone through each fix version posted to the thread, and they all exhibit the problem. Wondering why others were saying everything was great, I though it was maybe cause I was loading base 56 to 250, while others may have been using it in 249. I tried 249b56, and had no improvement.
-----------------------------------
Just remembered I didn't go back and try the BBogey ehci release. I had dismissed it back when I first tried it, due to it still showing a small problem with the Wario Shake it game having wiimote disconnect messages. Since it had the watchdog completely removed, and never caused my drive to pulse though, I just built a rev21[56]250 with his ehci module, and gave it a try.
Since the drive never pulses, the microphone worked perfectly, never dropping.
I then switched to guitar mode, and played "20th Century Boy", and "Break on Through to the Other Side". First 2 songs I tried I got PERFECT, while I didn't get a single perfect in hours of playing last night. It's definitely not dropping notes under BBogey's ehci.
I would say that the current rev21dx is not quite ready for primetime, and should not be recommended by ModMii just yet.
Xabby666 pointed out that the ehci timer code also existed in a few other modules (fat,sdhc,mload). Could it be that the small problem with BBogey's ehci (with watchdog removed) was due to the timer code in these other modules attempting to "interface" with the non-existant ehci timer which he had removed?
I stand corrected. BTW davebaol, nice fairytale..i enjoyed reading it.davebaol said:On HackWii only one user reported lag problems and I believe he missed something.
Hoewver the few people experiencing problems should try installing rev19 (base 57 recommended since base 56 is not available) and tell us if the problem persists or disappears.
This way should be easier investigate in the right direction.
x4mer said:My wife was complaining that the mic kept cutting out, and thought there was something wrong with the mic. I tested it by starting a song in singer only mode, and then pausing it after the song started. By doing this, the mic stays active, and you should be able to hear everything you say coming out the speakers, without being drown out by the music. While doing this, the mic would cut out every time the HDD blinked, making it impossible to get 100% on singing as well. This convinced me that the EHCI is still causing havoc, although to a much lesser degree than it did before (Wario Shake It works now for instance).
It may be related to parking of the heads, it takes about 0.3 seconds to wake then up again.davebaol said:Ok I'll try your test with RB3 asap.
there is already someone working on a spanish translation, and there is someone else offering to translate it in case the first guy flakes (which has happened once already with another spanish translator). Anyways, if u don't see a Spanish release within 1-2 months, PM me and I'll get you to work on it. But the person currently translating it seems very reliable so I don't think it will come to that.kamiro04 said:@XFlak: is there a way I can translate your app to spanish?
So, are you gonna make ModMii multi langual? If so, i can do the Dutch translation.XFlak said:there is already someone working on a spanish translation, and there is someone else offering to translate it in case the first guy flakes (which has happened once already with another spanish translator). Anyways, if u don't see a Spanish release within 1-2 months, PM me and I'll get you to work on it. But the person currently translating it seems very reliable so I don't think it will come to that.kamiro04 said:@XFlak: is there a way I can translate your app to spanish?
ok thanks!XFlak said:there is already someone working on a spanish translation, and there is someone else offering to translate it in case the first guy flakes (which has happened once already with another spanish translator). Anyways, if u don't see a Spanish release within 1-2 months, PM me and I'll get you to work on it. But the person currently translating it seems very reliable so I don't think it will come to that.kamiro04 said:@XFlak: is there a way I can translate your app to spanish?
I was just asking cause i got the impression that you where busy with translations.XFlak said:Well, since this is all done in cmd line, you are very limited to the characters that can be properly displayed in the cmd window, as such, not all translations are possible. Plz excuse my ignorance, but I don't know anything about Dutch, but if it's able to display properly, then I see no reason why I can't support it.
There are some instructions I would need to give all translators though, so if this is something you are going to pursue, be sure to talk to me before actually starting to work on it.
Also, be warned, it is A LOT of work to translate ModMii. The code is a beast... not overly difficult, just really really long.
No, USBStorage_Get_Capacity doesn't access the drive. It just retrieves the number and the size of the sectors by reading a data structure in memory which has been initialized on EHCI module start up.x4mer said:Could some people please try the microphone test I mentioned earlier, with RB3?
You can just hum a long note, and keep it held till the drive blinks.
Ok, by following your instructions I can reproduce the issue.
I've spent 3 hours investigating and that's the result:[*]All cIOSX rev19 and higher have this issue, previous revs not tested but I would expect the same behavior.
Please can you test revs lower than rev19? Just to confirm.[*]Hermes cios v5 works perfectly, no problem at all.[*]By looking at the code and after many trials I'm almost sure the problem is inside the unplug_procedure() function which theoretically should reset only usb port 0 (HDD).
Unfortunately that function contains hundreds of lines absolutely meaningless for me 'cause I don't know low level usb protocol and specifications.
Would only checking the capacity be enough to prevent sleeping/spinning down? So remove the read random sector and related things from the watchdog.BBogey said:It may be related to parking of the heads, it takes about 0.3 seconds to wake then up again.
With my WD Elements SE 2,5" 1TB it takes more than 1 second.
Yes, you need to read every time a different sector because all hard drives have a cache inside.BBogey said:__EHCI_Watchdog could be disabled, but then some drives would have a sleep/spindown issue.
Yes, without calling __EHCI_Watchdog the microphone works fine but that's a drastic solution I really don't like.
Much better to use hermes cios.
QUOTE(BBogey @ Jan 30 2011, 08:17 PM) To prevent parking the heads, it would need running the wakeup watchdog every 2 seconds or less for some drives. My Lacie rikiki parks it's heads after 5 seconds.
Does it need to read something to wake up the drive?
If you read nothing or similarly if you read always the same sector actually you don't wake up the drive.
QUOTE(BBogey @ Jan 30 2011, 08:17 PM)
davebaol said:Ok, by following your instructions I can reproduce the issue.
Thanks for taking the time to confirm the problem Dave. At least now I'm not wondering why everyone is saying it's perfect, except for me.
[*]By looking at the code and after many trials I'm almost sure the problem is inside the unplug_procedure() function which theoretically should reset only usb port 0 (HDD).davebaol said:[*]All cIOSX rev19 and higher have this issue, previous revs not tested but I would expect the same behavior.
Please can you test revs lower than rev19? Just to confirm.
[*]Hermes cios v5 works perfectly, no problem at all.
I'll try rev 17 if I can find it, but the problem is that ciosx < rev20 & all Hermes are undesirable since they don't support base 56. The only way to make use of RB3's SDHC support is through using base 56, as the only other IOS that supports mic (37) doesn't support SDHC.
QUOTE(davebaol @ Jan 30 2011, 08:36 PM)
Unfortunately that function contains hundreds of lines absolutely meaningless for me 'cause I don't know low level usb protocol and specifications.
davebaol said:Ok, by following your instructions I can reproduce the issue.
I've spent 3 hours investigating and that's the result:[*]All cIOSX rev19 and higher have this issue, previous revs not tested but I would expect the same behavior.
Please can you test revs lower than rev19? Just to confirm.[*]Hermes cios v5 works perfectly, no problem at all.[*]By looking at the code and after many trials I'm almost sure the problem is inside the unplug_procedure() function which theoretically should reset only usb port 0 (HDD).
Unfortunately that function contains hundreds of lines absolutely meaningless for me 'cause I don't know low level usb protocol and specifications.
Yes, without calling __EHCI_Watchdog the microphone works fine but that's a drastic solution I really don't like.
Much better to use hermes cios.