KBFiltr

Hi,

I have a problem with the kbfiltr not loading and either Windows not loading or disabling the keyboard. It works fine if no other keyboard drivers are installed for example logitech, otherwise the keyboard is disabled.

Has anyone else come across these kinds of problems before?

Many thanks for any help.

You need to give more details and investigation. In the case your driver doesn’t load, is your reg value overwritten ? When the keyboard appears disabled, what does the stack of filters look like? Or is the stack !ed out?

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 12:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] KBFiltr

Hi,

I have a problem with the kbfiltr not loading and either Windows not loading or disabling the keyboard. It works fine if no other keyboard drivers are installed for example logitech, otherwise the keyboard is disabled.

Has anyone else come across these kinds of problems before?

Many thanks for any help.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

The registry value isn’t overwritten.

How do I find out what the stack of filters look like?

When the offending drivers are uninstalled kbfiltr works with complete success. From looking at the registry the logitech or SynTP drivers don’t insert themselves into the UpperFilters registry value but are adding themselves into the DEVICEMAP list in HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP.

If I add my driver above kbdclass, the problem disappears if I add it below, the problem - as described - is present. I was just wondering if someone else had any similiar problems?

If you can tell me how to find out what the stack of filters currently look like I will write back to you.


You need to give more details and investigation. In the case your driver doesn’t
load, is your reg value overwritten ? When the keyboard appears disabled, what
does the stack of filters look like? Or is the stack !ed out?

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 12:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] KBFiltr

Hi,

I have a problem with the kbfiltr not loading and either Windows not loading or
disabling the keyboard. It works fine if no other keyboard drivers are installed
for example logitech, otherwise the keyboard is disabled.

Has anyone else come across these kinds of problems before?

Many thanks for any help.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

!devstack

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 9:28 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KBFiltr

The registry value isn’t overwritten.

How do I find out what the stack of filters look like?

When the offending drivers are uninstalled kbfiltr works with complete success. From looking at the registry the logitech or SynTP drivers don’t insert themselves into the UpperFilters registry value but are adding themselves into the DEVICEMAP list in HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP.

If I add my driver above kbdclass, the problem disappears if I add it below, the problem - as described - is present. I was just wondering if someone else had any similiar problems?

If you can tell me how to find out what the stack of filters currently look like I will write back to you.



You need to give more details and investigation. In the case your driver doesn’t
load, is your reg value overwritten ? When the keyboard appears disabled, what
does the stack of filters look like? Or is the stack !ed out?

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 12:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] KBFiltr

Hi,

I have a problem with the kbfiltr not loading and either Windows not loading or
disabling the keyboard. It works fine if no other keyboard drivers are installed
for example logitech, otherwise the keyboard is disabled.

Has anyone else come across these kinds of problems before?

Many thanks for any help.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

I’m following one of your tutorials:

!drvobj \Driver\i8042prt

Driver Object not found.

Are you filtering a ps2 keyboard on the machine? Are symbols loaded for ntos? Is i8042prt showing up in the
loaded module list?

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 11:48 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KBFiltr

I’m following one of your tutorials:

!drvobj \Driver\i8042prt

Driver Object not found.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Do you have a full tutorial on WinDbg because I think I am going to have to do some reading over the weekend. I have mostly used it for post analysis but never with breakpoints before.

Yes I am filtering the PS2 port.

There’s a tutorial of sorts in the root of the windbg directory -
kernel_debugging_tutorial.doc.

There’s also the excellent book ‘Advanced Windows Debugging.’

Good luck,

Mm
On Apr 8, 2011 3:18 PM, wrote:
> Do you have a full tutorial on WinDbg because I think I am going to have
to do some reading over the weekend. I have mostly used it for post analysis
but never with breakpoints before.
>
> Yes I am filtering the PS2 port.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

wrote in message news:xxxxx@ntdev…
> Do you have a full tutorial on WinDbg because I think I am going to have
> to do some reading over the weekend.

The tutorilal is “kernel_debugging_tutorial.doc” in the Debugging Tools
folder.

– pa

The problem I seem to be facing is the computer which has errors I don’t have local access too and it causes the operating system to hang during boot. SynTP seems to be the problem and I cannot view the stack, I was mistaken when I wrote kbfiltr and meant moufiltr.

I have two options at this point I feel, create a full virtual device and have the mouse appear in the device manager as its own device (Can someone offer me some details on this and I can read more deeply into it this afternoon) or has someone heard of this error before? If not I can only think it is because I missed something important while installing the filter driver.

I have more information.

I cannot give a devstack after my mouse driver has been loaded because this causes the computer not to successfully boot, however on other computers there is no failure during load, this includes the WDK mouse sample.

