微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 72背光灭状态下,按Home键背光亮且直接返回主界面!

72背光灭状态下,按Home键背光亮且直接返回主界面!

时间:10-02 整理:3721RD 点击:

背光刚灭的时候按下home键,正常情况下应该是屏灯亮,停留在原先界面,而不返回主界面才对的,不知上层在哪修改,请高手指点下!LOG如下:
[   94.402351]-(0)[1094:kworker/u:3]mtk_wdt_set_time_out_value: value=30 !
[   94.402351]-(0)[1094:kworker/u:3][SPM] WDT with cpu_pdn=0, infra_pdn=0
[   94.402351]-(0)[1094:kworker/u:3][WDT] resume(1)
[   94.402351]-(0)[1094:kworker/u:3][power/Sleep] Wakeup Succefully
[   94.402351]-(0)[1094:kworker/u:3][Power/Sleep] VER = pcm_suspend_v26-42
[   94.402351]-(0)[1094:kworker/u:3]PCM_EVENT_REG_STA = 0x90100000
[   94.402351]-(0)[1094:kworker/u:3]PCM_R9 = 0x1BFB4
[   94.402351]-(0)[1094:kworker/u:3]PCM_R12 = 0x4
[   94.402351]-(0)[1094:kworker/u:3]PCM_R13 = 0xE8020049
[   94.402351]-(0)[1094:kworker/u:3][PCM WAKEUP NORMAL]CPU WAKE UP BY: KP
[   94.402351]-(0)[1094:kworker/u:3][Power/Sleep] slp_abort_cnt:0,slp_normal_cnt:5
[   94.402351]-(0)[1094:kworker/u:3][Power/Sleep] slp_wake_reason: 4
[   94.403605] (0)[1094:kworker/u:3]usb save current success
[   94.404560] (0)[1094:kworker/u:3]kpd: register = fffe ffff ffff ffff ff
[   94.405383] (0)[1094:kworker/u:3]kpd: (pressed) HW keycode = 0
[   94.406146] (0)[1094:kworker/u:3]kpd: report linux keycode = 102
[   94.407251] (0)[1094:kworker/u:3][Power/Sleep] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[   94.408213] (0)[1094:kworker/u:3][Power/Sleep] _Chip_pm_finish @@@@@@@@@@@@@@@@@@@@@
[   94.409179] (0)[1094:kworker/u:3][Power/Sleep]  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[   94.411025] (0)[1094:kworker/u:3][Power/RTC] read tc time = 2010/01/01 (5) 00:02:29
[   94.412107] (0)[1094:kworker/u:3][Power/PMIC] ******** MT6323 PMIC driver resume! ********
[   94.413205] (0)[1094:kworker/u:3]
[   94.413212] (0)[1094:kworker/u:3]ccci_helper_resume
[   94.414421] (0)[1094:kworker/u:3][Power/BatMeter] [oam] get_hw_ocv (pchr) : ADC_result_reg=16988, adc_result=3732
[   94.415698] (0)[1094:kworker/u:3][Power/BatMeter] sleeptime=(0)s, be_ocv=(3744), af_ocv=(3740), D0=(77), car1=(93), car2=(93)
[   94.417181] (0)[1094:kworker/u:3][Power/BatMeter] [Battery_meter_resume]
[   94.418020] (0)[1094:kworker/u:3][Power/Battery] ******** battery driver resume  ********
[   94.419114] (0)[1094:kworker/u:3]Mali<1>: Mali PM: mali_pm_resume
[   94.419867] (0)[1094:kworker/u:3]Mali<2>: [+]MFG enable_clock
[   94.420658]-(0)[1094:kworker/u:3][SMI] [pid=1094]on_larb_power_on(), larb_idx=0
[   94.421577]-(0)[1094:kworker/u:3][SMI] [pid=1094]set as SMI_BWC_SCEN_NORMAL
[   94.422467] (0)[1094:kworker/u:3]Mali<2>: [-]MFG enable_clock
[   94.423186] (0)[1094:kworker/u:3]Mali<2>: Mali PM: mali_pm_os_resume: fROM = 1
[   94.424177] (0)[1094:kworker/u:3][UART0] Resume(0)!
[   94.424789] (0)[1094:kworker/u:3][UART1] Resume(0)!
[   94.425408] (0)[1094:kworker/u:3][NFI] Resume !
[   94.426146] (0)[1094:kworker/u:3][PWRAP] Resume!
[   94.426718] (0)[1094:kworker/u:3][PWRAP] init_done0: 1 init_done1: 1 init_done2: 1 pattern: 0x1234
[   94.427948]-(0)[1094:kworker/u:3]msdc1 on clock failed ===> retry once
[   94.428789] (0)[1094:kworker/u:3]AudDrv_resume
[   94.429316] (0)[1094:kworker/u:3]+AudDrv_resume+AudDrv_Clk_On, Aud_AFE_Clk_cntr:0
[   94.430369]-(0)[1094:kworker/u:3]+ AudDrv_Clk_Off, Aud_AFE_Clk_cntr:0
[   94.431206] (0)[1094:kworker/u:3][M4U] [pid=1094]SMI register restore when resume phone
[   94.432237] (0)[1094:kworker/u:3][DISP/MTKFB] [FB Driver] mtkfb_resume()
[   94.433268] (0)[1094:kworker/u:3][Power/DVFS] mt_cpufreq_resume
[   94.434003] (0)[1094:kworker/u:3][Power/DVFS] PMIC_WRAP_DVFS_WDATA3: 0x58
[   94.434846] (0)[1094:kworker/u:3][Power/DVFS] PMIC_WRAP_DVFS_WDATA4: 0x58
[   94.435693] (0)[1094:kworker/u:3][Power/DVFS] PMIC_WRAP_DVFS_WDATA5: 0x48
[   94.436538] (0)[1094:kworker/u:3][Power/DVFS] PMIC_WRAP_DVFS_WDATA6: 0x2
[   94.437476] (0)[1094:kworker/u:3][Power/DVFS] PMIC_WRAP_DVFS_WDATA7: 0x2
[   94.438314] (0)[1094:kworker/u:3][mtk_thermal_resume]
[   94.438967] (0)[1094:kworker/u:3]stop_GPT: GPT4 is not in use!
[   94.439789] (0)[1094:kworker/u:3]MTK-BTIF[I]mtk_btif_resume:++
[   94.440522] (0)[1094:kworker/u:3]MTK-BTIF[I]_btif_lpbk_ctrl:loopback function disabled
[   94.441543] (0)[1094:kworker/u:3]MTK-BTIF[I]_btif_controller_setup:succeed
[   94.442419] (0)[1094:kworker/u:3]MTK-BTIF[I]_btif_tx_DMA_setup:succeed
[   94.443249] (0)[1094:kworker/u:3]MTK-BTIF[I]_btif_rx_dma_setup:succeed
[   94.444068] (0)[1094:kworker/u:3]MTK-BTIF[I]mtk_btif_resume:--, i_ret:0
[   94.445669] (0)[1094:kworker/u:3][Power/Sleep] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[   94.446629] (0)[1094:kworker/u:3][Power/Sleep] _Chip_pm_end @@@@@@@@@@@@@@@@@@@@@@@@
[   94.447658] (0)[1094:kworker/u:3][Power/Sleep]  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[   94.448632] (0)[1094:kworker/u:3]Restarting tasks ...
[   94.455394]-(0)[597:AlARMManager][Power/Alarm] alarm wait
[   94.468273] (0)[1094:kworker/u:3]done.
[   94.469973] (0)[1013:kworker/u:2]msdc LDO<2> power on<3300>
[   94.470713] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerOn] acquire powerId:2 index:0 mod_name: msdc powerVolt:3300

