This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Power off button in lcd7 cape with android ICS

Hi all,

I am using beaglebone with lcd7 cape Rev A3.
The gpio-keys.kl file contains,


# Beaglebone LCD Cape GPIO KEYPAD keylayout

key 105 BACK  WAKE
key 106 HOME  WAKE
key 103 MENU  WAKE
key 108 SEARCH  WAKE
key 28 POWER  WAKE

when i longpress key28 and try to power off the device from the power off menu, the device gets stuck with message 'shutting down' on lcd.

The adb gets disconnected but device is not getting turned off.

The same problem occurs when trying to switch off from console with command
#am start -a android.intent.action.ACTION_REQUEST_SHUTDOWN

The logcat message before adb disconnecting-

 74825.logcat.txt

Please give some points to solve this.

Also,the cape has a power button and a reset button other than the five buttons, the device gets completely powered off by holding the power button for 10sec.
Could any one tell where this function is implemented in code or is it done only through hardware interrupt?

Regards,

Ebin