/******************************************************************************* * I.MX6 Android shutdown shell command * 说明: * 想在I.MX6上执行shell关机命令,不过效果貌似不是很好,开关键多按两下又亮了。 * * 2016-7-25 深圳 南山平山村 曾剑锋 ******************************************************************************/ 一、参考文档: 1. How I shutdown Android phone with adb command? http://android.stackexchange.com/questions/47989/how-i-shutdown-android-phone-with-adb-command 二、操作命令: 1. adb shell: adb shell reboot -p 2. debug shell: 1. reboot -p 2. 现象: [email protected]:/ # reboot -p SysRq : Emergency Remount R/O EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) EXT4-fs (mmcblk0p6): re-mounted. Opts: (null) Emergency Remount complete Disabling non-boot CPUs ... CPU1: shutdown Power down. note: reboot[3033] exited with preempt_count 1
时间: 2024-10-08 09:45:45