[   94.471998] (0)[1013:kworker/u:2][Power/PMIC] [2] PMU LDO Enable

[   94.472774] (0)[1013:kworker/u:2][Power/PMIC] ****[dct_pmic_VMC_sel] value=3300
[   94.473719] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMC_enable] 1
[   94.474540] (0)[1013:kworker/u:2]msdc LDO<3> power on<3300>
[   94.475244] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerOn] acquire powerId:3 index:0 mod_name: msdc powerVolt:3300

[   94.476529] (0)[1013:kworker/u:2][Power/PMIC]
[   94.477999] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: event1-561
[   94.481419] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: event3-561
[   94.483668] (0)[1013:kworker/u:2][3] PMU LDO Enable

[   94.484679] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: event4-561
[   94.485983]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        KeyEvents
[   94.487420] (0)[1013:kworker/u:2][Power/PMIC] ****[dct_pmic_VMCH_sel] value=3300
[   94.488444] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: event0-561
[   94.490074] (0)[1013:kworker/u:2][Power/PMIC]
[   94.491229]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        event0-561
[   94.492155] (0)[1013:kworker/u:2][dct_pmic_VMCH_enable] 1
[   94.492880] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: KeyEvents
[   94.497649]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        event1-561
[   94.498504]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        event3-561
[   94.499352]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        event4-561
[   94.500763] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: mmc0_detect
[   94.501903] (0)[1094:kworker/u:3][Power/Kernel][print_active_wakeup_sources]: activity: alarm
[   94.512326] (0)[577:er.ServerThread]<HWMSEN> sensor(0), flag(1)
[   94.513101] (0)[577:er.ServerThread]<HWMSEN> ioctl delay handle=0,delay =200
[   94.513992] (0)[577:er.ServerThread]<HWMSEN> update_workqueue_polling_rate
[   94.514845] (0)[577:er.ServerThread]<HWMSEN> set old fastest sensor delay as workqueue base time=200
[   94.515985] (0)[577:er.ServerThread]<HWMSEN> update_workqueue_polling_rate,set delayCountSet=0 delay =200 handle=0

