View Single Post
  #865 (permalink)  
Old 01-08-2011, 01:45 AM
MassStash's Avatar
MassStash
Regular 'Geeker
Offline
Location: Il
 
Join Date: Oct 2008
Posts: 437
Reputation: 285
MassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 12-14: Panel power on and off working on some devices

Quote:
Originally Posted by natemcnutty View Post
You have to make changes to the kernel and the rootfs to switch the buttons around. You'll have to manually change the msm-gpio-keys.c to undo this change (but git revert will not work since it has been changed since then): Commit in linux-msm in Linux on Qualcomm's MSM - Gitorious

Then for the rootfs, you need to comment the navi pads back out so they don't use the new files from: Commit in eclair-rootfs in XDANDROID Eclair - Gitorious

It became way too much work just to keep the old button mapping, so I gave up on keeping things the way they used to be.
manually editting the msm-gpio-keys.c, what is the change to make?

static struct gpio_keys_button rhodium_button_table[] = {
/*KEY GPIO ACTIVE_LOW DESCRIPTION type wakeup debounce*/
{PWRK, 83, 1, "Power button", EV_KEY, 1, 0},

change 83 to 18?
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....

Last edited by MassStash; 01-08-2011 at 03:13 AM.
Reply With Quote