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.

android not weakup form sleep am335x

I am using TI-Android-JB-4.2.2-DevKit-4.1.1 source code with AM335x custom board.

after display time out android going to sleep.

it is not coming back from sleep when i press the power button or touch the screen.

please find logcat bellow

****************************************************

I/PowerManagerService(  323): Going to sleep due to screen timeout...
E/uim-sysfs( 5850): uim: Inside main
E/uim-sysfs( 5858): uim:BT/FM/GPS would be unavailable on system
E/uim-sysfs( 5860): uim: Inside main
E/uim-sysfs( 5860): uim:BT/FM/GPS would be unavailable on system
E/uim-sysfs( 5862): uim: Inside main
E/uim-sysfs( 5862): uim:BT/FM/GPS would be unavailable on system
E/uim-sysfs( 5864): uim: Inside main
E/uim-sysfs( 5864): uim:BT/FM/GPS would be unavailable on system


I/PowerManagerService(  323): Waking up from sleep...
I/InputDispatcher(  323): Dropped event because input dispatch is disabled.
I/WindowManager(  323): Lock screen displayed!
D/dalvikvm(  323): GC_FOR_ALLOC freed 484K, 18% free 6047K/7364K, paused 80ms, total 86ms
E/uim-sysfs( 5866): uim: Inside main
E/uim-sysfs( 5866): uim:BT/FM/GPS would be unavailable on system

****************************************************

Thanks,

Shravan.

  • Hi Shravan,

    from the logs provided, it seems that the system is waking up. Maybe only the display did not turn on properly?

    Can you try the following and tell us what happens?

    1) on the serial line is the prompt available? is pressing any key waking up the device?

    2) if forcing the sleep mode from the command line (on the serial not adb):
     $ echo mem > /sys/power/state
    Then pressing any key on the serial console, does the system go back up?

    3) backlight:
    $ echo 1 > /sys/pwm/ecap.2/run
    $ echo 100 > /sys/pwm/ecap.2/duty_percent

    4) Blank screen
    $ echo 0 > /sys/class/graphics/fb0/blank

    If none of the previous things worked: can you reproduce this on the reference platforms: am335xevm / am335x_sk / bbeaglebone / beagleboneblack?

    If this cannot be reproduced on the reference platform, it is going to be a problem with either your hardware or your port. In this case, we will unfortunately not be able to help you further as we cannot reproduce and investigate.