[   94.517658] (0)[577:er.ServerThread]<HWMSEN> ioctl delay handle=0,delay =66
[   94.518543] (0)[577:er.ServerThread]<HWMSEN> update_workqueue_polling_rate
[   94.519396] (0)[577:er.ServerThread]<HWMSEN> set old fastest sensor delay as workqueue base time=66
[   94.520525] (0)[577:er.ServerThread]<HWMSEN> update_workqueue_polling_rate,set delayCountSet=0 delay =66 handle=0

[   94.547442]-(0)[4:kworker/0:0][Power/Kernel]:ws deactivate->        pmicAuxadc irq wakelock
[   94.557258] (0)[1013:kworker/u:2]msdc1 -> ! Set<400KHz> Source<200000KHz> -> sclk<400KHz> DDR<0> mode<0> div<125>[Power/Kernel]:ws deactivate->        KeyEvents
[   94.569193] (0)[4:kworker/0:0][Power/WMT_Thermal] [wmt_thz_get_temp] temp = 0
[   94.572260]-(0)[4:kworker/0:0][Power/Kernel]:ws deactivate->        read_data_wake_lock
[   94.573211] (0)[4:kworker/0:0]kpd: register = ffff ffff ffff ffff ff
[   94.574001] (0)[4:kworker/0:0]kpd: (released) HW keycode = 0
[   94.574788] (0)[4:kworker/0:0]kpd: report Linux keycode = 102
[   94.591010] (0)[4:kworker/0:0]<HWMSEN> hwm_dev early suspend work polling
[   94.591948] (0)[4:kworker/0:0][Power/Battery] [EM] FG_Battery_CurrentConsumption : 2755/10 mA
[   94.596041] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<8><0x1aa> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.603688] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.605736] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.612914]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        event0-561
[   94.615359]-(0)[620:InputReader][Power/Kernel]:ws deactivate->        KeyEvents
[   94.617654] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.619696] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.621352] (0)[1013:kworker/u:2]sd card rocr <0x0>
[   94.622339] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<1><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.623996] (0)[1013:kworker/u:2]msdc LDO<2> power off
[   94.624708] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerDown] powerId:2 index:0 mod_name: msdc

[   94.625765] (0)[1013:kworker/u:2][Power/PMIC] [2] PMU LDO Disable

