Keyboard filter (to work with a Card Reader)
From: Maria Penedo (MariaPenedo_at_discussions.microsoft.com)
Date: 11/16/04
- Next message: Mike: "Printer Inf file question"
- Previous message: Calvin Guan: "Re: USB Upper Filter Driver not getting IRP_MJ_INTERNAL_DEVICE_CONTROL"
- Next in thread: Ray Trent: "Re: Keyboard filter (to work with a Card Reader)"
- Reply: Ray Trent: "Re: Keyboard filter (to work with a Card Reader)"
- Reply: Christiaan: "RE: Keyboard filter (to work with a Card Reader)"
- Reply: Doron Holan [MS]: "Re: Keyboard filter (to work with a Card Reader)"
- Reply: Maxim S. Shatskih: "Re: Keyboard filter (to work with a Card Reader)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 10:29:05 -0800
I’m trying to develop a driver that filters the input of a card reader. The
card reader shares the keyboard input PS/2 port by a wedge and to the OS the
readings made by the card reader are the same as keyboard inputs. The purpose
is to extract a substring from the data in the card.
Example of reading: %a67081210343059&061010101691000166042600000000000_
Substring needed: 16604
My idea is to filter the inputs that start with some characters (in my case,
the data always start with %a670812), read them to a buffer and send only the
substring to the upper level.
I’ve already seen the kbfiltr sample but my problem is that this is first
time that I try to develop a driver and I’m really having some trouble to
understand how it works.
My questions are:
- is a driver the best solution for this case?
- If yes, how can I create a buffer in the kbfiltr sample to keep reading
chars when some kind of input is read?
TIA,
Maria
- Next message: Mike: "Printer Inf file question"
- Previous message: Calvin Guan: "Re: USB Upper Filter Driver not getting IRP_MJ_INTERNAL_DEVICE_CONTROL"
- Next in thread: Ray Trent: "Re: Keyboard filter (to work with a Card Reader)"
- Reply: Ray Trent: "Re: Keyboard filter (to work with a Card Reader)"
- Reply: Christiaan: "RE: Keyboard filter (to work with a Card Reader)"
- Reply: Doron Holan [MS]: "Re: Keyboard filter (to work with a Card Reader)"
- Reply: Maxim S. Shatskih: "Re: Keyboard filter (to work with a Card Reader)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|