RE: starting/stopping PCI drivers

xxxxx@Exchange.Microsoft.com said:

It appears that you just want to be able to load a new version of your
driver.? If this is true, then you should be able to simply right
click on your device in device manager and select disable.

I’m trying to get win2k to call simple stubs with DbgPrints in them.
It’s calling DriverEntry and AddDevice, but not the PnP major function
or the unload function.

At this point I would be happy to get rid of all mention of the .sys file
so that I can try again afresh. However, removing the .sys and .ini files and
rebooting doesn’t have any effect. When I try to disable the device after
this reboot, however, the the device manager pops up and asks me to reboot
*again*. (It was disabled before I rebooted, but became enabled when it
booted.) After this second reboot, the device is still there but disabled.

I uninstall the device from the control panel Add/Remove Hardware app
and it removes the ``?‘’ icon for the board from the Device Manager,
but the device driver is still listed in the “software environment/drivers”
folder.

Grrr!

I suppose at this point I can install the next attempt, but God only knows
(maybe) what the bloody O/S is thinking right now.

Is all this nonsense documented somewhere? I have a perfectly happy NT
driver, but I’m trying to play nice with this PnP s[tuff]. If it (my driver)
were doing PnP stuff properly, I wouldn’t be trying to re-install these
different versions all the time.


Steve Williams “The woods are lovely, dark and deep.
xxxxx@icarus.com But I have promises to keep,
xxxxx@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep.”

(I’ve done SunOS drivers, I’ve done Solaris drivers, I’ve done VM/CMS drivers
and drivers for Linux and xBSD. I’ve also done piles of NT drivers and
loads of drivers for embedded processors. So why am I feeling so defeated
and helpless?)