deploy S4 mode for android

来源:互联网 发布:数控机床g72编程实例 编辑:程序博客网 时间:2024/05/17 09:43

“如果你听懂了我的意思,那你一定是误解了我的意思”

----格林斯潘

一直都觉得自己不会写文章,因为别人总是看不懂我写的东西。 后来总结了一下,觉得有几点要注意了,我的文档都缺少概括性的描述,缺少总结,不事包装,直接从最重要的地方开始, 草草结束.


觉得这样不太好,会养成急性子的性格。 凡是要有计划有目的的开始和完成,稳稳当当的。

我不是格林斯,  太深的问题知道即可, 目前嘴重要的事情是要学会怎么挣钱。


1. bootloader

only x86 arch need BIOS to support ACPI.  ARM and PPC don't need bootloader to implement any ACPI code. all ACPI driver is implemented in kernel.


2. kernel 

Each device driver need to implement .suspend .resume function if you want it to work find on a ACPI compatible runtime enviroment. 

Device driver in LInux3.0  implement pm very well, if your driver has pm problem, Why not to update to the new kernel or porting a driver from latest kernel version.


3.  power managemnt daemon

A pm daemon runs in user mode. each linux distribution has different implementation:

Android : powermnagerService

Ubuntu:  [pm]  gnome-power-manager

/usr/lib/upower/upowerd



:) .......... to continue

原创粉丝点击