question

MaxSong-4308 avatar image
0 Votes"
MaxSong-4308 asked MaxSong-4308 answered

Is there any power related interface changed for UMDF driver since Windows 20H2?

After the Windows is upgraded to 20H2, it takes a very long time (about 1 minute) to enter sleep mode; And if our accelerator sensor driver is disabled, the windows can enter the sleep mode very quick. There is no such issue before the windows is upgraded to 20H2. Is there anything changed in Windows 20H2? What do we need to change our driver to solve this issue? Thanks!

windows-hardwarewindows-hardware-wdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SathyaKarivaradaswamy-5962 avatar image
0 Votes"
SathyaKarivaradaswamy-5962 answered

Hi,

There are no power-related interface changes in the 20H2 Windows Sensors stack. Could you please generate the sleep study report (Run powercfg /sleepstudy, from elevated command prompt) to understand which component blocks the system from entering sleep mode?

Thanks,
SK.
Microsoft.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MaxSong-4308 avatar image
0 Votes"
MaxSong-4308 answered

Hi SK

Thanks!

Attached is the sleep study report on 19042.985. 98982-sleep-study.png



We found this issue with 20H2 19042.631,howerver, if we update the Windows to 20H2 19042.928, there is no such issue and the Windows can enter sleep mode very quick; but If we update the Windows to 19042.985, we found this issue again.

We use traceview captured the driver log and found that the "EvtSensorStop" is not sent during sleep stage in both 19042.631 and 19042.985 version and this event is sent in 19042.928 and this causes the different operation during wake stage (EvtSensorStop is sent after D0Entry in both 19042.631 and 19042.985). We are not sure whether this is related, but from this pointview, it seems there is something changed in the sensor framework.


sleep-study.png (42.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.