Message 2 of 3
11 Jul 12 10:14
Join Date: 21 Jul 2008
Posts To This List: 1906
Re: NDIS miniport power management for NDIS 6.3
Your MiniportInitializeEx is not called again after resume from
hibernation because it is not supposed to. Instead, the miniport
should support power management and handle PM events.
Some early NDIS versions (before power management) indeed
unloaded miniports and initialized them again after hibernation;
this IIRC worked for compatibility with non-PM capable miniports
up to Win7(?) but they could finally drop this.
Just do the right thing and declare your PM capabilities properly.
On 11-Jul-2012 16:25, firstname.lastname@example.org wrote:
> Hello All,
> I am facing a problem with power management in my NDIS 630 miniport driver.
> The device i am working on does not support WoL feature.
> Problem faced:-> If i put the system in hibernate and wake it up the call
MpInitializeEx is not getting called.because of which when the system comes up i
am not able to disable the driver.
> when registering the Power management attributes using
"NdisMSetMiniportAttributes", i set the PNDIS_PM_CAPABILITIES
PowerManagementCapabilitiesEx struct to all "0"[as non of the parameters defined
in the struct are valid for our device] . and initialize the header with version
and length NDIS_PM_CAPABILITIES_REVISION_2 and
<...excess quoted lines suppressed...>