关于设备电源状态D3的问题
为什么可以把系统从挂起状态的设备不能通过DevicePowerNotify申请进入D3状态呢?
小弟看了windows mobile 5.0的文档,但是看得一头雾水,请各位大哥大姐指教,本人不胜感激!以下是mobile的部分文档:
Devices that can wake the system from a suspend state should not request the D3 state through DevicePowerNotify. This is because enabling a device as a wake source is not always appropriate, unless the system is going to enter a suspend state. The driver cannot distinguish IOCTL_POWER_SET requests for D3 that it has initiated itself from those initiated by the Power Manager as part of a system power state transition.
If a non-wake-enabled device is in D3 and the system suspends, it should transition to D4 in its XXX_PowerDown (Device Manager) handler and back to D3 in its XXX_PowerUp (Device Manager) handler. If it cannot do this, it should not attempt to support D3, but should transition to D4 when requested to go into D3.