EvtDeviceDisarmWakeFromSx() is not getting called during wakeup???

EvtDeviceDisarmWakeFromSx() is not getting called when the system wakesup from sleep.

What could be the reason? Is it not supposed to get called when the system moves from

Dx to D0 state?

I have not registered any other callbacks with WdfDeviceInitSetPowerPolicyEventCallbacks apart from

EvtDeviceDisarmWakeFromSx().

Though ndistest run on miniport sitting above KMDF-Bus Driver passes all PowerManagement tests in

NDISTEST 6.5.

Thanks,

-Praveen

Perhaps you went into an Sx state that you cannot wake from. Is this on a root enumerated device or a PCI device? Register for EvtDeviceArmWakeFromSx as well and see if that is called. Did you call WdfDeviceAssignSxWakeSettings to enable from sx?

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar Amritaluru
Sent: Monday, August 21, 2006 10:49 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] EvtDeviceDisarmWakeFromSx() is not getting called during wakeup???

EvtDeviceDisarmWakeFromSx() is not getting called when the system wakesup from sleep.
What could be the reason? Is it not supposed to get called when the system moves from
?Dx to D0 state?
?
I have not registered any other callbacks with WdfDeviceInitSetPowerPolicyEventCallbacks?apart from
?EvtDeviceDisarmWakeFromSx().
?
Though ndistest run on miniport sitting above KMDF-Bus Driver passes all PowerManagement tests in
?NDISTEST 6.5.
?
Thanks,
-Praveen
?


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Hi,

No, I dont think it goes in “Sx state that you cannot wake from”. All
Powermanagement tests in ndistest6.5 are passing
peacefully.

Its an enumerated device by our Bus-driver. So I called
WdfDeviceAssignSxWakeSettings for BD that enumerates
the child-device. I register this callback for my child-device.

Will try registering EvtDeviceArmWakeFromSx . and see if it gets called.

Regds,
-Praveen

“Doron Holan” wrote in message
news:xxxxx@ntdev…
Perhaps you went into an Sx state that you cannot wake from. Is this on a
root enumerated device or a PCI device? Register for EvtDeviceArmWakeFromSx
as well and see if that is called. Did you call
WdfDeviceAssignSxWakeSettings to enable from sx?

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Monday, August 21, 2006 10:49 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] EvtDeviceDisarmWakeFromSx() is not getting called during
wakeup???

EvtDeviceDisarmWakeFromSx() is not getting called when the system wakesup
from sleep.
What could be the reason? Is it not supposed to get called when the system
moves from
Dx to D0 state?

I have not registered any other callbacks with
WdfDeviceInitSetPowerPolicyEventCallbacks apart from
EvtDeviceDisarmWakeFromSx().

Though ndistest run on miniport sitting above KMDF-Bus Driver passes all
PowerManagement tests in
NDISTEST 6.5.

Thanks,
-Praveen


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Just because the NDIS test passed does not mean that you didn’t go into
a power state from which you could not wake the machine.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Monday, August 21, 2006 12:36 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] EvtDeviceDisarmWakeFromSx() is not getting called
during wakeup???

Hi,

No, I dont think it goes in “Sx state that you cannot wake from”. All
Powermanagement tests in ndistest6.5 are passing
peacefully.

Its an enumerated device by our Bus-driver. So I called
WdfDeviceAssignSxWakeSettings for BD that enumerates
the child-device. I register this callback for my child-device.

Will try registering EvtDeviceArmWakeFromSx . and see if it gets called.

Regds,
-Praveen

“Doron Holan” wrote in message
news:xxxxx@ntdev…
Perhaps you went into an Sx state that you cannot wake from. Is this
on a
root enumerated device or a PCI device? Register for
EvtDeviceArmWakeFromSx
as well and see if that is called. Did you call
WdfDeviceAssignSxWakeSettings to enable from sx?

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Monday, August 21, 2006 10:49 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] EvtDeviceDisarmWakeFromSx() is not getting called
during
wakeup???

EvtDeviceDisarmWakeFromSx() is not getting called when the system
wakesup
from sleep.
What could be the reason? Is it not supposed to get called when the
system
moves from
Dx to D0 state?

I have not registered any other callbacks with
WdfDeviceInitSetPowerPolicyEventCallbacks apart from
EvtDeviceDisarmWakeFromSx().

Though ndistest run on miniport sitting above KMDF-Bus Driver passes all

PowerManagement tests in
NDISTEST 6.5.

Thanks,
-Praveen


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer