How to install the kdfiltr driver on USB keyboards by the INF file in DDK?

All,

The DDK sample kbdfiltr driver can’t be installed on a HID keyboard
device by the INF file supplied. In other words, the INF can’t install
an upper filter driver for an HID device. The key problem is INF can’t
enumerate the HID device list and find the device to insert the filter.
Is this true? Or anyone has a method? Thank you in advance!

Best Regards,

Raymond Zhang

AFAIK, you have 2 choices if you want an INF-only install: 1) install as
a KBDCLASS lower filter, or 2) use HID_DEVICE_SYSTEM_KEYBOARD as your
hardware id and install as a device upper filter.

Zhang, Raymond wrote:

All,

The DDK sample kbdfiltr driver can’t be installed on a HID keyboard
device by the INF file supplied. In other words, the INF can’t install
an upper filter driver for an HID device. The key problem is INF can’t
enumerate the HID device list and find the device to insert the filter.
Is this true? Or anyone has a method? Thank you in advance!

Best Regards,

Raymond Zhang


…/ray..

Please remove “.spamblock” from my email address if you need to contact
me outside the newsgroup.