Installing an upper filter on PS/2 mouse

Hi All,

There is a ELAN touch pad driver loaded on my laptop’s touch pad device. Now I would like to install a mouse filter driver on that driver stack. Calling the SetupAPI and appending my filter driver name to the UpperFilters of the device registry property. The filter driver is from the WDK mouse filter sample without modification. However, after reboot, the device manager shows a yellow exclamation mark before the touch pad device. The error is as below:

Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. (Code 19)

I’ve put the driver binary into the C:\Windows\System32\Drivers. Is that due to the system finds that I modified the registry? If so, how can I install such a driver. My system is Win10 X64.

Thanks,
Marshall

>I’ve put the driver binary into the C:\Windows\System32\Drivers.

Did you run the AddService section of the INF file ? This section might be labeled differently, look at the INF file.

Typically your installation app should do the following:

  1. Open the INF file.
  2. Run the CopyFile section.
  3. Run the AddService section.
  4. Append the service’s name to the UpperFilters multi-sz registry value of the device’s registry configuration.

Than, look at the SetupAPI.app.log file (C:\WINDOWS\INF).

This is explained here:

https://msdn.microsoft.com/en-us/windows/hardware/drivers/install/installing-a-filter-driver

https://msdn.microsoft.com/en-us/windows/hardware/drivers/install/setupapi-logging--windows-vista-and-later-