how to write INF file for composite device?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to write INF file for composite device?

1,716件の閲覧回数
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.
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

778件の閲覧回数
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 件の賞賛
返信

778件の閲覧回数
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 件の賞賛
返信