Hello,
We installed the last version SMS
and upper keyboard class filter driver.
(example Ctrl2Cap.sys from Mark Russinovich.
"Systems Internals - http://www.sysinternals.com)
The filter driver works properly, but couple of things
are not clear for me.
The AddDevice of filter driver is called twice.
The first time after loading Ctrl2Cap.sys ,
and second time after loading I8042prt.sys(?).
Why AddDevice is called second time?
If kbstuff5.sys of SMS is not installed,
AddDevice is not called after I8042prt.sys.
Thanks in advice.
regards
Mark
IIRC, you have a class filter…you will get an AddDevice for every
keyboard on the machine. This includes SMS, ps2, HID, etc etc. To know
which stack you are in, break in during your AddDevice routine after you
called IoCreateDevice and run the following kd command
!devstack
The devnode path will indicate to you which stack you are currently in.
If all you want to do is filter the ps2 keyboard, install yourself as a
device upper filter, not class upper filter.
D
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Tuesday, November 25, 2003 8:34 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] SMS and upper keyboard class filter driver
Hello,
We installed the last version SMS
and upper keyboard class filter driver.
(example Ctrl2Cap.sys from Mark Russinovich.
"Systems Internals - http://www.sysinternals.com)
The filter driver works properly, but couple of things are not clear for
me.
The AddDevice of filter driver is called twice.
The first time after loading Ctrl2Cap.sys , and second time after
loading I8042prt.sys(?).
Why AddDevice is called second time?
If kbstuff5.sys of SMS is not installed, AddDevice is not called after
I8042prt.sys.
Thanks in advice.
regards
Mark
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thank very much Doron for your replay.
Now it’s clear for me.
Mark Shnaider,
Algorithmic Research Ltd.
10 Nevatim St. Kiryat matalon
Petach Tikva, Israel 49561
Tel. +972-3-9279543
Fax. +972-3-9230864
mailto:xxxxx@arx.com
http://www.arx.com
-----Original Message-----
From: Doron Holan [mailto:xxxxx@windows.microsoft.com]
Sent: Tuesday, November 25, 2003 8:20 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] RE: SMS and upper keyboard class filter driver
IIRC, you have a class filter…you will get an AddDevice for every
keyboard on the machine. This includes SMS, ps2, HID, etc etc. To know
which stack you are in, break in during your AddDevice routine after you
called IoCreateDevice and run the following kd command
!devstack
The devnode path will indicate to you which stack you are currently in.
If all you want to do is filter the ps2 keyboard, install yourself as a
device upper filter, not class upper filter.
D
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Shnaider
Sent: Tuesday, November 25, 2003 8:34 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] SMS and upper keyboard class filter driver
Hello,
We installed the last version SMS
and upper keyboard class filter driver.
(example Ctrl2Cap.sys from Mark Russinovich.
"Systems Internals - http://www.sysinternals.com)
The filter driver works properly, but couple of things are not clear for
me.
The AddDevice of filter driver is called twice.
The first time after loading Ctrl2Cap.sys , and second time after
loading I8042prt.sys(?).
Why AddDevice is called second time?
If kbstuff5.sys of SMS is not installed, AddDevice is not called after
I8042prt.sys.
Thanks in advice.
regards
Mark
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@arx.com
To unsubscribe send a blank email to xxxxx@lists.osr.com