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 Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #2641 (permalink)  
Old 07-14-2011, 05:08 PM
Starfox's Avatar
N00b
Offline
Pocket PC: HTC Treo Pro/Touch Pro 2
Carrier: Sprint SERO/Boost
 
Join Date: Dec 2009
Posts: 47
Reputation: 25
Starfox is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Well, as long as there's some headway in the PM dept and as long as wifi works, I'm game. Right now my TP2 is usually left on airplane mode and accessing free wifi when I need to do stuff. pm.sleepmode=1 really shuts down everything, afaik it's like sleep on PCs and causes the kernel to stop ticking (as seen via dmesg).

-- Starfox
Reply With Quote
  #2642 (permalink)  
Old 07-14-2011, 07:34 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by [ACL] View Post
I guess i'll make PM my next priority for this kernel. I'm no longer gonna commit anything to haret unless its a hand me down. So i'll save time there.

Lot of work to do so i'll need the rest of the team to handle GB while i handle the kernel.

Edit: Started looking into the power manangement. I'm unsure of the pmsleep modes we pass down on the cmdline. Anyone know the specifics of what these pm sleep modes do? I want to replace all this cmdline pmsleep modes since i dont see why the option is even there.
Swear I'm not dead. Just going through the insane process of buying my first home! Anyway, here's the details on power management (according to a post I can no longer access at XDA):


Sleep Modes: (pm.sleep_mode=) in the startup.txt
This is supposedly for topaz/rhodium that I found on the xda wiki:
* '4' will do "wait for interrupt", no change in arm11's clock or voltage
* '3' will do "wait for interrupt and ramp clock", the arm11's clock is lowered to 20MHz instead of 300-500, and voltage is lowered too.
* '2' will do "app sleep", arm11 is still on, but put into low power mode (registers are still saved)
* '1' and '0' will totally power off the arm11 (so we have to restore registers and things ourself), don't know the differences between them.

I believe we want to use 1, and if I remember correctly, emwe had a patch that fixed the issue of sleep on OC when using pm.sleep_mode=1.
__________________
Reply With Quote
  #2643 (permalink)  
Old 07-14-2011, 08:07 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by natemcnutty View Post
Swear I'm not dead. Just going through the insane process of buying my first home!
I just did that a year ago dude - maddening experience at times, but when it's all done it's totally worth it... Congrats!

Quote:
Originally Posted by natemcnutty View Post
I believe we want to use 1, and if I remember correctly, emwe had a patch that fixed the issue of sleep on OC when using pm.sleep_mode=1.
Yes, 1 is recommended. bzo fixed a PLL2 issue a while ago on sleep_mode=1 and OC. This has been mainline for a while now... .
Reply With Quote
  #2644 (permalink)  
Old 07-15-2011, 12:38 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by natemcnutty View Post
Swear I'm not dead. Just going through the insane process of buying my first home! Anyway, here's the details on power management (according to a post I can no longer access at XDA):


Sleep Modes: (pm.sleep_mode=) in the startup.txt
This is supposedly for topaz/rhodium that I found on the xda wiki:
* '4' will do "wait for interrupt", no change in arm11's clock or voltage
* '3' will do "wait for interrupt and ramp clock", the arm11's clock is lowered to 20MHz instead of 300-500, and voltage is lowered too.
* '2' will do "app sleep", arm11 is still on, but put into low power mode (registers are still saved)
* '1' and '0' will totally power off the arm11 (so we have to restore registers and things ourself), don't know the differences between them.

I believe we want to use 1, and if I remember correctly, emwe had a patch that fixed the issue of sleep on OC when using pm.sleep_mode=1.
I was afraid of that.. our cmdline always had pm.sleep_more=1 since the early days. I doubt its worth it to study 0. Now comes the painful task of studying winmo.

congrats on the new home
__________________
Reply With Quote
  #2645 (permalink)  
Old 07-15-2011, 12:44 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by arrrghhh View Post
I just did that a year ago dude - maddening experience at times, but when it's all done it's totally worth it... Congrats!



Yes, 1 is recommended. bzo fixed a PLL2 issue a while ago on sleep_mode=1 and OC. This has been mainline for a while now... .
I was afraid of this too.. means the code doesnt work well on nand since PM is almost identical (few exceptions for a proper shutdown).

I may have to release multiple test kernels for pm. .. looking at the dlls now to find something juicy.
Reply With Quote
This post has been thanked 1 times.
  #2646 (permalink)  
