Hello all gurus!
Does any of you know how to force the PnP manager
to do a resource rebalancing on some driver stack?
I think that it can be very useful to trace every
code path in a driver. And this so rare that I have
never seen it yet. Thus my QUERY_STOP, CANCEL_STOP
and STOP with following START cases cannot be traced
effectively to uncover possible bugs.
Also what about System Power States S1 and S2?
My notebook is probably the best machine to debug
power management code I have ;-)), however it only
uses S3 for Standby and S4 for Hibernate.
So, how to force a machine to enter S1 or S2?
Thank you very much for suggestions.
Paul
Advanced PnP and Power IssuesMaybe IoInvalidateDeviceState/PNP_DEVICE_RESOURCE_REQUIREMENTS_CHANGED can help?
Max
----- Original Message -----
From: Pavel Hrdina
To: NT Developers Interest List
Sent: Thursday, April 18, 2002 7:23 PM
Subject: [ntdev] Advanced PnP and Power Issues
Hello all gurus!
Does any of you know how to force the PnP manager
to do a resource rebalancing on some driver stack?
I think that it can be very useful to trace every
code path in a driver. And this so rare that I have
never seen it yet. Thus my QUERY_STOP, CANCEL_STOP
and STOP with following START cases cannot be traced
effectively to uncover possible bugs.
Also what about System Power States S1 and S2?
My notebook is probably the best machine to debug
power management code I have ;-)), however it only
uses S3 for Standby and S4 for Hibernate.
So, how to force a machine to enter S1 or S2?
Thank you very much for suggestions.
Paul
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%
Advanced PnP and Power IssuesThere is a PnP test tool in the Windows XP DDK.
You can use this to send start/stops to the device.
Narayanan Ganapathy
Windows Base Group
Microsoft
“This posting is provided “AS IS” with no warranties, and confers no
rights.”
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
Maybe IoInvalidateDeviceState/PNP_DEVICE_RESOURCE_REQUIREMENTS_CHANGED can
help?
Max
----- Original Message -----
From: Pavel Hrdina
To: NT Developers Interest List
Sent: Thursday, April 18, 2002 7:23 PM
Subject: [ntdev] Advanced PnP and Power Issues
Hello all gurus!
Does any of you know how to force the PnP manager
to do a resource rebalancing on some driver stack?
I think that it can be very useful to trace every
code path in a driver. And this so rare that I have
never seen it yet. Thus my QUERY_STOP, CANCEL_STOP
and STOP with following START cases cannot be traced
effectively to uncover possible bugs.
Also what about System Power States S1 and S2?
My notebook is probably the best machine to debug
power management code I have ;-)), however it only
uses S3 for Standby and S4 for Hibernate.
So, how to force a machine to enter S1 or S2?
Thank you very much for suggestions.
Paul
—
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%