We have a usb-ir NDIS driver that requires the IRMON service, so in the INF
file we have the AddReg lines
HKR, Ndi\Interfaces, UpperRange, 0, “ndisirda”
HKR, Ndi\Interfaces, LowerRange, 0, “nolower”
HKR, Ndi, RequiredAll, 0, “MS_IrDA”
This gets the service started fine except in the case where you uninstall,
then re-install without a reboot. In this case you have to go to the Device
Manager properties for the device, hit “uninstall”, then hit “rescan for pnp
devices”. That will get ms_irda and irmon going again. The SetupAPI log for
the failing case shows that the class installer does not even try to install
ms_irda. In the normal case (reboot after uninstall, then re-install), the
SetupAPI log clearly shows the class installer seeing ms_irda as a
dependency and installing it.
Any ideas, anyone? Thanks.