No driver outside the usb core stack really needs to use the USB device
class GUID. If you are loading a hid driver that is USB, just set the
INF device class to HIDCLASS (or HID, depending on the OS). The device
that the miniport belongs to is not really important (although it should
remain HID to be consistent). This begs the question that if you have a
HID and it is USB, why not use the built in USB HID minidriver and not
have to write a single line of driver code?
d
-----Original Message-----
From: Sai_Prasad [mailto:xxxxx@Satyam.com]
Sent: Wednesday, June 19, 2002 9:39 PM
To: NT Developers Interest List
Subject: [ntdev] RE: USB HID Mini driver
Hi Doron,
Thanks for the reply.I thought of doing the same.But for which GUID
do I
register in my HIDMini driver ?..
Best Regards,
Sai Prasad
From: Doron Holan[SMTP:xxxxx@windows.microsoft.com]
Reply To: NT Developers Interest List
Sent: Wednesday, June 19, 2002 9:09 PM
To: NT Developers Interest List
Subject: [ntdev] RE: USB HID Mini driver
If you need to talk to USB device, why aren’t you directly enumerated
off of the usb bus?
Anyways, in your USB client driver, create a device interface. In
your
(root enumerated I am guessing) HID miniport, register for
notifications
on that device interface (via IoRegisterPlugPlayNotifications) and
open
it up when the device interface arrives. Remember to register for pnp
notifications on the *file handle* you open up so that you can receive
notifications about when that device is being removed (I think the DDK
toaster sample does this and I know kbdclass (also in the DDK)
demonstrates this).
d
-----Original Message-----
From: Sai_Prasad [mailto:xxxxx@Satyam.com]
Sent: Wednesday, June 19, 2002 12:58 AM
To: NT Developers Interest List
Subject: [ntdev] USB HID Mini driver
Hi All,
Can a Hid Mini Driver communicate with USB stack.Basically my
device
is a
USB Device.We are developing a Mouse Emulation sofware.We have 2
drivers.The
first one is a USB Client driver which is enumerated by the USB class
which
I have mentioned in the inf file.The second one is a HIDMini driver
which
doesn’t really have a PDO but the presence of a device is informed to
the
PNP Manager and hence it loads the Mini Driver.We establish
communication
between these 2 drivers.
Can we develop a Hidmini driver which communicates to the USB stack.If
so,what are the basic things I need to take care in the .inf file and
the
driver.
Thanks.
Best Regards,
Sai Prasad
************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying
or
distribution or forwarding of any or all of the contents in this
message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@bla.satyam.com
To unsubscribe send a blank email to %%email.unsub%%
************************************************************************
**
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
distribution or forwarding of any or all of the contents in this message
is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
************************************************************************
**
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%