help installing filter driver

Hey all,

When I try to install the src/input/moufiltr filter driver example from the DDK, I get the following error after registering it as a service and running ‘net start moufiltr’:

System error 1058 has occurred.

The service cannot be started, either because it is disabled or because it has no enabled devices as sociated with it.

The device manager says that my PS/2 mouse driver is working properly, and I haven’t modified the sample at all. Any ideas what’s going on and how I can fix it? Thanks!

~Dave

Instructions for installing the mouse filter are in the “moufiltr.htm”
file in the same directory as the source code.

Don’t use the OSR loader - so first unregister the driver via the OSR
loader.

  1. Open the Device Manager.
  2. Open the Properties of the PS/2 mouse installed on the system.
  3. Click the Driver tab, and then click Update Driver.
  4. Follow the wizard’s prompts, and when prompted, select the Display a
    list of the known drivers option. Then click Next.
  5. Click Have Disk and then point to the location of the .inf file.
  6. Proceed through the rest of the install. You will need to reboot the
    machine if you are filtering a PS/2 device.

The driver will start after you reboot.

cheers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Friday, 1 September 2006 9:02 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] help installing filter driver

Hey all,

When I try to install the src/input/moufiltr filter driver example from
the DDK, I get the following error after registering it as a service and
running ‘net start moufiltr’:

System error 1058 has occurred.

The service cannot be started, either because it is disabled or because
it has no enabled devices as sociated with it.

The device manager says that my PS/2 mouse driver is working properly,
and I haven’t modified the sample at all. Any ideas what’s going on and
how I can fix it? Thanks!

~Dave


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

To clarify, you cannot net start/stop a pnp driver from the cmd line.
You must use the pnp config apis (or GUI) to manage the drivers
associated with a device to get a pnp driver to load

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Michael Wookey
Sent: Thursday, August 31, 2006 4:23 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] help installing filter driver

Instructions for installing the mouse filter are in the “moufiltr.htm”
file in the same directory as the source code.

Don’t use the OSR loader - so first unregister the driver via the OSR
loader.

  1. Open the Device Manager.
  2. Open the Properties of the PS/2 mouse installed on the system.
  3. Click the Driver tab, and then click Update Driver.
  4. Follow the wizard’s prompts, and when prompted, select the Display a
    list of the known drivers option. Then click Next.
  5. Click Have Disk and then point to the location of the .inf file.
  6. Proceed through the rest of the install. You will need to reboot the
    machine if you are filtering a PS/2 device.

The driver will start after you reboot.

cheers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Friday, 1 September 2006 9:02 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] help installing filter driver

Hey all,

When I try to install the src/input/moufiltr filter driver example from
the DDK, I get the following error after registering it as a service and
running ‘net start moufiltr’:

System error 1058 has occurred.

The service cannot be started, either because it is disabled or because
it has no enabled devices as sociated with it.

The device manager says that my PS/2 mouse driver is working properly,
and I haven’t modified the sample at all. Any ideas what’s going on and
how I can fix it? Thanks!

~Dave


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

So I’ve tried doing this, and the Wizard gives me an error of:

An error occurred during the installation of the device. A service installation section in this INF is invalid.

I haven’t touched the moufiltr.inf file in the DDK. Running ‘chkinf moufiltr.inf /B’ gives me 1 error:

(E22.1.1081) Directive: CatalogFile required (and must not be blank) in section [Version] for WHQL digital signature.

I’ve tried adding the supplied, invalid CatalogFile shipped with moufiltr by uncommenting the line associated line in the .inf file:

; Uncomment the following line when you have a valid catalog file.
; If you use bogus catalog file installation will fail.
;CatalogFile=moufiltr.cat

After doing this, chkinf returns no errors, but I get the same errors from the update driver wizard. Any ideas? Thanks again!

~Dave

Just for you, http://blogs.msdn.com/doronh/archive/2006/08/31/734412.aspx

d

This is great. I’ll give this a try. Thanks Doron :slight_smile:

~Dave