PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recovery (http://forum.ppcgeeks.com/showthread.php?t=134598)

[ACL] 11-11-2010 12:11 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by damage_them (Post 1992903)
hey guys i hope all is going well ..havent been following up inna minute..hows that sleep paneling coming along...how far are we from nand to ram??? and acl how is that sense coming..is it ready yet :D??

Sorry bro.. ive been too busy to do anything lately. All my efforts are now on the framebuffer to speed up the ui. My first attempt failed but im crossing my fingers on this next big jump.

Sense? hero devs didnt even bother to reply and i dont have time to swap aronud libs to see what works and what doesnt. Ive even tried contacting my old buddy klinux to help but he is kinda out of the game now.

Lmiller1708 11-11-2010 12:24 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by [ACL] (Post 1992474)
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.. :-P

[ACL] 11-11-2010 12:35 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by Lmiller1708 (Post 1993074)
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.. :-P

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 ?

Lmiller1708 11-11-2010 12:37 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by [ACL] (Post 1993079)
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. :)

[ACL] 11-11-2010 12:43 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by Lmiller1708 (Post 1993080)
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 .

m4f1050 11-11-2010 12:45 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by [ACL] (Post 1993068)
f*ck.. that whole LED horse-shit really needs to be redone i suppose.

It could be the android build ...or not? So many stuff in the mix it's hard to tell...

I'm using XDAndroid 2.2 Froyo 11.01.2010 (this one came for most MSM like Diam,TP,TP2)

BTW I have it on Boost Mobile, installed droid VNC Server and DynDNS and I can connect to the phone from anywhere via VNC.. :)

Lmiller1708 11-11-2010 12:59 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by [ACL] (Post 1993084)
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.

[ACL] 11-11-2010 01:43 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by Lmiller1708 (Post 1993091)
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..

Lmiller1708 11-12-2010 09:17 AM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by [ACL] (Post 1993118)
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..

This did the trick... But I never got it to come back on.
What have you gotten so far for the code?

[ACL] 11-12-2010 12:11 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Quote:

Originally Posted by Lmiller1708 (Post 1993810)
This did the trick... But I never got it to come back on.
What have you gotten so far for the code?

Thats the issue and why i havent commited it yet. It wont come back on..lol. I haven't tested it much after wistilts autobl patch.


All times are GMT -4. The time now is 05:43 PM.

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


Content Relevant URLs by vBSEO 3.6.0