PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Apache (http://forum.ppcgeeks.com/forumdisplay.php?f=14)
-   -   Missing SD Card problem in AKU3.3 fixed!!!! (http://forum.ppcgeeks.com/showthread.php?t=2083)

schettj 01-28-2007 11:06 AM

sounds like a poorly designed program, BUT... there are registry settings out there that keep the card in "warm standby" even with the 6700 "off" - I've posted links to them before, and posted them in the 2.2 rom thread as well... I can track them down - I've not needed any of these settings since going to 3.3 myself, but they may help in your case.

Edit:

Here's the link:

http://pdaphonehome.com/forums/ppc-6...stable-12.html

And these were the ones I was thinking of:

DSOD RELATED IMPROVMENTS

HKLM\Drivers\SDCARD\SDBusDriver
PowerUpPollingInterval - 2 (Dword)
PowerUpPollingTime - 2000 (Dword)
These settings we're borrowed from the Treo 700w.

HKLM\System\CurrentControlSet\Control\Power\States \Suspend
dsk1 - 2 (DWORD)
Prevents the SD Card from going into suspend; the main cause of DSOD
cam1 - 4 (DWORD)
Forces the camera to turn off during suspend, saving power.

dprout69 01-28-2007 02:01 PM

Quote:

Originally Posted by schettj
sounds like a poorly designed program, BUT... there are registry settings out there that keep the card in "warm standby" even with the 6700 "off" - I've posted links to them before, and posted them in the 2.2 rom thread as well... I can track them down - I've not needed any of these settings since going to 3.3 myself, but they may help in your case.

Edit:

Here's the link:

http://pdaphonehome.com/forums/ppc-6...stable-12.html

And these were the ones I was thinking of:

DSOD RELATED IMPROVMENTS

HKLM\Drivers\SDCARD\SDBusDriver
PowerUpPollingInterval - 2 (Dword)
PowerUpPollingTime - 2000 (Dword)
These settings we're borrowed from the Treo 700w.

HKLM\System\CurrentControlSet\Control\Power\States \Suspend
dsk1 - 2 (DWORD)
Prevents the SD Card from going into suspend; the main cause of DSOD
cam1 - 4 (DWORD)
Forces the camera to turn off during suspend, saving power.

That thread and those hacks have been around for months. They have gone back and forth saying this is it... no it isnt... this is it... no it isnt and to date they are still experiencing DSOD. Though I applaud their effort there is nothing in there of any known value that I'm aware of and at this time, AKU 3.3 gets rid of DSOD so it's null and void at this point and DSOD that they were dealing with, and this disappearing card problem that appeared in aku3.3, are 2 different things (might be related, but different). I have not had one disappearing card since I deleted sdmemory.dll from the stock windows explorer (using show all files and not using total commander or anything). Why the file was there or where it got loaded from I dont know, but if you simply delete it once the card has disappeared the card comes right back, the file is not rewritten, and no more disappearing card.

schettj 01-28-2007 04:52 PM

Right, I know that, however even in AKU3.3, the default is for the card to be powered down when you suspend, and a poorly written program might not handle that correctly - so changing the suspend state for the card might well fix that problem. It could help if your particular card is very slow to wake up (some are, some are not) once it gets power, for example.

Its a simple thing to try, anyway - just make that dsk1 change and soft-reset, and see if it helps.

nickfuzz 01-28-2007 05:30 PM

Well, I have tried everything! ROM 2.0 2.2 3.3, Hard reset, Sonny and Greatnates registry changes, deleted SDmemory and the others, installed with or without the Sprint Cabs, reformatted card. No DSOD (all necessary programs in main memory) but programs close the majority of times when run from the card and the device is brought out of suspend mode.

Since some claim they don't have disappearing cards with 3.3, I am wondering if anyone can actually run programs off the SD card while having the power on/off/on/off/on/off for seconds, minutes or hours. Also, what brand of card are you using? I am using a (cheap) Transcend 2gb card which says "80x" on it. Thanks.

schettj 01-28-2007 06:04 PM

Ok, I have that exact card (transcend) but I am also of the mindset that one does not run anything off card that runs when suspended (today screen stuff, for example) so I'm actually not likely to be running stuff off the card and going into suspend.

Only thing I do run off the card a lot is mortplayer, playing mp3s, and when that's happening she's not suspending. I can power it off and then power it back on OK with mortplayer loaded tho.

I just tested this now (AKU 3.3, mortplayer on SD card, playing podcast on SD card...)

Playing, hit power button... wait a bit.... power on... plays another .2 sec and then stops. Thinks its still playing. Tap play 2 times (pause, play) and then it starts playing again.

Added this key
HKLM\System\CurrentControlSet\Control\Power\States \Suspend
dsk1 - 2 (DWORD)
Soft reset (check to make sure reg edit went in!)
Restart mortplayer, play podcast off sd card, power off mid-play, wait, power on....
Same behavior exactly as before.... but after brief pause it restartd playing by itself. No idea if that's a difference or not.

However, since my rom is unlocked, it looks like it should be:
HKLM\System\CurrentControlSet\Control\Power\States \Suspend
dsk1- 2 (DWORD)
dsk2 - 2 (DWORD)

(note both 1 and 2)
Reran test and...
Yeah, no change... still pauses. I suppose if your software cannot wait for the card to wake up, its gonna crash.

schettj 01-28-2007 06:06 PM

Oh yeah...

interesting: http://pdaphonehome.com/forums/594314-post270.html

So, if this is an OEM tweak, we might be able to fix it in the Rom Kitchen.

More to look at. SIgh.

dprout69 01-28-2007 06:31 PM

Quote:

Originally Posted by nickfuzz
Well, I have tried everything! ROM 2.0 2.2 3.3, Hard reset, Sonny and Greatnates registry changes, deleted SDmemory and the others, installed with or without the Sprint Cabs, reformatted card. No DSOD (all necessary programs in main memory) but programs close the majority of times when run from the card and the device is brought out of suspend mode.

Since some claim they don't have disappearing cards with 3.3, I am wondering if anyone can actually run programs off the SD card while having the power on/off/on/off/on/off for seconds, minutes or hours. Also, what brand of card are you using? I am using a (cheap) Transcend 2gb card which says "80x" on it. Thanks.

nick I dont know whats going on with your phone bud... I have 62 programs installed on my phone...52 of which are installed on the card... 1 link from the storage card running resident on the today screen... I powered on and off constantly today while sitting at work and texting and I have been running flawless for 2 days now since I deleted sdmemory.dll. This coming from a phone that prior to deletion, was losing the card every time I turned it on and off.

DSOD is gone in aku3.3... the new problem was the disappearing card but it hasnt disappeared in two days now. I dont think your card has anything to do with it other than the format type (use fat16). Other than that are you trying to install everything from a backup? Just do a completely fresh install forget the backup.

Now you are saying your programs are closing when you turn it off... but are you able to just open them back up after you turn the phone back on cause we might be talking about different things. Some programs will close and are designed that way, but point being they are still accessible just by clicking on them again (i.e. the card is still there)

luv2chill 01-28-2007 07:01 PM

Quote:

Originally Posted by schettj
Oh yeah...

interesting: http://pdaphonehome.com/forums/594314-post270.html

So, if this is an OEM tweak, we might be able to fix it in the Rom Kitchen.

More to look at. SIgh.

I PM'ed Sonny486 about this a couple days ago. Here was his response:

Quote:

If we could get the system.hv (System Hive) file to reflect the setting of 4096, we may get somewhere, but on the AKU 3.3 it seems that the PNPUnloadDelay is set to 4096 (verified this by removing the sd card and about 4 seconds later it dissapears.)

Also note that the Palm 700wx also had the SD card unload every now and then as well, so I think this may be an OS issue rather than a driver issue. Also I have not had a DSOD if I install all my apps to the Main Memory and I copied all the junkware from the EXT_Rom directory and wiped the EXT_Rom folder and now use it for E-mail storage, I have not had any problems at all with my 6700!

-Sonny
So it looks like that value could be increased more than it is, but with AKU 3.3 it is already set higher than it is in the earlier Apache ROMs. I believe this is the reason why there are so few reports of DSODs with Helmi_C's ROM (and variants).

colonel 01-28-2007 08:09 PM

So, I am trying to wrap up a second release of my rom. The way I am seeing things, the Sprint cab installs copies of .dlls that are already present in the rom. The SDMemory.dll that shows up in the Windows file explorer is there because of the Sprint cab and it is what is causing problems, correct? So, it is not really a rom issue but rather we should just not run the Sprint cab. Or, if people think the other dlls are important, I can simply remove the SDMemory from the Sprint cab. Thoughts?

Maxx134 01-28-2007 08:10 PM

Not shure if I should load and delete the "SDmemory" DLl that's visible in stock file explorer.....OR

Remove the cab from the Extrom that re-loads this DLL..
Not shure Since it is also loading 2 other DLls, but I like this idea better. One less customization cab in extrom.

What you guys think?


All times are GMT -4. The time now is 01:57 PM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0