[   94.626552] (0)[1013:kworker/u:2][Power/PMIC]
[   94.635280] (0)[4:kworker/0:0][LED]button-backlight:255
[   94.635958] (0)[4:kworker/0:0]mt65xx_leds_set_cust: set brightness, name:button-backlight, mode:3, level:255
[   94.637572] (0)[4:kworker/0:0][LED]PMIC#8:255
[   94.645184]-(0)[597:AlarmManager][Power/Alarm] alarm wait
[   94.647166] (0)[1013:kworker/u:2][dct_pmic_VMC_enable] 0
[   94.647868] (0)[1013:kworker/u:2]msdc LDO<3> power off
[   94.648519] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerDown] powerId:3 index:0 mod_name: msdc

[   94.649576] (0)[1013:kworker/u:2][Power/PMIC] [3] PMU LDO Disable

[   94.650362] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMCH_enable] 0
[   94.687307] (0)[1013:kworker/u:2]msdc1 -> set mclk to 0
[   94.689022] (0)[1013:kworker/u:2]msdc LDO<2> power on<3300>
[   94.689754] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerOn] acquire powerId:2 index:0 mod_name: msdc powerVolt:3300

[   94.691039] (0)[1013:kworker/u:2][Power/PMIC] [2] PMU LDO Enable

[   94.691816] (0)[1013:kworker/u:2][Power/PMIC] ****[dct_pmic_VMC_sel] value=3300
[   94.692760] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMC_enable] 1
[   94.693582] (0)[1013:kworker/u:2]msdc LDO<3> power on<3300>
[   94.694286] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerOn] acquire powerId:3 index:0 mod_name: msdc powerVolt:3300

[   94.695570] (0)[1013:kworker/u:2][Power/PMIC] [3] PMU LDO Enable

[   94.696346] (0)[1013:kworker/u:2][Power/PMIC] ****[dct_pmic_VMCH_sel] value=3300
[   94.717446] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMCH_enable] 1
[   94.746353] (0)[597:AlarmManager][Power/Alarm]
[   94.757231] (0)[1013:kworker/u:2]msdc1 -> ! Set<300KHz> Source<200000KHz> -> sclk<299KHz> DDR<0> mode<0> div<167>
[   94.762540]-(0)[595:PowerManagerSer][Ker_PM][request_suspend_state]wakeup (3->0) at 94685700565 (2010-01-01 00:02:29.352286312 UTC)
[   94.764079] (0)[1739:kworker/u:4]@@@@@@@@@@@@@@@@@@@@@@@
[   94.764087] (0)[1739:kworker/u:4]@@@__late_resume__@@@
[   94.764094] (0)[1739:kworker/u:4]@@@@@@@@@@@@@@@@@@@@@@@
[   94.766071]-(0)[1739:kworker/u:4][Power/Kernel]:ws deactivate->        autosleep
[   94.767514] (0)[1739:kworker/u:4]early_suspend_count = 14, forbid_id = 0x0
[   94.768387] (0)[1739:kworker/u:4]LR handlers 0: [mt_hotplug_mechanism_late_resume], level: 400
[   94.769458] (0)[1739:kworker/u:4][Power/hotplug] mt_hotplug_mechanism_late_resume
[   94.770378] (0)[1739:kworker/u:4]LR handlers 1: [mt_gpufreq_late_resume], level: 350
[   94.771366] (0)[1739:kworker/u:4][Power/GPU_DVFS] enable GPU DVFS: g_gpufreq_dvfs_disable_count = 0
[   94.772494] (0)[1739:kworker/u:4]LR handlers 2: [mt_cpufreq_late_resume], level: 350
[   94.773459] (0)[1739:kworker/u:4][Power/DVFS] enable DVFS: g_dvfs_disable_count = 0
[   94.774414] (0)[1739:kworker/u:4]LR handlers 3: [mtkfb_late_resume], level: 150
[   94.775320] (0)[1739:kworker/u:4][FB Driver] enter late_resume
[   94.776050] (0)[1739:kworker/u:4][DDP]disp_path_power_on, caller:reg_restore
[   94.790164] (0)[597:AlarmManager]alarm 3 set 176.596000000
[   94.797024] (0)[4:kworker/0:0]dbs_check_cpu: turn on CPU by perf service
[   94.806360] (0)[1739:kworker/u:4][DDP]reg_restore, caller:reg_restore
[   94.807313] (0)[4:kworker/0:0]hp_work_handler: cpu_up(1) kick off
[   94.810873] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<8><0x1aa> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.815031] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.817182] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.819215] (0)[1739:kworker/u:4][DDP]disp_reg_restore(*) start, *pRegBackup=0xff, reg_offset=0  
[   94.820355] (0)[1739:kworker/u:4][DDP]disp_reg_restore() done
[   94.824129] (0)[1739:kworker/u:4][DISP/DSI] [DISP] - kernel - DSI_PHY_TIMCONFIG, Cycle Time = 24(ns), Unit Interval = 3(ns). div1 = 2, div2 = 2, fbk_div = 26, lane# = 2
[   94.826012] (0)[1739:kworker/u:4][DISP/DSI] [DISP] - kernel - DSI_PHY_TIMCONFIG, HS_TRAIL = 14, HS_ZERO = 6, HS_PRPR = 3, LPX = 3, TA_GET = 15, TA_SURE = 4, TA_GO = 12, CLK_TRAIL = 14, CLK_ZERO = 16, CLK_HS_PRPR = 2
[   94.828533] (0)[953:kworker/0:3]dbs_check_cpu: turn on CPU by perf service
[   94.835218] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.840994] (0)[1739:kworker/u:4]LCM_init
[   94.842025] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.843683] (0)[1013:kworker/u:2]sd card rocr <0x0>
[   94.844783] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<1><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.846437] (0)[1013:kworker/u:2]msdc LDO<2> power off
[   94.853153] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerDown] powerId:2 index:0 mod_name: msdc

