how to write INF file for composite device?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to write INF file for composite device?

1,465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by iamonline on Sat Apr 12 22:23:30 MST 2014
Hi:
    I use OpenPlatform 1.03 usblib to create composite device.But  I donot know how to write inf file. I want to create 2 virtual com device, and when I plug USB cable, it show that cann't recognize the composite device. Can anybody give me some advice on how to write INF file for composite device?

  thanks.
Labels (1)
0 Kudos
2 Replies

527 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rundekugel on Mon May 12 07:48:11 MST 2014
Hi,
you've to describe the diffent Interfaces:

section [manuf.NTamd64] and/or [manuf.NTx86]
%CDC_only%=Vcom,USB\VID_xxxx&PID_ff01
%CDC0%=Vcom,USB\VID_xxxx&PID_ff02&MI_00
%CDC1%=Vcom,USB\VID_xxxx&PID_ff02&MI_01

MI_00 / 01 is the interface
every interface is installed seperately as it would be a single device, you can write seperate .inf files or one for multiple devices/interfaces
0 Kudos

527 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by iamonline on Mon Apr 14 20:04:29 MST 2014
Hi:
   Are there any others facing the same problem? In my platform , there are 4 CDC device. I rewrite the LPCUSBLib 1.03 code based on virtual com project. Now , it could enum a composite device successfully, but win7 can not load the correct device for CDC device . Can anybody give me a sample on how to write INF file for 4 CDC composite device?
   Thanks.

0 Kudos