The devstack below is the details before the driver is installed. I do not know if you can notice anything or if you want me to give more information, I cannot have complete local access but remote is ok. The filter should sit between: mouclass and SynTP.

lkd> !drvobj mouclass
Driver object (85946660) is for:
\Driver\mouclass
Driver Extension List: (id , addr)

Device Object list:
85b95690 859ad580 8596ae38
lkd> !devstack 85b95690
!DevObj !DrvObj !DevExt ObjectName

85b95690 \Driver\mouclass 85b95748 PointerClass2
85b95c68 \Driver\mouhid 85b95d20
85b96468 \Driver\HidUsb 85b96520 00000070
!DevNode 85b94770 :
DeviceInst is “HID\VID_046D&PID_C50E\6&38999949&0&0000”
ServiceName is “mouhid”
lkd> !devstack 859ad580
!DevObj !DrvObj !DevExt ObjectName
859ad580 \Driver\mouclass 859ad638 PointerClass1
8598a8b0 \Driver\TermDD 8598a968
848d6400 \Driver\PnpManager 848d64b8 00000047
!DevNode 848d6248 :
DeviceInst is “Root\RDP_MOU\0000”
ServiceName is “TermDD”
lkd> !devstack 859ae38
!DevObj !DrvObj !DevExt ObjectName
Invalid type for DeviceObject 0x0859ae38
lkd> !devstack 8596ae38
!DevObj !DrvObj !DevExt ObjectName
8596ae38 \Driver\mouclass 8596aef0 PointerClass0
85944608 \Driver\SynTP 85944ff8
85944020 \Driver\i8042prt 859440d8
855f5678 \Driver\ACPI 84866290 00000063
!DevNode 855f6388 :
DeviceInst is “ACPI\SYN101F\4&21b56364&0”
ServiceName is “i8042prt”


!devstack

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 9:28 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KBFiltr

The registry value isn’t overwritten.

How do I find out what the stack of filters look like?

When the offending drivers are uninstalled kbfiltr works with complete success.
From looking at the registry the logitech or SynTP drivers don’t insert
themselves into the UpperFilters registry value but are adding themselves into
the DEVICEMAP list in HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP.

If I add my driver above kbdclass, the problem disappears if I add it below, the
problem - as described - is present. I was just wondering if someone else had
any similiar problems?

If you can tell me how to find out what the stack of filters currently look like
I will write back to you.



You need to give more details and investigation. In the case your driver doesn’t
load, is your reg value overwritten ? When the keyboard appears disabled, what
does the stack of filters look like? Or is the stack !ed out?

d

debt from my phone

-----Original Message-----
From: xxxxx@hotmail.com
Sent: Friday, April 08, 2011 12:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] KBFiltr

Hi,

I have a problem with the kbfiltr not loading and either Windows not loading or
disabling the keyboard. It works fine if no other keyboard drivers are installed
for example logitech, otherwise the keyboard is disabled.

Has anyone else come across these kinds of problems before?

Many thanks for any help.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

SynTP inserts itself inbetween mouclass and i8042prt without using the UpperFilter registry parameter.

Can I ask how this is possible and I might be able to replicate that? Also which PointerClass does moufiltr monitor.

I am sorry for all these questions from a beginner I have been fast learning a lot.

8596ae38 \Driver\mouclass 8596aef0 PointerClass0
85944608 \Driver\SynTP 85944ff8
85944020 \Driver\i8042prt 859440d8

Syntp does some nasty not documented stuff IIRC to wedge itself into the mouse stack.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Thursday, April 14, 2011 9:54 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KBFiltr

SynTP inserts itself inbetween mouclass and i8042prt without using the UpperFilter registry parameter.

Can I ask how this is possible and I might be able to replicate that? Also which PointerClass does moufiltr monitor.

I am sorry for all these questions from a beginner I have been fast learning a lot.

8596ae38 \Driver\mouclass 8596aef0 PointerClass0
85944608 \Driver\SynTP 85944ff8
85944020 \Driver\i8042prt 859440d8


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

Could this be the reason why when moufiltr - the unedited WDK sample - is installed Windows does not boot. (Unloaded Windows loads fine.)

Could be. Don’t know the details. You could ask synaptics support

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Thursday, April 14, 2011 10:03 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] KBFiltr

Could this be the reason why when moufiltr - the unedited WDK sample - is installed Windows does not boot. (Unloaded Windows loads fine.)


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

OK I will try to keep this post updated with any information I receive from them to help anyone else in this situation if that is ok.

Do you by interest know what or where it might insert itself into the registry so I may temporily disable it - add it manually into the UpperFilter registery setting - to install it correctly to see if that gives improvements.