[   94.854209] (0)[1013:kworker/u:2][Power/PMIC] [2] PMU LDO Disable

[   94.854992] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMC_enable] 0
[   94.855809] (0)[1013:kworker/u:2]msdc LDO<3> power off
[   94.856452] (0)[1013:kworker/u:2][Power/PMIC] dbs_check_cpu: turn on CPU by perf service
[   94.861958] (0)[4:kworker/0:0]regs_hotplug_callback cpu = 1
[   94.862709] (0)[4:kworker/0:0]Boot slave CPU
[   94.863233] (0)[4:kworker/0:0][Power/hotplug] boot_secondary, cpu: 1
[   94.865957] (0)[4:kworker/0:0]regs_hotplug_callback cpu = 1
[   94.866762] (0)[4:kworker/0:0][wdk]bind thread[88] to cpu[1]
[   94.868387] (0)[4:kworker/0:0][WDK]cpu 1 plug on wk_start_kick_cpu
[   94.868680]-(1)[597:AlarmManager][Power/Alarm] alarm wait
[   94.872700] (0)[1013:kworker/u:2][hwPowerDown] powerId:3 index:0 mod_name: msdc

[   94.877361] (0)[4:kworker/0:0]hp_work_handler: cpu_up(1) completion
[   94.878212] (0)[1013:kworker/u:2][Power/PMIC] [3] PMU LDO Disable

[   94.879002] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMCH_enable] 0
[   94.897292] (0)[1013:kworker/u:2]msdc1 -> set mclk to 0
[   94.899147] (0)[1013:kworker/u:2]msdc LDO<2> power on<3300>
[   94.899887] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerOn] acquire powerId:2 index:0 mod_name: msdc powerVolt:3300

[   94.902442] (1)[1013:kworker/u:2][Power/PMIC] [2] PMU LDO Enable

[   94.903216] (1)[1013:kworker/u:2][Power/PMIC] ****[dct_pmic_VMC_sel] value=3300
[   94.904160] (1)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMC_enable] 1
[   94.904979] (1)[1013:kworker/u:2]msdc LDO<3> power on<3300>
[   94.905680] (1)[1013:kworker/u:2][Power/PMIC] [hwPowerOn] acquire powerId:3 index:0 mod_name: msdc powerVolt:3300

[   94.907094] (1)[1013:kworker/u:2][Power/PMIC] [3] PMU LDO Enable

