none
Problem with SUSPEND and WAKE UP - WINCE 6.0 RRS feed

  • Question

  • ALL:


    I have a problem with the suspend wake-up procedure. I'm using the pxa310 with wince6.0 R3. I'm using a key button to wake-up the system.

    I put in suspend mode the system using the menu start->suspend,

    1) The system hangs up after implementing the xxx_powerup function of peripheral driver,When I wake-up the system.

    2) At this moment,while I press the touch,  BSPIntrActiveIrq  function can be implement only once.In this case,while I insert the sd card, BSPIntrActiveIrq function can be implement repeatedly.

    3)After 5 minutse,the system begin to work properly.

    The follow is the log about this case:

    OALIoCtlHalPreSuspend
    FSREG: Flushing registry
    Powering Off system:
    Calling GWES power proc.
    PSA2Video::PowerHandler 1
    gcu suspend!
    Calling device manager power proc.
    SDH: +SDH_PowerDown
    [MMC] SDH: +SDH_PowerDown
    SDH: +SDH_PowerDo
    [MMC] SDH: +SDH_PowerDown
    BusEnum.DLL : +PowerDown dwData=c9d2da80
    otg ENABLE SIDECAR
    ++switch to sync mode
    BusEnum.DLL : -PowerDown dwData=2
    BKL_PowerDown().
    [CDC] CDC_PowerDown
    [CDC] Sleep Entered...
    [AC97]:Ac97DeActiveHardware
    IMM_PowerDown...
    Calling OEMPowerOff...
    Enable Internal SRAM Power Domain
    Enable Internal SRAM Clock.
    Save Register Counter 19
    g_SRAM_Start is :0xabb14000
    Finish init save content
    PWER::0x8000000f AD3ER:0
    -InitDebugSerial
    Resume back from XllpPmEnterSleep
    Wakeup Source 1027, AD3SR 0x1
    [LCD]:lcd_truly_reinit.
    [LCD]: ----LCDICINIT----
    Disable Internal SRAM Clock
    Disable Internal SRAM Power Domain
    Return from OEMPowerOff
    Back from OEMPowerOff
    Calling device manager power proc.
    IMM_PowerUp...
    [CDC] CDC_PowerUp
    BKL_PowerUp().
    [OTG]: +PowerUp dwData=c9d2da80
    ++switch to sync mode
    OTG ULPI PowerUp is 4018
    [OTG]: -PowerUp dwData=ffffffff
    [USB20Device]:PowerMgr Up
    SDH: +SDH_PowerUp
    [MMC] SDH: +SDH_PoweUp
    SDH: +SDH_PowerUp
    [MMC] SDH: +SDH_PoweUp
    Calling GWES power proc.
    SA2Video::PowerHandler 0
    Returning to normally scheduled programming.
    [OTG]:GET EVENT result: 0x3e8
    [OTG]:CableIST :: cable IST waiting
    [OAL]:OALIOCtlIPM->IPROF_GET_THRESH_INFO
    [IPM] IOCTL_IPM_KERNEL[IOCTL_IPM_KERNEL] returned 100 utilization, pprofstate = 2 memEfficiency = 0
    [IPM] IOCTL_IPM_KERNEL[IOCTL_IPM_KERNEL] m_bTerminated = 0
    [IPM]:IPM_WriteMsgQueue.
    [OAL]:OALIOCtlIPM->IPROF_GET_THRESH_INFO
    [IPM] IOCTL_IPM_KERNEL[IOCTL_IPM_KERNEL] returned 100 utilization, pprofstate = 2 memEfficiency = 0
    [IPM] IOCTL_IPM_KERNEL[IOCTL_IPM_KERNEL] m_bTerminated = 0
    [IPM]:IPM_WriteMsgQueue.
    +OALIntrDisableIrqs(1, 0x829b9acc)
    +void for Zy BSPIntrDisableIrq(3)
    -BSPIntrDisableIrq(irq = 3
    -OALIntrDisableIrqs
    +USBD:HcdAttach, hcd: 0xC44656E0
    +OALIntrEnableIrqs(1, 0x829b9acc)
    +void for Zy BSPIntrEnableIrq(3)
    -BSPIntrEnableIrq(irq = 3)
    -OALIntrEnableIrqs(rc = 1)
    SetDevicePower: Wrong Return Value from 'sdh3:', returning ERROR_GEN_FAILURE
    SetDevicePower: Wrong Return Value from 'sdh2:', returning ERROR_GEN_FAILURE
    BKL_IOControl IOCTL code = 3280904
    BKL: Received IOCTL_POWER_SET
    IOCTL_POWER_SET request to D0
    +BackLightSetState+++++++ - ON
    [BKL1] Notify IPM Ready For Processor state for driver 0xfafb0004,state = 0x3
    [IPM]: IPM_NotifyReadyForProcState,clientID = 0xfafb0004,state = 0x3
    [IPM]:IPM_WriteMsgQueue.
    [IPM]:IPM_WriteMsgQueue.
    [IPM]: IPM_SendMessageUnnamed->Successed
    [BKL1]:IPM_SetMinOp
    [IPM]:IPM_WriteMsgQueue.
    [IPM]: IPM_SendMessageUnnamed->Successed
    [IPM]:IPM_ReadMsgQueue.
    [IPM]:IPM_ReadMsgQueue.
    [IPM]:IPM_WriteMsgQueue.
    [CDC]:Reinit codec
    [CDC] +++TouchInit()
    [CDC] Wake up!!!
    +BSPIntrActiveIrq(0x50)
    -BSPIntrActiveIrq(0x50)
    +BSPIntrActiveIrq(0x45)
    -BSPIntrActiveIrq(0x45)

    Any advice or help would be appreciated, thanks in advance.

     

    Gavin

    2011.09.02

     


    Gavin
    Friday, September 2, 2011 5:50 AM