PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-03-2007, 01:34 AM
answerman's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon (via Alltel takeover)
Location: Appleton, WI
 
Join Date: Apr 2007
Posts: 163
Reputation: 15
answerman is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Data AutoDisconnect Timer - Registry Setting?

OK, I feel like such a b00n for asking this. Believe me, I searched and found nothing. I've become kind of the de facto Apache/6700 guy over at the Alltel board on HowardForums, and the questions always seem to come to me there. Not that it bothers me except for when I don't know the answer... like on this one.

We all know that since AKU2.2 the data connection does not automatically disconnect after use (remember how it used to connect when you did a send/receive, do its thing, and then once the send/receive finished it would disconnect? Now, it stays connected for a while. How long? I don't know, since I have my reg hack in place to always stay connected to that screamin' Alltel EvDO.

However, someone over there asked me where the setting is that determines how long the data stays connected once it goes idle. He needs his phone to disconnect fairly often (let's say after 10 minutes of inactivity). Where would this be controlled? I dug through the registry and couldn't find anything. I assume that's where it would be (maybe in the same area as the AlwaysOn setting under HKLM/Comm/ConnMgr), but I can't find it.

Anyone?
Reply With Quote
  #2 (permalink)  
Old 08-03-2007, 02:33 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
This is found in the gprs 5 minute auto disconnect cab

[AddRegistry]
HKLM,"Comm\ConnMgr\Planner\Settings","SuspendResum e",0x00010000,"GPRS_bye_if_device_off"
HKLM,"Comm\ConnMgr\Planner\Settings","CacheTime",0 x00010001,300


XDA-Developers.com
Reply With Quote
  #3 (permalink)  
Old 08-03-2007, 03:02 AM
luv2chill's Avatar
Retired Staff
Offline
Pocket PC: Apache (PPC6700); Titan (Mogul)
Carrier: Sprint
Location: Lawrence, KS
 
Join Date: Nov 2006
Posts: 1,524
Reputation: 143
luv2chill is keeping up the good workluv2chill is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to luv2chill Send a message via AIM to luv2chill Send a message via MSN to luv2chill Send a message via Yahoo to luv2chill Send a message via Skype™ to luv2chill
Wow that's a nice find. I'm tellin ya xda-dev has tons of these "hidden gems" just waiting to be found

OP (and others) please post back if this works for you on CDMA.
Reply With Quote
  #4 (permalink)  
Old 08-03-2007, 10:46 AM
answerman's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon (via Alltel takeover)
Threadstarter
Location: Appleton, WI
 
Join Date: Apr 2007
Posts: 163
Reputation: 15
answerman is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by luv2chill
OP (and others) please post back if this works for you on CDMA.
Well, the ZIP gives me a "not a valid archive" error when I try to unzip it. In the name of science (since I don't actually need this, as I originally posted) I'll try adding the reg settings manually and see what happens. Then, I'll report back.
Reply With Quote
  #5 (permalink)  
Old 08-03-2007, 11:00 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Sorry about that. Just rename the .cab delete the .zip and it should be a valid cab.

Appears to work on my Mogul. Suspend resume
Reply With Quote
  #6 (permalink)  
Old 08-03-2007, 11:14 AM
answerman's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon (via Alltel takeover)
Threadstarter
Location: Appleton, WI
 
Join Date: Apr 2007
Posts: 163
Reputation: 15
answerman is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Well, before I tried it I figured I'd look into it a bit. I assume the "300" in the "CacheTime" key is 300 seconds, hence 5 minutes.

Turns out these reg keys are already in there (running v 1.0.2 of the latest kitchen). Difference is that the "CacheTime" key has a value of 600 and the "SuspendResume" has a value of "23 00 37 00 37 00 37 00 00 00 00 00" (was trying to find a converter to see what that translates to... Total Commander is nice, but the reg edit part of it leaves something to be desired). Help me out with the conversion!

So, the 600 by itself can't be the only setting, since I remember it taking a lot longer than 10 minutes to disconnect before I hacked it to always stay connected. The SuspendResume key must be the one that controls this.

Ideas? Also, thanks for letting me think out loud on this.
Reply With Quote
  #7 (permalink)  
Old 08-03-2007, 01:43 PM
luv2chill's Avatar
Retired Staff
Offline
Pocket PC: Apache (PPC6700); Titan (Mogul)
Carrier: Sprint
Location: Lawrence, KS
 
Join Date: Nov 2006
Posts: 1,524
Reputation: 143
luv2chill is keeping up the good workluv2chill is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to luv2chill Send a message via AIM to luv2chill Send a message via MSN to luv2chill Send a message via Yahoo to luv2chill Send a message via Skype™ to luv2chill
23 00 37 00 37 00 37 00 = #777

So what appears to be happening is they are creating a null value to reconnect to after the cachetime has elapsed.

And as for a reg editor, there's none better than dotfred's excellent task manager, which is included by default in the kitchen ROMs. You can also find it for download if you google.

It has an easy export function... my suggestion would be to export the current state of the ...\Planner\Settings key and then make the changes here, soft reset, and justt see if it works. If it doesn't just tap on your exported file and it will import the old settings back in.
Reply With Quote
  #8 (permalink)  
Old 08-03-2007, 05:42 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
I set my cachetime really low (3) for testing. It appears the only time it doesn't work is if activesync is running in the background on the ppc.
Reply With Quote
  #9 (permalink)  
Old 08-03-2007, 06:16 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Here is another .cab you may try, it has a configurable gui installed to setting/system.

http://www.pocketpcmag.com/blogs/ind...&c=1&tb=1&pb=1
Attached Files
File Type: zip gb_soft_tweak_wm5cab_196.zip (7.2 KB, 36 views) Click for barcode!
Reply With Quote
  #10 (permalink)  
Old 08-03-2007, 08:45 PM
nickm's Avatar
Regular 'Geeker
Offline
Pocket PC: 6800
Carrier: spcs
 
Join Date: Feb 2007
Posts: 354
Reputation: 3
nickm is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
this would be a nice OEM for the next kitchen version.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 05:39 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com