Prev: FW: Replacement forums
Next: Replacement forums
From: unclepauly on 19 May 2010 08:11 hello, i have successfuly installed both the kbfiltr and the moufiltr on our test pc (which is xp). i have installed them both as class-level upper filters. for the keyboard, i have tried ps/2 and usb and they both seem to be working fine. for the mouse i have only tried usb but i am assuming(!) ps/2 will work too. the way i installed both the filter drivers was a simple two-step process. 1) i went into the registry and modified the HKLM/SYSTEM/CurrentControlSet/Class/{4Dxxxxx} key, and set the UpperFilters to "kbfiltr kdbclass". same for mouse. 2) i created a new reg key at HKLM/SYSTEM/CurrentControlSet/Services and called it kbfiltr. i created the values as below: Type (dword) : 00000001 Start (dword) : 00000003 ErrorControl (dword) : 00000000 Tag (dword) : 00000006 ImagePath (reg_expand_sz) : system/drivers/kbfiltr.sys DisplayName (reg_sz) : Keyboard Filter Example Group (reg_sz) : Keyboard Port same for mouse, except group is Pointer Port. after doing a reboot.....everything is fine ! i can see the ServiceCallback being hit for both mouse and keyboard in dbgview. so my questions are...is that really all there is to it ?? this works on my test machine but will be there be any scenarios where doing the above will not be enough, ie any further steps required ? and secondly, if the above really is all there is to it, are there any links on how to do this programatically ? thank you once again.
From: Doron Holan [MSFT] on 21 May 2010 12:27 that is all you need to do. also, use different service names than the ones that are shipped in the sample so that you do not collide with someone else's filter d "unclepauly" wrote in message news:CDD99B73-A670-45E0-9867-E210E652B1C3(a)microsoft.com... hello, i have successfuly installed both the kbfiltr and the moufiltr on our test pc (which is xp). i have installed them both as class-level upper filters. for the keyboard, i have tried ps/2 and usb and they both seem to be working fine. for the mouse i have only tried usb but i am assuming(!) ps/2 will work too. the way i installed both the filter drivers was a simple two-step process. 1) i went into the registry and modified the HKLM/SYSTEM/CurrentControlSet/Class/{4Dxxxxx} key, and set the UpperFilters to "kbfiltr kdbclass". same for mouse. 2) i created a new reg key at HKLM/SYSTEM/CurrentControlSet/Services and called it kbfiltr. i created the values as below: Type (dword) : 00000001 Start (dword) : 00000003 ErrorControl (dword) : 00000000 Tag (dword) : 00000006 ImagePath (reg_expand_sz) : system/drivers/kbfiltr.sys DisplayName (reg_sz) : Keyboard Filter Example Group (reg_sz) : Keyboard Port same for mouse, except group is Pointer Port. after doing a reboot.....everything is fine ! i can see the ServiceCallback being hit for both mouse and keyboard in dbgview. so my questions are...is that really all there is to it ?? this works on my test machine but will be there be any scenarios where doing the above will not be enough, ie any further steps required ? and secondly, if the above really is all there is to it, are there any links on how to do this programatically ? thank you once again.
From: unclepauly on 24 May 2010 05:57 thank you i will change the service name. with regards to making an installer, is the easiest method to write the service to the registry, to make a reg file and install it that way, if its always going to be the same (accross xp, vista etc) ? then to prepend the service i could just 'assume' the UpperFilters is always going to be mouclass/kbclass and use the registry api's to prepend my service name. although this could overwrite an existing filter should one already exist. i am sure there is a more elegant solution though ?
|
Pages: 1 Prev: FW: Replacement forums Next: Replacement forums |