[   94.907872] (1)[1013:kworker/u:2][Power/PMIC] ****[dct_pmic_VMCH_sel] value=3300
[   94.908824] (1)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMCH_enable] 1
[   94.937190] (1)[1013:kworker/u:2]msdc1 -> ! Set<260KHz> Source<200000KHz> -> sclk<259KHz> DDR<0> mode<0> div<193>
[   94.983802] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<8><0x1aa> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.991448] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   94.993786] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   95.000765] (0)[1013:kworker/u:2][MSDC]
[   95.001266]-(0)[1013:kworker/u:2][Power/PMIC] [mt6323_pmic_eint_irq] receive interrupt
[   95.002269]-(0)[1013:kworker/u:2][Power/PMIC] [wake_up_pmic]

[   95.003015]-(0)[1013:kworker/u:2][EINT] Warning! EINT:16 run too long,s:95001260003,e:95003008695,total:1748692
[   95.003079] (1)[19:pmic_thread_kth][Power/PMIC] [pmic_thread_kthread] running
[   95.003100] (1)[19:pmic_thread_kth][Power/PMIC] [INT] int_status_val_0=0x0
[   95.003114] (1)[19:pmic_thread_kth][Power/PMIC] [INT] int_status_val_1=0x10
[   95.003125] (1)[19:pmic_thread_kth][Power/PMIC] [rtc_int_handler]....
[   95.003135] (1)[19:pmic_thread_kth][Power/RTC] rtc_tasklet_handler start
[   95.003257] (1)[19:pmic_thread_kth][Power/RTC] alarm time is up
[   95.004406] (1)[19:pmic_thread_kth][Power/PMIC] [INT] after ,int_status_val_0=0x0
[   95.004421] (1)[19:pmic_thread_kth][Power/PMIC] [INT] after ,int_status_val_1=0x0
[   95.005267] (1)[1881:kworker/1:1][Power/RTC] read tc time = 2010/01/01 (5) 00:02:30
[   95.005282] (1)[1881:kworker/1:1]rtc_timer_do_work break, next->expires.tv64=1262304149145557160
[   95.013197]-(0)[1013:kworker/u:2][ISR DURATION WARN] IRQ[108:EINT], dur:11934154 ns > 3 ms,(s:95001252618,e:95013186772)
[   95.014808] (0)[1013:kworker/u:2]msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   95.017234] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<55><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   95.018992] (0)[1013:kworker/u:2]sd card rocr <0x0>
[   95.020199] (0)[1013:kworker/u:2][MSDC] msdc1 -> XXX CMD<1><0x0> Error<-110> Resp<0x0> <- msdc_dump_trans_error() : L<5333> PID<kworker/u:2><0x3f5>
[   95.021884] (0)[1013:kworker/u:2]msdc LDO<2> power off
[   95.022545] (0)[1013:kworker/u:2][Power/PMIC] [hwPowerDown] powerId:2 index:0 mod_name: msdc

[   95.023600] (0)[1013:kworker/u:2][Power/PMIC] [2] PMU LDO Disable

[   95.024384] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMC_enable] 0
[   95.025210] (0)[1013:kworker/u:2]msdc LDO<3> power off
[   95.025316] (1)[20:kswapd0]select 1757 (.quicksearchbox), adj 13, size 5620, to kill
[   95.025332] (1)[20:kswapd0]send sigkill to 1757 (.quicksearchbox), adj 13, size 5620
[   95.037295] (0)[1013:kworker/u:2][Power/PMIC]
[   95.037639] (1)[37:kworker/u:1][Power/Alarm] alarm_release (37:37)(0)
[   95.041676] (0)[1013:kworker/u:2][hwPowerDown] powerId:3 index:0 mod_name: msdc

[   95.042616] (0)[1013:kworker/u:2][Power/PMIC] [3] PMU LDO Disable