Old 07-15-2011, 12:52 AM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by [ACL] View Post
I was afraid of this too.. means the code doesnt work well on nand since PM is almost identical (few exceptions for a proper shutdown).

I may have to release multiple test kernels for pm. .. looking at the dlls now to find something juicy.
Nice dude. I'm always here to test... you know where to reach me.

It seems to be a panel issue to be honest. Haret still has panel issues, even after WisTilt2's fine tuning - don't get me wrong, it's a heckuva lot better now because of his careful tuning, but still has issues with waking at times. If it's in the middle of collapsing, it seems if you try to wake it there's some sort of race condition or something getting klobbered (panel? ) and the whole wake process just gets messed up.

It wasn't an issue until the panel was officially collapsed fully - again, thanks to WisTilt2. Before that, the panel always woke quickly because it was never really off/asleep... Oh the irony...
Reply With Quote
  #2647 (permalink)  
Old 07-15-2011, 02:25 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by arrrghhh View Post
Nice dude. I'm always here to test... you know where to reach me.

It seems to be a panel issue to be honest. Haret still has panel issues, even after WisTilt2's fine tuning - don't get me wrong, it's a heckuva lot better now because of his careful tuning, but still has issues with waking at times. If it's in the middle of collapsing, it seems if you try to wake it there's some sort of race condition or something getting klobbered (panel? ) and the whole wake process just gets messed up.

It wasn't an issue until the panel was officially collapsed fully - again, thanks to WisTilt2. Before that, the panel always woke quickly because it was never really off/asleep... Oh the irony...
I'm not gonna concentrate on the SODs yet. I want to get it to the point we can go 8hrs with no issues. So improved battlife is my priority. Once we have that i can attack the SODs and all that nonsense.

Funny thing is i'm pretty sure Lmiller had this bad boy running for a while with no charge, i guess something recent broke it. I'll have to check with him again.
Reply With Quote
  #2648 (permalink)  
Old 07-15-2011, 09:32 AM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by [ACL] View Post
I'm not gonna concentrate on the SODs yet. I want to get it to the point we can go 8hrs with no issues. So improved battlife is my priority. Once we have that i can attack the SODs and all that nonsense.

Funny thing is i'm pretty sure Lmiller had this bad boy running for a while with no charge, i guess something recent broke it. I'll have to check with him again.
Yes I have had my phone on with NO data and a few calls here and there for ~6 days.
I'm running an old Kernal though... 2.6.27.46-01268-ga175a7c-dirty (built by me) This was right after a bunch of patches from NAND to get the camera working...
With data I can get about ~3 days, again just a few calls here and there.
But I do not use my TP2 that much at all anymore other then phone calls... So I would expect better battery life then most.

As for the SOD's... I get none! But I do have to hit the top button and then the menu key every time to get it to turn on. (Just something you get used too)
__________________
Reply With Quote
  #2649 (permalink)  
Old 07-15-2011, 11:38 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by Lmiller1708 View Post
Yes I have had my phone on with NO data and a few calls here and there for ~6 days.
I'm running an old Kernal though... 2.6.27.46-01268-ga175a7c-dirty (built by me) This was right after a bunch of patches from NAND to get the camera working...
With data I can get about ~3 days, again just a few calls here and there.
But I do not use my TP2 that much at all anymore other then phone calls... So I would expect better battery life then most.

As for the SOD's... I get none! But I do have to hit the top button and then the menu key every time to get it to turn on. (Just something you get used too)
What would i do without you ? only the heavens know. =D>

So this is a while back? any ideas on the date of that test kernel you have ?

There was one nasty patch i made that didnt allow some clocks to be turned off to troubleshoot gsm. Those also may need to be re-enabled.

Its gonna be a pain to find the patch that killed the life time.
Reply With Quote
This post has been thanked 1 times.
  #2650 (permalink)  
Old 07-15-2011, 12:11 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recover

Quote:
Originally Posted by [ACL] View Post
What would i do without you ? only the heavens know. =D>

So this is a while back? any ideas on the date of that test kernel you have ?

There was one nasty patch i made that didnt allow some clocks to be turned off to troubleshoot gsm. Those also may need to be re-enabled.

Its gonna be a pain to find the patch that killed the life time.
Haha! Same here Bro!

According to our chats... It looks like it was around May 10th -12th.

Hope that helps!!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


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 10:50 PM.


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