Composite Device Installation

Dear Team,

I am having custom USB composite device which is a combination of HID and Mass Storage. I want to have default Windows HID driver and the custom Mass Storage driver to be installed when the device gets attached to the system.

Windows recognized the composite device and loaded the default HID driver for HID interface. For Mass storage, I implemented the USB sample OSR fx2 step4 example.

When I point the path to the INF file in the new hardware found wizard, it says that the required software is not available for installation.

The same example I installed for the device which implements only Mass Storage interface.

Do I need to add anything to the INF file inorder to work with the composite devices.

Regards.

The hw IDs generated for a composite device are different then for a single function, _MIXx is appended to the ID. Open up device manager and view the properties of the device and look at the hw IDs (view by connection will make this easier)
D

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Sunday, October 21, 2007 10:33 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Composite Device Installation

Dear Team,

I am having custom USB composite device which is a combination of HID and Mass Storage. I want to have default Windows HID driver and the custom Mass Storage driver to be installed when the device gets attached to the system.

Windows recognized the composite device and loaded the default HID driver for HID interface. For Mass storage, I implemented the USB sample OSR fx2 step4 example.

When I point the path to the INF file in the new hardware found wizard, it says that the required software is not available for installation.

The same example I installed for the device which implements only Mass Storage interface.

Do I need to add anything to the INF file inorder to work with the composite devices.

Regards.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

That point really helped. I allowed default Windows Mass Storage driver and verified the VID and PID in the registry. As suggested there was MI_XX string appended at the end.

In the INF file, I also introduced MI_XX at the end of VID and PID line. Now the driver gets loaded normally.

The reason for the delay of status update was the unavailability of composite device at my end. Just now I managed to retrieve it and followed the suggested procedure. Thanks for the pointers.

Regards.