USB HID Lower Filter Driver issue under VISTA



Hi,

I have a problem under MS VISTA with a USB HID filter driver (I developped)
attached as low filter on the USB common class generic parent driver
(usbccgp.sys) for a USB keyboard device with extra keys.

The goal of my filter driver is to change the behaviour or inibit some extra
keys of the keyboard. The principle of the filter is the following: it
change the HID codes output for the requested keys using a remapping table
set in the registry (bytes of code to replace/ bytes of replacing code) and
comparing incoming codes and replacing if codes are matching the ones for
the keys. Inside the filter driver, the codes are catched thru
IRP_MJ_INTERNAL_DEVICE_CONTROL IRP, then IOCTL_INTERNAL_USB_SUBMIT_URB
control code, then URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER function.

This filter driver works fine under Windows XP all version.

But, now, under vista the filter is installing and running (i can see this
thru debug outputs), but it doesn't filter anything: it doesn't catch
anymore the function URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER even if i can
see this URB with a sniffer (WDMSniffer).

I am not a specialist in driver development and i don't understand what
could have changed under Windows Vista comparing to Windows XP ?

Does somebody has an idea?

Thanks
Christian


.



Relevant Pages

  • Re: conversion from scan code to ascii
    ... your filter driver should send the raw scan codes (remember to ... preferably for european keyboards. ... >> possible for all keyboard so i can make my usermode program that way ... > Stay with scancodes in the filter driver. ...
    (microsoft.public.development.device.drivers)
  • Re: Signature Pad(HID) and RDP
    ... I am a little confused as to what you are saying works on XP but not on vista and later ... You can turn off session security checking by adding the ... >> I'm not sure I understood the filter driver suggestion. ... these read requests are from a RDP session. ...
    (microsoft.public.development.device.drivers)
  • Re: how to modify serial number of usb device by usb filter driver
    ... you are proposing to write a bus filter driver. ... Please do not send e-mail directly to this alias. ... I have two usb device with the same pid/vid and serial number. ... I try it by an usb class filter driver to capture the ...
    (microsoft.public.development.device.drivers)
  • A lower filter driver for a USB function driver in KMDF.
    ... I have a lower filter driver for a USB function driver written in WDM. ... In attempting to rewrite this driver in WDF, I ran into issues right away. ... M Navab ...
    (microsoft.public.development.device.drivers)
  • Re: Getting the device information for modification
    ... I already have a base filter driver that I have installed on top of the ... our printer USB chips. ... The problem today is that we use an USB chip that doesn't report Class_07 ... > device relations / BusRelations is where the PDO list is reported. ...
    (microsoft.public.win32.programmer.kernel)

Loading