From: kota on
Hi,

I am working on a WDF PCI device driver, driver supports
PNP functionality.

Problem: when driver uninstalled, i had to restart the system in xp-32 &
xp-64 before driver installing again, where as this is not required in
vista-32 bit pc.

Driver installation: I am currently using DIFX tools DpInst for installing &
uninstalling the driver.

I also verified that my driver unmaps the resources before uninstalling the
driver using MmUnmapIoSpace to unmap the PCI memory resources.

Device doesnt support power managment
capability, so driver also not supporting any power managment functionality,
instead it just registers the callback & wont do anything inside.


Since this problem is existing only in xp, do i have to take any extra care
to avoid system restart? and also, after uninstall system doesnt prompt for
restart also.


Thanks,
Prafulla
From: Maxim S. Shatskih on
Can the driver be disabled successfully?

Usually, Windows asks for reboot due to driver reinstall due to the old
driver being unable to stop.

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

"kota" <kota(a)discussions.microsoft.com> wrote in message
news:852EA349-9B56-4C63-A343-8D46973321FB(a)microsoft.com...
> Hi,
>
> I am working on a WDF PCI device driver, driver supports
> PNP functionality.
>
> Problem: when driver uninstalled, i had to restart the system in xp-32 &
> xp-64 before driver installing again, where as this is not required in
> vista-32 bit pc.
>
> Driver installation: I am currently using DIFX tools DpInst for installing &
> uninstalling the driver.
>
> I also verified that my driver unmaps the resources before uninstalling the
> driver using MmUnmapIoSpace to unmap the PCI memory resources.
>
> Device doesnt support power managment
> capability, so driver also not supporting any power managment functionality,
> instead it just registers the callback & wont do anything inside.
>
>
> Since this problem is existing only in xp, do i have to take any extra care
> to avoid system restart? and also, after uninstall system doesnt prompt for
> restart also.
>
>
> Thanks,
> Prafulla

From: chris.aseltine on
On May 3, 7:24 am, kota <k...(a)discussions.microsoft.com> wrote:

> Problem: when driver uninstalled, i had to restart the system in xp-32 &
> xp-64 before driver installing again, where as this is not required in
> vista-32 bit pc.

Does your driver pass PNPDTest? Specifically, the rebalance test?