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
  #1 (permalink)  
Old 11-10-2010, 04:22 PM
[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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by m4f1050 View Post
I see a new build.... 20101109 is it approved for testing?
ahh forgot to mention it. It's just minor changes. Something about microphone and led lights. Panel down is still broken. Feel free to give it a try and report back.

Im still working on the modified framebuffer .. so i'll definitely announce that when its done.
__________________
Reply With Quote
  #2 (permalink)  
Old 11-11-2010, 12:24 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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by [ACL] View Post
ahh forgot to mention it. It's just minor changes. Something about microphone and led lights. Panel down is still broken. Feel free to give it a try and report back.

Im still working on the modified framebuffer .. so i'll definitely announce that when its done.
Ok. I was wondering why you took out the code for the auto backlight control until now...
I got another SD card and started out using the same NBH from before you removed the auto backlight control. What happens is it boots with screen on, screen then turns off, then back on (once it hits the part of the rootfs), stays on for a bit then turns off again. When I press the power button it turns on for a second and then back off.

Now if I go back to my other SD card it works fine. The only thing I can think of is I have AdjBrightness installed and have it control the backlight.

So I installed AdjBrightness on the new SD, went to options and checked "Lock brightness".
I then flashed back to the NBH with with auto backlight and it worked just fine.

So... Can we add the auto control with this work around? Just until you get the above working..
__________________
Reply With Quote
  #3 (permalink)  
Old 11-11-2010, 12:35 PM
[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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by Lmiller1708 View Post
Ok. I was wondering why you took out the code for the auto backlight control until now...
I got another SD card and started out using the same NBH from before you removed the auto backlight control. What happens is it boots with screen on, screen then turns off, then back on (once it hits the part of the rootfs), stays on for a bit then turns off again. When I press the power button it turns on for a second and then back off.

Now if I go back to my other SD card it works fine. The only thing I can think of is I have AdjBrightness installed and have it control the backlight.

So I installed AdjBrightness on the new SD, went to options and checked "Lock brightness".
I then flashed back to the NBH with with auto backlight and it worked just fine.

So... Can we add the auto control with this work around? Just until you get the above working..
Can you just figure out what AdjBrightness does so we can actually get it done either in the rootfs or the kernel ? Also if we are locking the auto-brightness, whats the point of having it enabled ?
Reply With Quote
  #4 (permalink)  
Old 11-11-2010, 12:37 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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by [ACL] View Post
Can you just figure out what AdjBrightness does so we can actually get it done either in the rootfs or the kernel ? Also if we are locking the auto-brightness, whats the point of having it enabled ?
yeah that does sound good, I will dig into it a bit...

It will allow the backlight to turn off.
Reply With Quote
  #5 (permalink)  
Old 11-11-2010, 12:43 PM
[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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by Lmiller1708 View Post
yeah that does sound good, I will dig into it a bit...

It will allow the backlight to turn off.
hmm.. i think you are confusing brightness with panel power. We have always been able to bring down the brightness. Thats the only reason in the past the screen went blank to begin with. Turning off the panel power is a completely different thing. Ive done it and can help you mod the code so you can help me in the long-run patch it up. Since im at work i cant do it right now but i can guide you on what to add from the board-htcrhodpanel.c .
Reply With Quote
  #6 (permalink)  
Old 11-11-2010, 12:59 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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by [ACL] View Post
hmm.. i think you are confusing brightness with panel power. We have always been able to bring down the brightness. Thats the only reason in the past the screen went blank to begin with. Turning off the panel power is a completely different thing. Ive done it and can help you mod the code so you can help me in the long-run patch it up. Since im at work i cant do it right now but i can guide you on what to add from the board-htcrhodpanel.c .
Yes... Maybe.

Yeah sure I can play around with it a bit.
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 11-11-2010, 01:43 PM
[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 Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by Lmiller1708 View Post
Yes... Maybe.

Yeah sure I can play around with it a bit.
Compare the topaz panel and the rhod panel code. You will see topaz panel actually has more gpio to shut down the panel. We are currently only triggering 0x63 . We actually need to trigger 0x63 and 0x62 in that order according to the dll to shut down the panel. So you can add that for the blank function or if you decide to move it to the client power thats fine as well. to power the panel back up need to do the same but in the reverse order. 0x62 then 0x63. Alsi maybe a 25 msleep in betneen them helps. If you do this, you will notice your panel go pitch black..
Reply With Quote
This post has been thanked 1 times.
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 05:14 PM.


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