
10th Sep 2009, 7:40 am
|
|
Member
I love my MPx player
|
|
Join Date: Jun 2009
Posts: 174
|
|
Ok, I will post pictures, but what if I tell you the values of the GPIO_PCONx from working original firmware? I can read them out using RKP platform. I did that with GPIO_PCON0 and put that value to the SDK source and now finally POWER button responses.
Maybe you can figure out which pins are used by this value?
Even if not, maybe this will help you somehow:
GPIO_PCON0 = 22822
GPIO_PDAT0 = 202 - 252 (its the value to set the level of backlight of the keyboard, dont confuse it with lcd backlight also its the value of POWER button)
GPIO_PCON1 = 9229
GPIO_PDAT1 = 151 (and sometimes 22 but rarely)
GPIO_PCON2A = 66
GPIO_PCON2B = 3003
GPIO_PDAT2 = 61116 and 53035 changing between every 1 ms (sometimes there is some else value 61199 and some that I didnt put down on paper)
Values PCON0, PCON1, PCON2A and PCON2B are steady, they do not change, while others seem to be changing all the time.
btw, all the values are decimals, not hex.
Last edited by flasher86; 10th Sep 2009 at 8:09 am.
|