Hi,
We have a modem device for which we are writing a driver.
Our driver is the power policy owner of the device.
When we get a StartDevice PnP IRP, after doing all the processing
we power down the device to D3 state.
This is done to make sure that the device doesn’t take any power when
not in use. We do a power up when somebody tries to open our device.Our
device doesn’t support wakeup
and the only supported states are D0 and D3.
Subsequently, we get a IRP_MN_SET_POWER with D0 as the desired
device state. We do not initiate any such request as a power policy owner.
This happens after we complete IRP_MN_QUERY_PNP_DEVICE_STATE IRP with no
changes to the PNP_DEVICE_STATE.
When can such an IRP_MN_SET_POWER be sent by the config manager ? Are we
missing something ?
Thanks in advance.
With Regards
D.Nagarajan