[   95.043399] (0)[1013:kworker/u:2][Power/PMIC] [dct_pmic_VMCH_enable] 0
[   95.066757] (0)[1013:kworker/u:2]msdc1 -> set mclk to 0
[   95.088749] (0)[4:kworker/0:0]<HWMSEN> hwm_dev early suspend work polling
[   95.327012] (0)[1739:kworker/u:4][FB Driver] leave late_resume
[   95.327763] (0)[1739:kworker/u:4]LR handlers 4: [MT6572_VCodec_late_resume], level: 149
[   95.328764] (0)[1739:kworker/u:4][VDO_LOG] MT6572_VCodec_late_resume, tid = 1739, PWR_USER = 0
[   95.329841] (0)[1739:kworker/u:4]LR handlers 5: [s62x_late_resume], level: 149
[   95.330743] (0)[1739:kworker/u:4]LR handlers 6: [start_drawing_late_resume], level: 100
[   95.331793] (0)[1739:kworker/u:4]LR handlers 7: [tpd_resume], level: 99
[   95.332013] (1)[595:PowerManagerSer]wait done
[   95.343882] (0)[293:SurfaceFlinger][DISP/MTKFB] [FB Driver] mtkfb_set_overlay_layer():layer id = 3, layer en = 1, src format = 0x404, direct link: 0, src vir addr = 0xd0000000, src phy addr = 0x40000, src pitch=480, src xoff=0, src yoff=0, src w=480, src h=854
[   95.346779] (0)[293:SurfaceFlinger][DISP/MTKFB] [FB Driver] mtkfb_set_overlay_layer():target xoff=0, target yoff=0, target w=480, target h=854
[   95.347786] (1)[1739:kworker/u:4]LR handlers 8: [hwmsen_late_resume], level: 99
[   95.347800] (1)[1739:kworker/u:4]<HWMSEN>  hwmsen_late_resume ok------->hwm_obj->early_suspend=0
[   95.347816] (1)[1739:kworker/u:4]LR handlers 9: [mpu3000_late_resume], level: 98
[   95.353056] (1)[595:PowerManagerSer][LED]Set Backlight directly 102 at time 4294946823
[   95.356108] (1)[1739:kworker/u:4]LR handlers 10: [kpd_early_resume], level: 51
[   95.356382] (0)[595:PowerManagerSer]mt65xx_leds_set_cust: set brightness, name:LCD-backlight, mode:1, level:102
[   95.356396] (0)[595:PowerManagerSer][LEDS]backlight_set_pwm:duty is 39
[   95.356406] (0)[595:PowerManagerSer][LEDS]backlight_set_pwm:clk_src/div/high/low is 3044
[   95.361639] (1)[1739:kworker/u:4]kpd: early resume! (0)
[   95.362454] (1)[1739:kworker/u:4]LR handlers 11: [pmic_early_resume], level: 51
[   95.363372] (1)[1739:kworker/u:4][Power/PMIC] ******** MT6323 pmic driver early resume! ********
[   95.367131] (0)[1739:kworker/u:4]LR handlers 12: [p2p_late_resume], level: 50
[   95.368214] (0)[1739:kworker/u:4]LR handlers 13: [wlan_late_resume], level: 50
[   95.369121] (0)[1739:kworker/u:4][wlan] *********wlan_late_resume************
[   95.370003] (0)[1739:kworker/u:4][wlan] *********wlanLateResume************
[   95.370872] (0)[1739:kworker/u:4][wlan] ip is not avaliable.
[   95.567245] (0)[4:kworker/0:0][Power/WMT_Thermal] [wmt_thz_get_temp] temp = 0
[   95.587103] (0)[4:kworker/0:0][Power/Battery] [EM] FG_Battery_CurrentConsumption : 2755/10 mA
[   96.566993] (0)[4:kworker/0:0][Power/WMT_Thermal] [wmt_thz_get_temp] temp = 0
[   96.587073] (0)[4:kworker/0:0][Power/Battery] [EM] FG_Battery_CurrentConsumption : 2755/10 mA
[   97.566976] (0)[4:kworker/0:0][Power/WMT_Thermal] [wmt_thz_get_temp] temp = 0

自己顶一下      

HOME键是作为POWER键一样,可以唤醒睡眠中的屏?mtk-kpd.kl 中,key 102   HOME                 WAKE 是这样吗?

