开机的时候 SurfaceFlinger open msm_fb device
[ 9.468484] mdp4_overlay_pipe_alloc: pipe=c07f7830 ndx=1 num=0 share=0 cnt=0 刚开机的时候 sl open device
[ 9.472143] qlay: lcdc on task name SurfaceFlinger
[ 9.479310] [
[ 9.487521] [
[ 9.495607] [
[ 9.504466] [
[ 9.513053] [
[ 9.521931] [
[ 9.529903] [
[ 9.538302] [
[ 9.546909] [
[ 9.561855] [
[ 9.576343] [
[ 9.590589] [
[ 9.605077] [
========
开机一段时间后,按了power key,屏灭掉
ScreenOffThread 调用接口
[ 40.818817] qlay: request_suspend_state ScreenOffThread
[ 40.823919] lm3535_backlight_control: intensive 2 on:1
[ 40.829491] request_suspend_state: sleep (0->3) at 40750511263 (1970-01-02 00:00:31.486817926 UTC)
[ 40.838348] qlay: lightup suspend
[ 40.841357] lcdc_samsung_panel_set_backlight: backlight bl_level 0x0
[ 40.847635] lm3535_backlight_control: intensive 2 on:0
[ 40.897916] CPUFREQ: Per core ondemand sysfs interface is deprecated - sampling_rate
[ 41.029041] qlay: lcdc_off task suspend
[ 41.029088] [
[ 41.040211] [
[ 41.048595] [
[ 41.057224] [
[ 41.065812] [
[ 41.075275] [
[ 41.084219] [
[ 41.093094] [
[ 41.102810] [
$
$
===============
过了一会儿按了powerkey 屏打开了。打开的同时背光也在打开
WindowManagerPo 进程
$ [ 45.412447] qlay: request_suspend_state WindowManagerPo
[ 45.412538] request_suspend_state: wakeup (3->0) at 45333550421 (1970-01-02 00:00:36.069852343 U
TC)
[ 45.438831] qlay: led_brightness_store
[ 45.459402] qlay: led_brightness_store
[ 45.475765] qlay: led_brightness_store
[ 45.492308] qlay: led_brightness_store
[ 45.492618] qlay: lcdc on task name suspend
[ 45.505525] [
[ 45.505561] [
[ 45.521097] qlay: led_brightness_store
[ 45.524946] [
[ 45.533697] [
[ 45.542226] qlay: led_brightness_store
[ 45.546459] [
[ 45.555514] [
[ 45.564192] qlay: led_brightness_store
[ 45.568122] [
[ 45.576789] [
[ 45.585197] qlay: led_brightness_store
[ 45.589571] [
=============
再次灭掉,同时进入睡眠状态
[ 52.744714] qlay: request_suspend_state ScreenOffThread
[ 52.749827] lm3535_backlight_control: intensive 2 on:1
[ 52.755088] qlay: lightup suspend
[ 52.758309] lcdc_samsung_panel_set_backlight: backlight bl_level 0x0
[ 52.764679] request_suspend_state: sleep (0->3) at 52685703855 (1970-01-02 00:00:43.422010370 UTC)
[ 52.804564] lm3535_backlight_control: intensive 2 on:0
[ 52.929094] qlay: lcdc_off task suspend
[ 52.929145] [
[ 52.940272] [
[ 52.948651] [
[ 52.957281] [
[ 52.965868] [
[ 52.975332] [
[ 52.984271] [
[ 52.993227] [
[ 53.002879] [
[ 53.186668] PM: Syncing filesystems ... done.
[ 53.193190] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 53.210721] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[ 53.236312] Suspending console(s) (use no_console_suspend to debug)
============
睡眠唤醒过程
[ 53.245699] radio-tavaruatavarua_suspend: radio suspend
[ 53.245706]
[ 53.247391] local_clk_disable_nolock: Reference counts are incorrect for clock 100!
[ 53.247401] local_clk_disable_nolock: Reference counts are incorrect for clock 121!
[ 53.247410] local_clk_disable_nolock: Reference counts are incorrect for clock 122!
[ 53.274894] PM: suspend of devices complete after 29.993 msecs
[ 53.275716] PM: late suspend of devices complete after 0.807 msecs
[ 53.275726] Disabling non-boot CPUs ...
[ 53.275788] msm_pm_enter
[ 53.275788] msm_pm_enter: power collapse
[ 53.275788] msm_pm_enter: return
[ 53.276225] PM: early resume of devices complete after 0.367 msecs
[ 53.276471] wakeup wake lock: event1-201
[ 53.504385] msm_kgsl: initialized dev=0 mmu=on per_process_pagetable=off
[ 53.512652] hdmi_core_power(on): success
[ 53.512678] hdmi_enable_5v(on): success
[ 53.514445] radio-tavaruatavarua_resume: radio resume
[ 53.514451]
[ 53.514981] PM: resume of devices complete after 238.431 msecs
[ 53.608123] Restarting tasks ...
[ 53.610503] rmt_storage_ioctl: wait for request ioctl
[ 53.620984] qlay: request_suspend_state WindowManagerPo
[ 53.621018] request_suspend_state: wakeup (3->0) at 53542039854 (1970-01-02 00:00:45.009320145 UTC)
[ 53.637453] done.
[ 53.637537] suspend: exit suspend, ret = 0 (1970-01-02 00:00:45.025842812 UTC)
==========
从睡眠状态中过来
WindowManagerPo 使得屏幕亮起
[ 53.620984] qlay: request_suspend_state WindowManagerPo
[ 53.646214] qlay: led_brightness_store
[ 53.665536] qlay: led_brightness_store
[ 53.681911] qlay: led_brightness_store
[ 53.697361] qlay: led_brightness_store
[ 53.714666] qlay: led_brightness_store
[ 53.734233] qlay: led_brightness_store
[ 53.755495] qlay: led_brightness_store
[ 53.771700] qlay: led_brightness_store
[ 53.784831] qlay: lcdc on task name suspend
[ 53.784876] [
[ 53.796463] qlay: led_brightness_store
[ 53.800395] [
[ 53.808203] [
[ 53.817175] qlay: led_brightness_store
[ 53.824171] [
)
[ 53.824206] [
/0x88)
[ 53.841377] qlay: led_brightness_store
[ 53.845211] [
)
[ 53.853759] [
[ 53.862614] qlay: led_brightness_store
[ 53.866287] [
[ 53.874583] [