Hi Everyone,
I’m writing a miniport driver with WDM Lower-edge for network card for
Windows 2K and XP, all of its functionalities are working quite perfectly
but when PC is going in to Stand-by state with device attached and during
stand-by state, if we un-plug the device and comes out-of stand-by,
sometimes on some of the PCs, driver is not getting unloaded, this behaviour
we are getting only on some systems and not on all systems also very rarely.
We are cancelling/completing all the requests and OIDs and we have checked
there is no request pending with NDIS or USB. We tried to debug the problem
and found some prints from PSCHED,
“PSCHED: Requery FRAME_SIZE #1
PSCHED: Requery FRAME_SIZE #2
PSCHED: Requery FRAME_SIZE #3”
Whenever we are getting these prints, problem is occuring normally at that
time, and we are getting first print “PSCHED: Requery FRAME_SIZE #1” just
before PNP_SET_POWER and when going in to stand-by.
** We are using NDIS 5.0 architecture so are not implementing PnPEventNotify
handler and problem is occuring on XP only.
I wanted to know what I may be missing to handle such type of behaviour.
Thanks and Regards
Anuj Agarwal