Re: mousefilter driver setup

Tech-Archive recommends: Fix windows errors by optimizing your registry



it will not comply with the HID spec,but that doesnt matter b/c you are not
writing a HID compliant miniport

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"David" <David@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C9922E58-F28A-4CDC-BE0F-817AB74C451D@xxxxxxxxxxxxxxxx
Hi Doron. Thank you for your response. I got little bit confused , please
see
Maxim's post above it talks about diffrent architecture.I will check
vhidmini
example in DDk, however I thought that I cannot implement HID system as my
low level WDM driver has high data rate transfer between HW and driver.
Can
you pleas explain a little more about your suggestion?
David.
"Doron Holan [MS]" wrote:

if you go this route, you will not be able to talk to the device from
user
mode. i would suggest that if UM communication is required, you write a
hid
miniport driver and expose 2 top level collections. one for the mouse
part,
the 2nd for your UM communication. see the vhidmini sample to get
started.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:uelraCHpGHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
No, you can use the mouse _port_ - not filter - driver instead. Just
register Mouclass as upper filter and respond to Mouclass's IOCTLs,
which
will
register callbacks in your driver, it will need to call them with
arrays
of
MOUSE_INPUT_DATA structures.

The details are in Mouser DDK sample.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

"David" <David@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6A20B4AB-22D5-4262-BDBF-A69BF24251D0@xxxxxxxxxxxxxxxx
Hello there.
We are developing input device hardware - wirless pen device. Device
is
NOT
HID - it sends a lot of data in bulk mode. This device is connected
via
USB
to PC , I also have a low level WDM driver which transferes data from
HW
to
PC and performs some calculations. I would like to simulate mouse
events
in
kernel mode based on input from my device. As I understand from DDK I
shouild implement mousefilter driver and insert ti into driver stack.
This
filter will reside between my low level HW driver and mouclass.sys
default
driver. I've examined moufiltr sample in DDK and have some questions
(Im
quite novice in drivers world):
1. examples referres to PS/2 mouse divices and so does inf file. Can I
use
it in my case?
2. I tried to install moufiltr ( I do not change anything) driver but
it
fails to install. Error message: "A service installation section in
this
INF
file is invalid"?
3. What is the best way to communicate between low level driver and
mouse
filter driver?
Thnak you in advance , Davisd
.







.



Relevant Pages

  • Renaming of the USB HID driver
    ... the concept of the HID parser is not really USB related anymore. ... USB and Bluetooth subsystems only have to provide a transport layer. ... Here are instructions on how to compile and use the driver. ... plus additions to support force feedback. ...
    (Linux-Kernel)
  • Re: Custom HID device - problems with driver dev
    ... I saw several people refereence the USB printer ... as a launch point for a "generic HID driver" so that's were I started. ... Are you trying to create an int pipe or a bulk pipe? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Mid level layer between device driver and application
    ... injected in a virtual HID driver for a direct multitouch support. ... For that I'll have to deal with kmdf only, ... > device and inject it in the form this project wants. ...
    (microsoft.public.development.device.drivers)
  • Re: HID mini port over i8042prt PS2 stack?
    ... PDO, use the KMDF kbdfiltr driver as an example. ... And also how to combine hid and mouse upper filter into one inf ...
    (microsoft.public.development.device.drivers)
  • Re: Mid level layer between device driver and application
    ... injected in a virtual HID driver for a direct multitouch support. ... For that I'll have to deal with kmdf only, ... miniport and perform your processing in the hid miniport driver. ...
    (microsoft.public.development.device.drivers)