是的,但是灭屏状态下,按键应该只执行亮屏就可以了,不需要执行其功能

本来就是这样的吧

本来就是这样的吧

但是我的情况是按了按键,屏亮而且还返回待机界面了,多了一步

正常是这个样子的, 如果你实在不需要home返回的话,在上层界面把这个home的响应屏蔽掉应该就OK了。

还没有搞定吗

  1.     /** {@inheritDoc} */
  2.     @Override
  3.     public boolean interceptKeyBeforeDispatching(WindowState win, int action, int flags,
  4.             int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags) {
  5.         final boolean keyguardOn = keyguardOn();
  6.         final boolean down = (action == KeyEvent.ACTION_DOWN);
  7.         final boolean canceled = ((flags & KeyEvent.FLAG_CANCELED) != 0);

  8.         if (false) {
  9.             Log.d(TAG, "interceptKeyTi keyCode=" + keyCode + " down=" + down + " repeatCount="
  10.                     + repeatCount + " keyguardOn=" + keyguardOn + " mHomePressed=" + mHomePressed);
  11.         }

  12.         // Clear a pending HOME longpress if the user releases Home
  13.         // TODO: This could probably be inside the next bit of logic, but that code
  14.         // turned out to be a bit fragile so I'm doing it here explicitly, for now.
  15.         if ((keyCode == KeyEvent.KEYCODE_HOME) && !down) {
  16.             mHandler.removeCallbacks(mHomeLongPress);
  17.         }

  18.         // If the HOME button is currently being held, then we do special
  19.         // chording with it.
  20.         if (mHomePressed) {
  21.             
  22.             // If we have released the home key, and didn't do anything else
  23.             // while it was pressed, then it is time to go home!
  24.             if (keyCode == KeyEvent.KEYCODE_HOME) {
  25.                 if (!down) {
  26.                     mHomePressed = false;
  27.                     
  28.                     if (!canceled) {
  29.                         // If an incoming call is ringing, HOME is totally disabled.
  30.                         // (The user is already on the InCallScreen at this point,
  31.                         // and his ONLY options are to answer or reject the call.)
  32.                         boolean incomingRinging = false;
  33.                         try {
  34.                             ITelephony telephonyService = getTelephonyService();
  35.                             if (telephonyService != null) {
  36.                                 incomingRinging = telephonyService.isRinging();
  37.                             }
  38.                         } catch (RemoteException ex) {
  39.                             Log.w(TAG, "RemoteException from getPhoneInterface()", ex);
  40.                         }
  41.         
  42.                         if (incomingRinging) {
  43.                             Log.i(TAG, "Ignoring HOME; there's a ringing incoming call.");
  44.                         } else {
  45.                             launchHomeFromHotKey();
  46.                         }
  47.                     } else {
  48.                         Log.i(TAG, "Ignoring HOME; event canceled.");
  49.                     }
  50.                 }
  51.             }
  52.             
  53.             return true;
  54.         }

复制代码

PhoneWindowManager.java 在这个文件中追踪一下上面的函数,相信能够解决这个问题。


没有啊,都不知怎么改上层

OK,我试下            

[DESCRIPTION]
如果贵司有将 Home 键配成手机唤醒键
可能会遇到, 此键唤醒手机后, 手机会自动回到 launcher 界面
如果贵司期望手机仅响应唤醒功能, 而保留显示界面为唤醒前的界面
可以做如下修改

[SOLUTION]
修改 phonewindowmanager.java 中 interceptKeyBeforeQueueing 方法的下面这段 code:
if (keyCode == KeyEvent.KEYCODE_POWER) {
            policyFlags |= WindowManagerPolicy.FLAG_WAKE;
        }
改为:
if (keyCode == KeyEvent.KEYCODE_POWER || (keyCode == KeyEvent.KEYCODE_HOME && !isScreenOn) ) {
            policyFlags |= WindowManagerPolicy.FLAG_WAKE;
}

FAQ 一搜就出来了 ,就没有人帮忙搜索一下 FAQ 啊 。

有6577上的FAQ吗?

心都冷了,感谢土豪茁的热心

顶热心围观群众

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top