how to write a driver for UAB Composite Device

Dear All,

I am new to come in Device Driver Programming, I have USB Composite Device ,
it has Multiple HID Interfaces( Mouse, Functiona Keys, SpeechMike and Light),how to write driver for this, I want to Read the data from the Device, I am using Windows 2000, 2003 DDK sp1.

I have some doubts in this device ::

1.How to Create Fromware Application for USB Composite Device? and which tools are usefull for this .

2.Multiple HID Interfaces are handle in single Application it is Possible or not??

  1. If i write individual applicatom for each HID Interface how to install these Interface?

4.I use single INF file for install All Interfaces it is correct or not?, How to create Individual INF files for each Interface.

Please give me your suggestions and solutions ,
Please send me any sample code for reference.

Thankyou

Regards,

PSR

xxxxx@gmail.com wrote:

I am new to come in Device Driver Programming, I have USB Composite Device ,
it has Multiple HID Interfaces( Mouse, Functiona Keys, SpeechMike and Light),how to write driver for this, I want to Read the data from the Device, I am using Windows 2000, 2003 DDK sp1.

I have some doubts in this device ::

1.How to Create Fromware Application for USB Composite Device? and which tools are usefull for this .

Firmware is not within the focus of this forum. The way you create your
firmware depends on the design of the device. What kind of processor
does it use?

2.Multiple HID Interfaces are handle in single Application it is Possible or not??

Do you mean “in a single device”? Sure, that’s not a problem. Unless
you go out of your way to override it, Windows will treat each interface
as a separate device, and load a separate driver for each one. If your
interfaces are HID-compatible and USBAUDIO-compatible, you don’t have to
write any drivers at all.

  1. If i write individual applicatom for each HID Interface how to install these Interface?

I don’t know what you mean by “individual application for each HID
Interface”. Do you mean a driver?

4.I use single INF file for install All Interfaces it is correct or not?, How to create Individual INF files for each Interface.

You can do it either way – whatever makes sense to you. The interface
number is just part of the PnP hardware identifier. For example, if the
device itself is USB\VID_1234&PID_5678, the first interface will be
USB\VID_1234&PID_5678&MI_00, the second will be …&MI_01, and so on.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.