This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to disable power manager

Hi, all.

 I am using the EVM_3530 + BSP_WINCE_ARM_A8_01_02_00.

When the system is in idle mode, the power manager will put the cpu in  low-power suspend state,

I see the output string  "kernel IOCTL_POWER_SET setting state 0" from the serial port, then the LCD will be shut down.

How to disable this function? I want the LCD always power on.

Thanks.

Qing

  • Qing,

    In your system, are you using AC Power or Battery?

    The following timeout setting defines when system will do Power State transition from D0(Power on) -> D1 (User idle) -> D2 (system idle) -> D3 (suspend).

    If you want your system always stay at D0 or D1, you can modify corresponding timeout value to "0" and put these settings in platform.reg. It will overwrite the default settings.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
    ; @CESYSGEN IF PM_PM_DEFAULT_PDD
        "ACUserIdle"=dword:3c               ; in seconds
        "ACSystemIdle"=dword:12c    ; in seconds
        "ACSuspend"=dword:0                 ; in seconds
        "BattUserIdle"=dword:3c             ; in seconds
        "BattSystemIdle"=dword:b4   ; in seconds
        "BattSuspend"=dword:12c             ; in seconds
    ; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
    ;;;     "BatteryPoll"=dword:1f4         ; battery polling interval, in milliseonds

    To temporarily change the timeout value , you can change from it from your device:

    control panel -> Power ->Schemes.

    Thanks,

    Tao

  • Just to add to Tao's solution, if you want to just keep LCD/display ON but still let other drivers go to D2 (systemidle), then you will need to modify SetPowerLevel() function in platform\common\src\soc\common_ti_v1\common_ti\dss\dssai\dssai.cpp

     

    -Madhvi

  • Thanks, your suggestion is very useful.