为什么可以把系统从挂起状态的设备不能通过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.
多谢楼上老弟,但您可能误解我的意思了,我不是想问如何进入D3状态,而是问为什么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.这个解释好像说得太模糊了,能不能具体解释一下啊,太感谢了,我这个贴子已经挂了好久了,没人帮我解决啊!
详情回复
发表于 2007-8-16 12:56
多谢楼上老弟,但您可能误解我的意思了,我不是想问如何进入D3状态,而是问为什么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.这个解释好像说得太模糊了,能不能具体解释一下啊,太感谢了,我这个贴子已经挂了好久了,没人帮我解决啊!