阅读:1610回复:3
用drivermonitor调试驱动问题?
用drivermonitor调试驱动,可是加载时出现如下问题:
ERROR(1058):The driver is marked as disabled(start=4) in itsservice database entry |
|
最新喜欢:a_1984
|
沙发#
发布于:2005-03-14 13:03
用drivermonitor调试驱动,可是加载时出现如下问题: 估计是你的inf文件没有写对 |
|
|
板凳#
发布于:2005-03-14 14:15
[quote]用drivermonitor调试驱动,可是加载时出现如下问题: 估计是你的inf文件没有写对 [/quote] INF文件的service一节的 Starttype一般的设为3就可以了。。。 看样子你的好像设成4了,禁止了驱动的加载。。。 |
|
|
地板#
发布于:2005-03-14 15:13
DDK中相关全文帖出
StartType=start-code Specifies when to start the driver as one of the following numerical values, expressed either in decimal or, as shown here, in hexadecimal notation. 0x0 (SERVICE_BOOT_START) Indicates a driver started by the operating system loader. This value must be used for drivers of devices required for loading the operating system. 0x1 (SERVICE_SYSTEM_START) Indicates a driver started during OS initialization. This value should be used by PnP drivers that do device detection during initialization but are not required to load the system. For example, a PnP driver that also can detect a legacy device should specify this value in its INF so that its DriverEntry routine will be called to find the legacy device, even if that device cannot be enumerated by the PnP Manager. 0x2 (SERVICE_AUTO_START) Indicates a driver started by the Service Control Manager during system startup. This value should never be used in the INF files for WDM or PnP device drivers. 0x3 (SERVICE_DEMAND_START) Indicates a driver started on demand, either by the PnP Manager when the corresponding device is enumerated or possibly by the Service Control Manager in response to an explicit user demand for a nonPnP device. This value should be used in the INF files for all WDM drivers of devices that are not required to load the system and for all PnP device drivers that are neither required to load the system nor engaged in device detection. 0x4 (SERVICE_DISABLED) Indicates a driver that cannot be started. This value can be used to temporarily disable the driver services for a device, but a device/driver cannot be installed if this value is specified in the service-install section of its INF file. For additional information about StartType, see Specifying Driver Load Order. |
|
|