Tech Support > Microsoft Windows > Drivers > Question about plug and play drivers
Question about plug and play drivers
Posted by Peter on March 17th, 2005


Hi,
When I install for example
NDIS intermediate driver for debugging purposes, when I need exchange it
for new build, uninstalling and installing again is not sufficient. I must
uninstall it, restart machine, and install driver again.
It seems that once driver is loaded it remains in memory (or some resources
reamins) and unloading needs restart.

I think that this behaviour is related to plug-and-play feature in W2K and up,
but W2K are plug-and-play (or not absolutely ? ) ?
Can be driver 100% unloaded without restarting machine ?

Thanks,
Peter

Posted by Calvin Guan on March 17th, 2005


You should be able to unload an NDIS IM driver without restarting.
The driver won't unload until ALL instances of your device have been
removed.

--
Calvin Guan Software Engineer/Radeon NT Drivers
ATI Technologies Inc. Markham ON, Canada www.ati.com


"Peter" <Peter@discussions.microsoft.com> wrote in message
news:0ABBF705-4FDA-4305-9E0A-115CE0F4096E@microsoft.com...


Posted by Pavel A. on March 17th, 2005


Yes, this is very annoying. So try to make your driver unloadable first of all.
Also some people use Virtual PC to debug such things.

--PA

"Peter" wrote:

Posted by Peter on March 17th, 2005


Thanks,
your advice inspired me to check something other,
problem was that driver had some uninitialized resources.
Now it is 100% plug and play.
:-)

P.

"Calvin Guan" wrote:

Posted by Maxim S. Shatskih on March 18th, 2005


Yes. Disable all its devices in Device Manager and note WinDbg making a trace
on module unload.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com




Similar Posts