Suspending Console (s) (use no_console_suspend to debug) android4.0 omap4460

Source: Internet
Author: User

I bought an omap4460 pandatv Development Board and burned the android4.0 system. I want to use the Linux kernel to runProgramPort it to the board and run it. I use a single board, no display, no touch screen, and the output is a terminal. After the board is powered on, the terminal will be suspended soon: suspending Console (s) (use no_console_suspend to debug ). I have been searching for it online for a long time and cannot solve it.

Reference: http://blog.csdn.net/eqwewr/article/details/7513733,https://groups.google.com/forum? Fromgroups = #! Topic/Android-porting/a3fmhyvoclw

As mentioned in the first link, I tried to use it. The person from the second link also does not use it like me.

Finally, the solution provided by the big brother on the Internet:

Do not want to suspend request for a wakelock
Echo XXX>/sys/power/wake_lock
To release
Echo XXX>/sys/power/wake_unlock

XXX,

Enter the preceding statement immediately after the system is started, as follows:

Root @ Android: // # echo wake>/sys/power/wake_lock and the terminal will not be suspended. If you do not enter the release Statement (echo XXX>/sys/power/wake_unlock) and directly press the reset key on the board, the terminal will not respond (there are two lights on the board, in this case, only one light is on. press the reset key to restart the system. In addition, this solution requires you to re-enter the statement after each reboot, so it is only temporary, hoping to find a better method.

The following link is the source code patch for solving this problem. 2013-5-2

Https://patchwork.kernel.org/patch/2493631/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.