USB/HID Driver Tutorial and/or Sample Code desired

I have a prototype USB device that I was told is designed to be a HID compatible device.  (This device is still in pre-production, I received it from the hardware designer).  I was given no software, but I'm wondering if (and how) I can open the device and just "talk to it", so to speak.  

How can I detect it's insertion into the USB bus, and then be able to see what (if any) data it is sending and/or be able to send data to the device?

I'm looking for source code, a HID driver tutorial (on Windows), and/or a USB spy type utility.

A link to a good tutorial page that dives into this stuff will get an 'A' grade based upon 100 points.  If I get a reference to a free utility that I can just "use" to verify the device, I'll kick the points up to 200.  I'm willing to kick the points all the way up to 500 if I get clear/concise code I can build upon quickly.

Thanks in Advance,
Who is Participating?
ppk1981Connect With a Mentor Commented:

Are you writing any USB HID drivers ???

First of all USB is not supported in Win NT / DOS ....

USB is layered Architecture... like this..

 Client Driver ( any USB driver )
  USBD ( USB Driver on perticuler OS )
   HCD      ( Host Controller Driver )
 UHCI/OHCI  ( Universal /Open Host Controller Interface )
 USB Device ( H/W )
All layers exept first and last are provided by OS...

Here UHCI/OHCI detects all bus transation + enumeration of USB Devices
+ Connect/Disconnect....

I have implemeted a part of UHCI in DOS .... But I have not looked at other layers..

I think USBD should provide all interfaces ...
check this link....

For USB I have refferd book " USB Complete " ...
In this book he has given about HID ...
I think you can get help from this book ...

check this help...

Thats all .. at this time .... any help )

Just listening in...
millsoftAuthor Commented:
Just a comment, the author of USB complete is a her, not him : )
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.