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)

natemcnutty 11-01-2010 05:04 PM

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

Originally Posted by [ACL] (Post 1985634)
have i told you that you are the man ? .. if i havent.. "U DA MAN"..

Always glad to help :D

I've got a couple other rhod500 users here that I might be able to borrow their phones as well if you think it may vary from phone to phone even on the same variant.

natemcnutty 11-01-2010 05:14 PM

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

Originally Posted by natemcnutty (Post 1985528)
Will fix and update in a few hours once I get off work. I'll move it to the beginning and do a little testing to make sure it works properly before I release it ;)

OK, I couldn't help it. I saw stinebd added OTA update support and had to have some fun. I incorporated the change for the echo to brightness to be done earlier so the panel doesn't go off during any of the boot. New rootfs is updated on the first post.

ACL, does the backlight turn on and off properly for you? Once I power it off, I can't get it to reliably turn back on. Once out of every 20 or so attempts I can keep it on, but most of the time it turns on and flickers back off within seconds.

coolsilver 11-01-2010 05:19 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Just downloaded it. Great timing. :D

Finally got around to updating my system.ext2 file

Taking a bit longer to boot obviously.

lol new data.img time

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

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

Originally Posted by natemcnutty (Post 1985658)
OK, I couldn't help it. I saw stinebd added OTA update support and had to have some fun. I incorporated the change for the echo to brightness to be done earlier so the panel doesn't go off during any of the boot. New rootfs is updated on the first post.

ACL, does the backlight turn on and off properly for you? Once I power it off, I can't get it to reliably turn back on. Once out of every 20 or so attempts I can keep it on, but most of the time it turns on and flickers back off within seconds.

nope.. panel down isnt working. Well i can get it to shutdown but it wont come back up. alot of work to clean all of that up.

Lmiller1708 11-01-2010 07:08 PM

Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX02) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Quote:

Originally Posted by [ACL
]
Quote:

Originally Posted by natemcnutty (Post 1985658)
OK, I couldn't help it. I saw stinebd added OTA update support and had to have some fun. I incorporated the change for the echo to brightness to be done earlier so the panel doesn't go off during any of the boot. New rootfs is updated on the first post.

ACL, does the backlight turn on and off properly for you? Once I power it off, I can't get it to reliably turn back on. Once out of every 20 or so attempts I can keep it on, but most of the time it turns on and flickers back off within seconds.

nope.. panel down isnt working. Well i can get it to shutdown but it wont come back up. alot of work to clean all of that up.

Where can we start looking at this. I'm assuming that this is where the battery drain is coming from compared to the haret version... I lose about 10% an hour with it on "standby".

Lmiller1708 11-01-2010 07:08 PM

Wirelessly posted (Vogue: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; MSM Build/FRX02) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1)

Oops!

coolsilver 11-01-2010 09:41 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Where is the code located for that? I'll look through it and maybe toss some ideas at you to translate into working code.

Nevermind looking through last committed files.

coolsilver 11-01-2010 10:46 PM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
Looking back through haret kernels... I remember when they got power collapse to work and dimming.

Here is that commit.
Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

I seen a few different times Diamond had rewritten the i2c calls

Here is one example a few months ago when their panel stopped working right.

Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

None of that code messed with RHOD from what I could tell. I dunno just trying to think. I can't see a reason why it would work on HARET but not NAND.

[ACL] 11-02-2010 01:09 AM

Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!
 
I can post the assembly from the dlls :-p

The issue is the following.

Compare the topaz panel code compared to the rhod panel. You will notice the topaz has gpio information, vreg information and up on top they have the mddi init.

We have none of those, well actually we have the gpio's from the disassembled dll i dug up. Issue is when i shut down the gpios.. and then turn them back on, android doesnt resume. Its as if android doesn't see the panel come back up.

This is an old panel code i wrote before the autobl commit.

http://pastebin.com/fcWDwQ54

If you notice the blank and unblank functions you will see the gpio settings we are missing on the current code. I cant commit them yet since i cant bring the panel back up. I spoke to wistilt about this and he recommended to call the resume function on the microp code after the unblank so we can turn on the brightness and android can know we are back up. Unfortunately that does not work. So thats where the issue remains.

Topaz right now has working panel up and down but apparently autobl breaks their up and down as well. So autobl may not be 100% for everyone yet. If you guys want, you can revert back to the pre-autobl commit and use my panel code i pasted. You will see the screen go black.

Any of you have wince compilers? maybe studying how to do it on wince we can do it on android. the dll that handles all of this crap is disptools.dll.

[ACL] 11-02-2010 01:16 AM

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

Originally Posted by natemcnutty (Post 1985650)
Always glad to help :D

I've got a couple other rhod500 users here that I might be able to borrow their phones as well if you think it may vary from phone to phone even on the same variant.

We need to run this on a cdma phone


All times are GMT -4. The time now is 07:08 PM.

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


Content Relevant URLs by vBSEO 3.6.0