Hi,
I would like to create a class keyboard filter which I
can remove input from time to time. I was using
ctr2cap sample and set makecode to 0xFE to remove
input. It seems having some problems if user press a
lot of keys at the same time. I am thinking to use
Kbfiltr as a sample to do the same thing. I also need
communicate user mode application with the filter
driver. The read me file in Kbfiltr.htm is saying this
is for a particular keyboard. If I can’t use this one,
any suggestion on how to do it. The ctr2cap sample is
good one, but it is not easy to remove input.
Thanks,
Joshua
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
You can install kbfiltr as a class filter. I would get rid of all the
ps2 specific IOCTLs and routines though. To get rid of a packet, all
you have to do is not call the upper service callback for that
particular KEYBOARD_INPUT_DATA
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joshua Chen
Sent: Friday, June 09, 2006 4:10 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Can I install Kbfiltr from DDK as class filter?
Hi,
I would like to create a class keyboard filter which I
can remove input from time to time. I was using
ctr2cap sample and set makecode to 0xFE to remove
input. It seems having some problems if user press a
lot of keys at the same time. I am thinking to use
Kbfiltr as a sample to do the same thing. I also need
communicate user mode application with the filter
driver. The read me file in Kbfiltr.htm is saying this
is for a particular keyboard. If I can’t use this one,
any suggestion on how to do it. The ctr2cap sample is
good one, but it is not easy to remove input.
Thanks,
Joshua
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Hi Doron,
Thanks for your message. I modified the Kbfiltr sample
(get rid of all theps2 specific IOCTLs and routines,
added code in ServiceCallback. Created a device object
to communicate with user mode, etc). I installed it
manually as one of UpperFilters. The registry entries
for the filter itself are: Start = 3, Type = 1.
After I reboot the machine, it seems that KbFiltr
doesn’t get even loaded. I was even able to delete the
.sys file from the drivers folder (means that it is
not being used).
When I was using a keybaord filter based on the
Ctrl2Cap sample, the filter was loaded properly. The
installation for both filters are exactly same.
Am I doing something wrong?
Thanks,
Joshua
— Doron Holan wrote:
> You can install kbfiltr as a class filter. I would
> get rid of all the
> ps2 specific IOCTLs and routines though. To get rid
> of a packet, all
> you have to do is not call the upper service
> callback for that
> particular KEYBOARD_INPUT_DATA
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Friday, June 09, 2006 4:10 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Can I install Kbfiltr from DDK as
> class filter?
>
> Hi,
> I would like to create a class keyboard filter which
> I
> can remove input from time to time. I was using
> ctr2cap sample and set makecode to 0xFE to remove
> input. It seems having some problems if user press a
> lot of keys at the same time. I am thinking to use
> Kbfiltr as a sample to do the same thing. I also
> need
> communicate user mode application with the filter
> driver. The read me file in Kbfiltr.htm is saying
> this
> is for a particular keyboard. If I can’t use this
> one,
> any suggestion on how to do it. The ctr2cap sample
> is
> good one, but it is not easy to remove input.
> Thanks,
> Joshua
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Did you add it as a class upper filter or device upper filter? Also,
you can delete, copy over, or move a driver which is running, so being
able to delete it is not an indication of the loaded state.
D
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joshua Chen
Sent: Monday, June 12, 2006 1:46 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Can I install Kbfiltr from DDK as class filter?
Hi Doron,
Thanks for your message. I modified the Kbfiltr sample
(get rid of all theps2 specific IOCTLs and routines,
added code in ServiceCallback. Created a device object
to communicate with user mode, etc). I installed it
manually as one of UpperFilters. The registry entries
for the filter itself are: Start = 3, Type = 1.
After I reboot the machine, it seems that KbFiltr
doesn’t get even loaded. I was even able to delete the
.sys file from the drivers folder (means that it is
not being used).
When I was using a keybaord filter based on the
Ctrl2Cap sample, the filter was loaded properly. The
installation for both filters are exactly same.
Am I doing something wrong?
Thanks,
Joshua
— Doron Holan wrote:
> You can install kbfiltr as a class filter. I would
> get rid of all the
> ps2 specific IOCTLs and routines though. To get rid
> of a packet, all
> you have to do is not call the upper service
> callback for that
> particular KEYBOARD_INPUT_DATA
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Friday, June 09, 2006 4:10 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Can I install Kbfiltr from DDK as
> class filter?
>
> Hi,
> I would like to create a class keyboard filter which
> I
> can remove input from time to time. I was using
> ctr2cap sample and set makecode to 0xFE to remove
> input. It seems having some problems if user press a
> lot of keys at the same time. I am thinking to use
> Kbfiltr as a sample to do the same thing. I also
> need
> communicate user mode application with the filter
> driver. The read me file in Kbfiltr.htm is saying
> this
> is for a particular keyboard. If I can’t use this
> one,
> any suggestion on how to do it. The ctr2cap sample
> is
> good one, but it is not easy to remove input.
> Thanks,
> Joshua
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
> for the filter itself are: Start = 3
This is DEMAND_START, you have to “sc start myservice”
or “net start myservice” (or equivalents).
After I reboot the machine, it seems that KbFiltr
doesn’t get even loaded.
It will be loaded when you start it (see above)
I was even able to delete the
.sys file from the drivers folder (means that it is
not being used).
This is always the case, driver bins are not mapped
as user-mode exes or dlls. All filemons, regmons etc.
use this technique: extract my.sys from a resource into
a file; load/start the driver; delete the file.
There was an interesting discussion of this topic on this list recently.
----- Original Message -----
From: “Joshua Chen”
To: “Windows System Software Devs Interest List”
Sent: Monday, June 12, 2006 4:46 PM
Subject: RE: [ntdev] Can I install Kbfiltr from DDK as class filter?
> Hi Doron,
> Thanks for your message. I modified the Kbfiltr sample
> (get rid of all theps2 specific IOCTLs and routines,
> added code in ServiceCallback. Created a device object
> to communicate with user mode, etc). I installed it
> manually as one of UpperFilters. The registry entries
> for the filter itself are: Start = 3, Type = 1.
> After I reboot the machine, it seems that KbFiltr
> doesn’t get even loaded. I was even able to delete the
> .sys file from the drivers folder (means that it is
> not being used).
> When I was using a keybaord filter based on the
> Ctrl2Cap sample, the filter was loaded properly. The
> installation for both filters are exactly same.
> Am I doing something wrong?
> Thanks,
> Joshua
>
> — Doron Holan wrote:
>
>> You can install kbfiltr as a class filter. I would
>> get rid of all the
>> ps2 specific IOCTLs and routines though. To get rid
>> of a packet, all
>> you have to do is not call the upper service
>> callback for that
>> particular KEYBOARD_INPUT_DATA
>>
>> d
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf
>> Of Joshua Chen
>> Sent: Friday, June 09, 2006 4:10 PM
>> To: Windows System Software Devs Interest List
>> Subject: [ntdev] Can I install Kbfiltr from DDK as
>> class filter?
>>
>> Hi,
>> I would like to create a class keyboard filter which
>> I
>> can remove input from time to time. I was using
>> ctr2cap sample and set makecode to 0xFE to remove
>> input. It seems having some problems if user press a
>> lot of keys at the same time. I am thinking to use
>> Kbfiltr as a sample to do the same thing. I also
>> need
>> communicate user mode application with the filter
>> driver. The read me file in Kbfiltr.htm is saying
>> this
>> is for a particular keyboard. If I can’t use this
>> one,
>> any suggestion on how to do it. The ctr2cap sample
>> is
>> good one, but it is not easy to remove input.
>> Thanks,
>> Joshua
>>
>>
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam
>> protection around
>> http://mail.yahoo.com
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> To unsubscribe, visit the List Server section of OSR
>> Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> To unsubscribe, visit the List Server section of OSR
>> Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
If you have a pnp driver (which installing it under UpperFilters
requires you to be), you cannot use the SCM to control the state of your
driver. Only the pnp manager can load/unload your driver. As such,
being DEMAND_START is the correct setting, but you cannot use net start
or sc start to get the driver loaded (the pnp manager will load it if it
is setup correctly)
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of sh_alex
Sent: Monday, June 12, 2006 2:20 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Can I install Kbfiltr from DDK as class filter?
for the filter itself are: Start = 3
This is DEMAND_START, you have to “sc start myservice”
or “net start myservice” (or equivalents).
After I reboot the machine, it seems that KbFiltr
doesn’t get even loaded.
It will be loaded when you start it (see above)
I was even able to delete the
.sys file from the drivers folder (means that it is
not being used).
This is always the case, driver bins are not mapped
as user-mode exes or dlls. All filemons, regmons etc.
use this technique: extract my.sys from a resource into
a file; load/start the driver; delete the file.
There was an interesting discussion of this topic on this list recently.
----- Original Message -----
From: “Joshua Chen”
To: “Windows System Software Devs Interest List”
Sent: Monday, June 12, 2006 4:46 PM
Subject: RE: [ntdev] Can I install Kbfiltr from DDK as class filter?
> Hi Doron,
> Thanks for your message. I modified the Kbfiltr sample
> (get rid of all theps2 specific IOCTLs and routines,
> added code in ServiceCallback. Created a device object
> to communicate with user mode, etc). I installed it
> manually as one of UpperFilters. The registry entries
> for the filter itself are: Start = 3, Type = 1.
> After I reboot the machine, it seems that KbFiltr
> doesn’t get even loaded. I was even able to delete the
> .sys file from the drivers folder (means that it is
> not being used).
> When I was using a keybaord filter based on the
> Ctrl2Cap sample, the filter was loaded properly. The
> installation for both filters are exactly same.
> Am I doing something wrong?
> Thanks,
> Joshua
>
> — Doron Holan wrote:
>
>> You can install kbfiltr as a class filter. I would
>> get rid of all the
>> ps2 specific IOCTLs and routines though. To get rid
>> of a packet, all
>> you have to do is not call the upper service
>> callback for that
>> particular KEYBOARD_INPUT_DATA
>>
>> d
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf
>> Of Joshua Chen
>> Sent: Friday, June 09, 2006 4:10 PM
>> To: Windows System Software Devs Interest List
>> Subject: [ntdev] Can I install Kbfiltr from DDK as
>> class filter?
>>
>> Hi,
>> I would like to create a class keyboard filter which
>> I
>> can remove input from time to time. I was using
>> ctr2cap sample and set makecode to 0xFE to remove
>> input. It seems having some problems if user press a
>> lot of keys at the same time. I am thinking to use
>> Kbfiltr as a sample to do the same thing. I also
>> need
>> communicate user mode application with the filter
>> driver. The read me file in Kbfiltr.htm is saying
>> this
>> is for a particular keyboard. If I can’t use this
>> one,
>> any suggestion on how to do it. The ctr2cap sample
>> is
>> good one, but it is not easy to remove input.
>> Thanks,
>> Joshua
>>
>>
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam
>> protection around
>> http://mail.yahoo.com
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> To unsubscribe, visit the List Server section of OSR
>> Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> To unsubscribe, visit the List Server section of OSR
>> Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
I added as a class upper filter, under
CurrentControlSet\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}
Since the testing machine has already installed a
keyboard filter which is based on ctrl2Cap sample and
is working except removing key problem. So all I did
is replace the existing keyboard filter .sys file with
the new one which is based on Kbfiltr. The indication
that it is not loaded is that I am using KdPrint() to
trace what’s going on and don’t see any message. Also
all functionality is not working.
Do I need change the Start value from 3 to 1? I
thought that being a filter driver, the class driver
will load my filter driver.
I don’t know if it is installation issue or the driver
issue.
Thanks,
Joshua
— Doron Holan wrote:
> Did you add it as a class upper filter or device
> upper filter? Also,
> you can delete, copy over, or move a driver which is
> running, so being
> able to delete it is not an indication of the loaded
> state.
>
> D
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Monday, June 12, 2006 1:46 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] Can I install Kbfiltr from DDK
> as class filter?
>
> Hi Doron,
> Thanks for your message. I modified the Kbfiltr
> sample
> (get rid of all theps2 specific IOCTLs and routines,
> added code in ServiceCallback. Created a device
> object
> to communicate with user mode, etc). I installed it
> manually as one of UpperFilters. The registry
> entries
> for the filter itself are: Start = 3, Type = 1.
> After I reboot the machine, it seems that KbFiltr
> doesn’t get even loaded. I was even able to delete
> the
> .sys file from the drivers folder (means that it is
> not being used).
> When I was using a keybaord filter based on the
> Ctrl2Cap sample, the filter was loaded properly. The
> installation for both filters are exactly same.
> Am I doing something wrong?
> Thanks,
> Joshua
>
> — Doron Holan wrote:
>
> > You can install kbfiltr as a class filter. I would
> > get rid of all the
> > ps2 specific IOCTLs and routines though. To get
> rid
> > of a packet, all
> > you have to do is not call the upper service
> > callback for that
> > particular KEYBOARD_INPUT_DATA
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf
> > Of Joshua Chen
> > Sent: Friday, June 09, 2006 4:10 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] Can I install Kbfiltr from DDK as
> > class filter?
> >
> > Hi,
> > I would like to create a class keyboard filter
> which
> > I
> > can remove input from time to time. I was using
> > ctr2cap sample and set makecode to 0xFE to remove
> > input. It seems having some problems if user press
> a
> > lot of keys at the same time. I am thinking to use
> > Kbfiltr as a sample to do the same thing. I also
> > need
> > communicate user mode application with the filter
> > driver. The read me file in Kbfiltr.htm is saying
> > this
> > is for a particular keyboard. If I can’t use this
> > one,
> > any suggestion on how to do it. The ctr2cap sample
> > is
> > good one, but it is not easy to remove input.
> > Thanks,
> > Joshua
> >
> >
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
> > Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
> > Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
>
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Is DriverEntry being called? in the reg value you modified, was
kbdclass a value that was already present in the multi sz? If so, did
you put your driver name before or after kbdclass? It must appear
before kbdclass (the order of the multi sz defines the ordering layer on
the stack).
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joshua Chen
Sent: Monday, June 12, 2006 3:12 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Can I install Kbfiltr from DDK as class filter?
I added as a class upper filter, under
CurrentControlSet\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}
Since the testing machine has already installed a
keyboard filter which is based on ctrl2Cap sample and
is working except removing key problem. So all I did
is replace the existing keyboard filter .sys file with
the new one which is based on Kbfiltr. The indication
that it is not loaded is that I am using KdPrint() to
trace what’s going on and don’t see any message. Also
all functionality is not working.
Do I need change the Start value from 3 to 1? I
thought that being a filter driver, the class driver
will load my filter driver.
I don’t know if it is installation issue or the driver
issue.
Thanks,
Joshua
— Doron Holan wrote:
> Did you add it as a class upper filter or device
> upper filter? Also,
> you can delete, copy over, or move a driver which is
> running, so being
> able to delete it is not an indication of the loaded
> state.
>
> D
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Monday, June 12, 2006 1:46 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] Can I install Kbfiltr from DDK
> as class filter?
>
> Hi Doron,
> Thanks for your message. I modified the Kbfiltr
> sample
> (get rid of all theps2 specific IOCTLs and routines,
> added code in ServiceCallback. Created a device
> object
> to communicate with user mode, etc). I installed it
> manually as one of UpperFilters. The registry
> entries
> for the filter itself are: Start = 3, Type = 1.
> After I reboot the machine, it seems that KbFiltr
> doesn’t get even loaded. I was even able to delete
> the
> .sys file from the drivers folder (means that it is
> not being used).
> When I was using a keybaord filter based on the
> Ctrl2Cap sample, the filter was loaded properly. The
> installation for both filters are exactly same.
> Am I doing something wrong?
> Thanks,
> Joshua
>
> — Doron Holan wrote:
>
> > You can install kbfiltr as a class filter. I would
> > get rid of all the
> > ps2 specific IOCTLs and routines though. To get
> rid
> > of a packet, all
> > you have to do is not call the upper service
> > callback for that
> > particular KEYBOARD_INPUT_DATA
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf
> > Of Joshua Chen
> > Sent: Friday, June 09, 2006 4:10 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] Can I install Kbfiltr from DDK as
> > class filter?
> >
> > Hi,
> > I would like to create a class keyboard filter
> which
> > I
> > can remove input from time to time. I was using
> > ctr2cap sample and set makecode to 0xFE to remove
> > input. It seems having some problems if user press
> a
> > lot of keys at the same time. I am thinking to use
> > Kbfiltr as a sample to do the same thing. I also
> > need
> > communicate user mode application with the filter
> > driver. The read me file in Kbfiltr.htm is saying
> > this
> > is for a particular keyboard. If I can’t use this
> > one,
> > any suggestion on how to do it. The ctr2cap sample
> > is
> > good one, but it is not easy to remove input.
> > Thanks,
> > Joshua
> >
> >
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
> > Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
> > Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
>
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
DriverEntry seems not called (I used the boot log from
dbgview). my filter driver name is put after kbdclass.
So maybe this is the cause. I will change the order
and try again.
Thanks
Joshua
— Doron Holan wrote:
> Is DriverEntry being called? in the reg value you
> modified, was
> kbdclass a value that was already present in the
> multi sz? If so, did
> you put your driver name before or after kbdclass?
> It must appear
> before kbdclass (the order of the multi sz defines
> the ordering layer on
> the stack).
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Monday, June 12, 2006 3:12 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] Can I install Kbfiltr from DDK
> as class filter?
>
> I added as a class upper filter, under
>
CurrentControlSet\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}
> Since the testing machine has already installed a
> keyboard filter which is based on ctrl2Cap sample
> and
> is working except removing key problem. So all I did
> is replace the existing keyboard filter .sys file
> with
> the new one which is based on Kbfiltr. The
> indication
> that it is not loaded is that I am using KdPrint()
> to
> trace what’s going on and don’t see any message.
> Also
> all functionality is not working.
> Do I need change the Start value from 3 to 1? I
> thought that being a filter driver, the class driver
> will load my filter driver.
> I don’t know if it is installation issue or the
> driver
> issue.
> Thanks,
> Joshua
>
> — Doron Holan wrote:
>
> > Did you add it as a class upper filter or device
> > upper filter? Also,
> > you can delete, copy over, or move a driver which
> is
> > running, so being
> > able to delete it is not an indication of the
> loaded
> > state.
> >
> > D
> >
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf
> > Of Joshua Chen
> > Sent: Monday, June 12, 2006 1:46 PM
> > To: Windows System Software Devs Interest List
> > Subject: RE: [ntdev] Can I install Kbfiltr from
> DDK
> > as class filter?
> >
> > Hi Doron,
> > Thanks for your message. I modified the Kbfiltr
> > sample
> > (get rid of all theps2 specific IOCTLs and
> routines,
> > added code in ServiceCallback. Created a device
> > object
> > to communicate with user mode, etc). I installed
> it
> > manually as one of UpperFilters. The registry
> > entries
> > for the filter itself are: Start = 3, Type = 1.
> > After I reboot the machine, it seems that KbFiltr
> > doesn’t get even loaded. I was even able to delete
> > the
> > .sys file from the drivers folder (means that it
> is
> > not being used).
> > When I was using a keybaord filter based on the
> > Ctrl2Cap sample, the filter was loaded properly.
> The
> > installation for both filters are exactly same.
> > Am I doing something wrong?
> > Thanks,
> > Joshua
> >
> > — Doron Holan wrote:
> >
> > > You can install kbfiltr as a class filter. I
> would
> > > get rid of all the
> > > ps2 specific IOCTLs and routines though. To get
> > rid
> > > of a packet, all
> > > you have to do is not call the upper service
> > > callback for that
> > > particular KEYBOARD_INPUT_DATA
> > >
> > > d
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On
> > Behalf
> > > Of Joshua Chen
> > > Sent: Friday, June 09, 2006 4:10 PM
> > > To: Windows System Software Devs Interest List
> > > Subject: [ntdev] Can I install Kbfiltr from DDK
> as
> > > class filter?
> > >
> > > Hi,
> > > I would like to create a class keyboard filter
> > which
> > > I
> > > can remove input from time to time. I was using
> > > ctr2cap sample and set makecode to 0xFE to
> remove
> > > input. It seems having some problems if user
> press
> > a
> > > lot of keys at the same time. I am thinking to
> use
> > > Kbfiltr as a sample to do the same thing. I also
> > > need
> > > communicate user mode application with the
> filter
> > > driver. The read me file in Kbfiltr.htm is
> saying
> > > this
> > > is for a particular keyboard. If I can’t use
> this
> > > one,
> > > any suggestion on how to do it. The ctr2cap
> sample
> > > is
> > > good one, but it is not easy to remove input.
> > > Thanks,
> > > Joshua
> > >
> > >
>
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > http://mail.yahoo.com
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > To unsubscribe, visit the List Server section of
> > OSR
> > > Online at
> > >
> http://www.osronline.com/page.cfm?name=ListServer
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > To unsubscribe, visit the List Server section of
> > OSR
> > > Online at
> > >
> http://www.osronline.com/page.cfm?name=ListServer
> > >
> >
> >
> >
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
> > Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
The order will only affect the IOCTLs and other IRPs you see, that will
not affect your driver loading or not. Did you put the name of driver
as it appears under hklm\system\currentcontrolset\services<your driver>name> ?
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joshua Chen
Sent: Monday, June 12, 2006 3:48 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Can I install Kbfiltr from DDK as class filter?
DriverEntry seems not called (I used the boot log from
dbgview). my filter driver name is put after kbdclass.
So maybe this is the cause. I will change the order
and try again.
Thanks
Joshua
— Doron Holan wrote:
> Is DriverEntry being called? in the reg value you
> modified, was
> kbdclass a value that was already present in the
> multi sz? If so, did
> you put your driver name before or after kbdclass?
> It must appear
> before kbdclass (the order of the multi sz defines
> the ordering layer on
> the stack).
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Monday, June 12, 2006 3:12 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] Can I install Kbfiltr from DDK
> as class filter?
>
> I added as a class upper filter, under
>
CurrentControlSet\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}
> Since the testing machine has already installed a
> keyboard filter which is based on ctrl2Cap sample
> and
> is working except removing key problem. So all I did
> is replace the existing keyboard filter .sys file
> with
> the new one which is based on Kbfiltr. The
> indication
> that it is not loaded is that I am using KdPrint()
> to
> trace what’s going on and don’t see any message.
> Also
> all functionality is not working.
> Do I need change the Start value from 3 to 1? I
> thought that being a filter driver, the class driver
> will load my filter driver.
> I don’t know if it is installation issue or the
> driver
> issue.
> Thanks,
> Joshua
>
> — Doron Holan wrote:
>
> > Did you add it as a class upper filter or device
> > upper filter? Also,
> > you can delete, copy over, or move a driver which
> is
> > running, so being
> > able to delete it is not an indication of the
> loaded
> > state.
> >
> > D
> >
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf
> > Of Joshua Chen
> > Sent: Monday, June 12, 2006 1:46 PM
> > To: Windows System Software Devs Interest List
> > Subject: RE: [ntdev] Can I install Kbfiltr from
> DDK
> > as class filter?
> >
> > Hi Doron,
> > Thanks for your message. I modified the Kbfiltr
> > sample
> > (get rid of all theps2 specific IOCTLs and
> routines,
> > added code in ServiceCallback. Created a device
> > object
> > to communicate with user mode, etc). I installed
> it
> > manually as one of UpperFilters. The registry
> > entries
> > for the filter itself are: Start = 3, Type = 1.
> > After I reboot the machine, it seems that KbFiltr
> > doesn’t get even loaded. I was even able to delete
> > the
> > .sys file from the drivers folder (means that it
> is
> > not being used).
> > When I was using a keybaord filter based on the
> > Ctrl2Cap sample, the filter was loaded properly.
> The
> > installation for both filters are exactly same.
> > Am I doing something wrong?
> > Thanks,
> > Joshua
> >
> > — Doron Holan wrote:
> >
> > > You can install kbfiltr as a class filter. I
> would
> > > get rid of all the
> > > ps2 specific IOCTLs and routines though. To get
> > rid
> > > of a packet, all
> > > you have to do is not call the upper service
> > > callback for that
> > > particular KEYBOARD_INPUT_DATA
> > >
> > > d
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On
> > Behalf
> > > Of Joshua Chen
> > > Sent: Friday, June 09, 2006 4:10 PM
> > > To: Windows System Software Devs Interest List
> > > Subject: [ntdev] Can I install Kbfiltr from DDK
> as
> > > class filter?
> > >
> > > Hi,
> > > I would like to create a class keyboard filter
> > which
> > > I
> > > can remove input from time to time. I was using
> > > ctr2cap sample and set makecode to 0xFE to
> remove
> > > input. It seems having some problems if user
> press
> > a
> > > lot of keys at the same time. I am thinking to
> use
> > > Kbfiltr as a sample to do the same thing. I also
> > > need
> > > communicate user mode application with the
> filter
> > > driver. The read me file in Kbfiltr.htm is
> saying
> > > this
> > > is for a particular keyboard. If I can’t use
> this
> > > one,
> > > any suggestion on how to do it. The ctr2cap
> sample
> > > is
> > > good one, but it is not easy to remove input.
> > > Thanks,
> > > Joshua
> > >
> > >
>
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > http://mail.yahoo.com
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > To unsubscribe, visit the List Server section of
> > OSR
> > > Online at
> > >
> http://www.osronline.com/page.cfm?name=ListServer
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > To unsubscribe, visit the List Server section of
> > OSR
> > > Online at
> > >
> http://www.osronline.com/page.cfm?name=ListServer
> > >
> >
> >
> >
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
> > Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of
> OSR
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
I went back my old filter driver (based on Ctr2Cap)
and found out the cause of input removing problem. So
I fix the old filter driver instead of using Kbfiltr.
Thanks for all the help.
Joshua
— Doron Holan wrote:
> The order will only affect the IOCTLs and other IRPs
> you see, that will
> not affect your driver loading or not. Did you put
> the name of driver
> as it appears under
> hklm\system\currentcontrolset\services<your driver>> name> ?
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Joshua Chen
> Sent: Monday, June 12, 2006 3:48 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] Can I install Kbfiltr from DDK
> as class filter?
>
> DriverEntry seems not called (I used the boot log
> from
> dbgview). my filter driver name is put after
> kbdclass.
> So maybe this is the cause. I will change the order
> and try again.
> Thanks
> Joshua
>
> — Doron Holan wrote:
>
> > Is DriverEntry being called? in the reg value you
> > modified, was
> > kbdclass a value that was already present in the
> > multi sz? If so, did
> > you put your driver name before or after kbdclass?
>
> > It must appear
> > before kbdclass (the order of the multi sz defines
> > the ordering layer on
> > the stack).
> >
> > d
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf
> > Of Joshua Chen
> > Sent: Monday, June 12, 2006 3:12 PM
> > To: Windows System Software Devs Interest List
> > Subject: RE: [ntdev] Can I install Kbfiltr from
> DDK
> > as class filter?
> >
> > I added as a class upper filter, under
> >
>
CurrentControlSet\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}
> > Since the testing machine has already installed a
> > keyboard filter which is based on ctrl2Cap sample
> > and
> > is working except removing key problem. So all I
> did
> > is replace the existing keyboard filter .sys file
> > with
> > the new one which is based on Kbfiltr. The
> > indication
> > that it is not loaded is that I am using KdPrint()
> > to
> > trace what’s going on and don’t see any message.
> > Also
> > all functionality is not working.
> > Do I need change the Start value from 3 to 1? I
> > thought that being a filter driver, the class
> driver
> > will load my filter driver.
> > I don’t know if it is installation issue or the
> > driver
> > issue.
> > Thanks,
> > Joshua
> >
> > — Doron Holan wrote:
> >
> > > Did you add it as a class upper filter or device
> > > upper filter? Also,
> > > you can delete, copy over, or move a driver
> which
> > is
> > > running, so being
> > > able to delete it is not an indication of the
> > loaded
> > > state.
> > >
> > > D
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On
> > Behalf
> > > Of Joshua Chen
> > > Sent: Monday, June 12, 2006 1:46 PM
> > > To: Windows System Software Devs Interest List
> > > Subject: RE: [ntdev] Can I install Kbfiltr from
> > DDK
> > > as class filter?
> > >
> > > Hi Doron,
> > > Thanks for your message. I modified the Kbfiltr
> > > sample
> > > (get rid of all theps2 specific IOCTLs and
> > routines,
> > > added code in ServiceCallback. Created a device
> > > object
> > > to communicate with user mode, etc). I installed
> > it
> > > manually as one of UpperFilters. The registry
> > > entries
> > > for the filter itself are: Start = 3, Type = 1.
> > > After I reboot the machine, it seems that
> KbFiltr
> > > doesn’t get even loaded. I was even able to
> delete
> > > the
> > > .sys file from the drivers folder (means that it
> > is
> > > not being used).
> > > When I was using a keybaord filter based on the
> > > Ctrl2Cap sample, the filter was loaded properly.
> > The
> > > installation for both filters are exactly same.
> > > Am I doing something wrong?
> > > Thanks,
> > > Joshua
> > >
> > > — Doron Holan
> wrote:
> > >
> > > > You can install kbfiltr as a class filter. I
> > would
> > > > get rid of all the
> > > > ps2 specific IOCTLs and routines though. To
> get
> > > rid
> > > > of a packet, all
> > > > you have to do is not call the upper service
> > > > callback for that
> > > > particular KEYBOARD_INPUT_DATA
> > > >
> > > > d
> > > >
> > > > -----Original Message-----
> > > > From: xxxxx@lists.osr.com
> > > > [mailto:xxxxx@lists.osr.com] On
> > > Behalf
> > > > Of Joshua Chen
> > > > Sent: Friday, June 09, 2006 4:10 PM
> > > > To: Windows System Software Devs Interest List
> > > > Subject: [ntdev] Can I install Kbfiltr from
> DDK
> > as
> > > > class filter?
> > > >
> > > > Hi,
> > > > I would like to create a class keyboard filter
> > > which
> > > > I
> > > > can remove input from time to time. I was
> using
> > > > ctr2cap sample and set makecode to 0xFE to
> > remove
> > > > input. It seems having some problems if user
> > press
> > > a
> > > > lot of keys at the same time. I am thinking to
> > use
> > > > Kbfiltr as a sample to do the same thing. I
> also
> > > > need
> > > > communicate user mode application with the
> > filter
> > > > driver. The read me file in Kbfiltr.htm is
> > saying
> > > > this
> > > > is for a particular keyboard. If I can’t use
> > this
> > > > one,
> > > > any suggestion on how to do it. The ctr2cap
> > sample
> > > > is
> > > > good one, but it is not easy to remove input.
> > > > Thanks,
> > > > Joshua
> > > >
> > > >
> >
> > > > Do You Yahoo!?
> > > > Tired of spam? Yahoo! Mail has the best spam
> > > > protection around
> > > > http://mail.yahoo.com
>
=== message truncated ===
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com