Loading of a PNP Sample Driver - DDK

Dear All,
Please note that when I am loading a PNP Sample Driver, I see a message in
the driver monitor " ERROR (1058): The driver is marked as disabled (Start
=4) in its service database entry". Can anyone give some suggestions.

Thanks in advance
regards,
shivas


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Look in the CurrentControlSet->Services key of the registry and the then the
values for you driver. The Start Value is set to 4, or disabled. Change it
to what you need and check the INF file that was used to install the driver.
It probably has Start set to 4 also.

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net

-----Original Message-----
From: Shiva Shankar [mailto:xxxxx@Satyam.com]
Sent: Thursday, January 24, 2002 4:25 PM
To: NT Developers Interest List
Subject: [ntdev] Loading of a PNP Sample Driver - DDK

Dear All,
Please note that when I am loading a PNP Sample Driver, I see a message in
the driver monitor " ERROR (1058): The driver is marked as disabled (Start
=4) in its service database entry". Can anyone give some suggestions.

Thanks in advance
regards,
shivas


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Gary,
Even I guessed it that way and checked it out.The start value is 3.I
am running into this trouble on running every PNP driver i.e., any driver
which has AddDevice call registered from DDK samples.What I did was straight
away built the sys file for HIDGame from DDK samples and tried to load the
driver from driver monitor.I am sure I am making some mistake…I feel PNP
filter drivers don’t run just like that.Kindly let me know In detail the
procedure for running PNP drivers.Does the Driver atleast load even if there
is no device attached ?

Thanks in Advance,
Best Regards,
sai


From: Gary Little[SMTP:xxxxx@Broadstor.com]
Reply To: NT Developers Interest List
Sent: Friday, January 25, 2002 9:21 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Loading of a PNP Sample Driver - DDK

Look in the CurrentControlSet->Services key of the registry and the then
the
values for you driver. The Start Value is set to 4, or disabled. Change it
to what you need and check the INF file that was used to install the
driver.
It probably has Start set to 4 also.

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net

-----Original Message-----
From: Shiva Shankar [mailto:xxxxx@Satyam.com]
Sent: Thursday, January 24, 2002 4:25 PM
To: NT Developers Interest List
Subject: [ntdev] Loading of a PNP Sample Driver - DDK

Dear All,
Please note that when I am loading a PNP Sample Driver, I see a message in
the driver monitor " ERROR (1058): The driver is marked as disabled (Start
=4) in its service database entry". Can anyone give some suggestions.

Thanks in advance
regards,
shivas


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@satyam.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

REagrding your problem:

I understand that OS used ie either Win2k or
Win9x as your description mention PnP compoenent.

There are two ways to fix this problem either change
that key - ‘StartType’ in Registry or change default
value for the ‘StartType’ to 3 from 4. The value 4
stands for “PnP device (or any device driver)
disbaled”. Hence you are getting this warning.

Fix .

  1. Open your installation script and change
    StartType’s default value to 3 meaning start the
    driver on deamnd or 2 meaning automatic. 3 is always
    safe.
  2. This option is bit tricky as you need to find the
    key in registry for your device. The key is based on
    your device type and Class guid. To answer this I need
    the device type.

To use option uninstall the driver, make the chane
into installation script and install the driver with
modified script. Then your driver should load.

Hope this helps.


Girish H.

— Lyris ListManager
wrote:
> Re: your command request
> > get ntdev 22811
>
> Here is the text of Message 22811:
>
> Date: Fri, 25 Jan 2002 0:24:45
> From: “Shiva Shankar”
> Subject: Loading of a PNP Sample Driver - DDK
>
> Dear All,
> Please note that when I am loading a PNP Sample
> Driver, I see a message in
> the driver monitor " ERROR (1058): The driver is
> marked as disabled (Start
> =4) in its service database entry". Can anyone give
> some suggestions.
>
> Thanks in advance
> regards,
> shivas
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Girish,
Thanks for your reply.Actually I am trying to load the HidGame
sample driver that comes with DDK installation…I have also checked the
registry…it 3…The class to which the driver belongs is HIDClass and
the class GUID is 745a17a0-74d3-11d0-b6fe-00a0c90f57da…HIDGame is
basically a hid mini driver…I just want to take a look at HIDGame and
then develop my own HIDMini Driver which will layer itself over a filter
driver which we are going to develop…the filter driver will be an upper
filter driver for serial driver…

Thanks in Advance,
Best Regards,
Sai


From: xxxxx@att.net[SMTP:xxxxx@att.net]
Reply To: NT Developers Interest List
Sent: Saturday, January 26, 2002 10:55 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Loading of a PNP Sample Driver - DDK

REagrding your problem:

I understand that OS used ie either Win2k or
Win9x as your description mention PnP compoenent.

There are two ways to fix this problem either change
that key - ‘StartType’ in Registry or change default
value for the ‘StartType’ to 3 from 4. The value 4
stands for “PnP device (or any device driver)
disbaled”. Hence you are getting this warning.

Fix .

  1. Open your installation script and change
    StartType’s default value to 3 meaning start the
    driver on deamnd or 2 meaning automatic. 3 is always
    safe.
  2. This option is bit tricky as you need to find the
    key in registry for your device. The key is based on
    your device type and Class guid. To answer this I need
    the device type.

To use option uninstall the driver, make the chane
into installation script and install the driver with
modified script. Then your driver should load.

Hope this helps.


Girish H.

— Lyris ListManager
> wrote:
> > Re: your command request
> > > get ntdev 22811
> >
> > Here is the text of Message 22811:
> >
> > Date: Fri, 25 Jan 2002 0:24:45
> > From: “Shiva Shankar”
> > Subject: Loading of a PNP Sample Driver - DDK
> >
> > Dear All,
> > Please note that when I am loading a PNP Sample
> > Driver, I see a message in
> > the driver monitor " ERROR (1058): The driver is
> > marked as disabled (Start
> > =4) in its service database entry". Can anyone give
> > some suggestions.
> >
> > Thanks in advance
> > regards,
> > shivas
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@satyam.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>

This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.



You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com