; Windows 2000/XP/VISTA Virtual Serial Port Setup File
; Copyright (c) 2002-2008 C-motech Incorporated
; Manufacturer: C-motech Co., Ltd
;
; This INF file installs a virtual COM port on Win2K/XP/Vista/Vista64 system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %CMOTECH%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 03/17/2008,2.0.5.0
CatalogFile= cm_ser2.cat

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%CMOTECH% = CmoSerialPort, NTamd64

[CmoSerialPort]
%CmoDevice6002% = CMportInstall00, USB\VID_16D8&PID_6002&MI_02
%CmoDevice6004% = CMportInstall00, USB\VID_16D8&PID_6004&MI_03
%CmoDevice6006% = CMportInstall00, USB\VID_16D8&PID_6006&MI_02
%CmoDevice6008% = CMportInstall00, USB\VID_16D8&PID_6008&MI_03

%CmoDevice7002% = CMportInstall00, USB\VID_16D8&PID_7002&MI_03
%CmoDevice7003% = CMportInstall00, USB\VID_16D8&PID_7003&MI_01
%CmoDevice7004% = CMportInstall00, USB\VID_16D8&PID_7004&MI_01
%CmoDevice7005% = CMportInstall00, USB\VID_16D8&PID_7005&MI_01

[CmoSerialPort.NTamd64]
%CmoDevice6002% = CMportInstall00, USB\VID_16D8&PID_6002&MI_02
%CmoDevice6004% = CMportInstall00, USB\VID_16D8&PID_6004&MI_03
%CmoDevice6006% = CMportInstall00, USB\VID_16D8&PID_6006&MI_02
%CmoDevice6008% = CMportInstall00, USB\VID_16D8&PID_6008&MI_03

%CmoDevice7002% = CMportInstall00, USB\VID_16D8&PID_7002&MI_03
%CmoDevice7003% = CMportInstall00, USB\VID_16D8&PID_7003&MI_01
%CmoDevice7004% = CMportInstall00, USB\VID_16D8&PID_7004&MI_01
%CmoDevice7005% = CMportInstall00, USB\VID_16D8&PID_7005&MI_01

[CMportInstall00.NT]
CopyFiles=CMUsbDriverFiles
AddReg = All00, AddReg.NT

[CMportInstall00.NTamd64]
CopyFiles=CMUsbDriverFilesamd64
AddReg = All00, AddReg.NT

[CMUsbDriverFiles]
cm_ser.sys,cm_ser32.sys
cm_ser32.sys

[CMUsbDriverFilesamd64]
cm_ser.sys,cm_seramd.sys
cm_seramd.sys

[DestinationDirs]
DefaultDestDir = 12
CMUsbDriverFiles = 12
CMUsbDriverFilesamd64 = 12

[CMportInstall00.NT.Services]
Needs=CM_PORT_Device.NT.Services

[CMportInstall00.NTamd64.Services]
Needs=CM_PORT_Device.NT.Services

[All00]
HKR,,NTMPDriver,,cm_ser.sys

[AddReg.NT]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

; ===== Port Section =====
[CM_PORT_Device.NT.Services]
AddService=cm_ser,  0x00000002, CM_USBSerialService

[CM_PORT_Device.NTamd64.Services]
AddService=cm_ser,  0x00000002, CM_USBSerialService

[CM_USBSerialService]
DisplayName   = %CMUSBSER%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\cm_ser.sys

[SourceDisksNames]
1 = %CMSRCDISK%,,,""

[SourceDisksFiles]
cm_ser32.sys  = 1
cm_seramd.sys  = 1

[Strings]
CMOTECH   = "C-motech"
CMUSBSER  = "C-motech USB Serial Port2 U300"
CMSRCDISK = "C-motech USB Serial Port2 DISK U300"
CmoDevice6002 = "USB Serial Port2 (U300)"              
CmoDevice6004 = "USB Serial Port2 (U300)"                                            
CmoDevice6006 = "USB Serial Port2 (U300)"              
CmoDevice6008 = "USB Serial Port2 (U300)"                          
             
CmoDevice7002 = "USB Serial Port2 (U300)"
CmoDevice7003 = "USB Serial Port2 (U300)"
CmoDevice7004 = "USB Serial Port2 (U300)"
CmoDevice7005 = "USB Serial Port2 (U300)"