;******************************************************************************
;*   COPYRIGHT (C) 2002 TEXAS INSTRUMENTS INCORPORATED.
;******************************************************************************
;*
;*   FILE:           UmpUsbXP.INF
;*   SUBSYSTEM:      VCP Devices
;*
;******************************************************************************
;*
[Version]
signature="$WINDOWS NT$"
Class = MultiportSerial
ClassGuid = {50906cb8-ba12-11d1-bf5d-0000f805f530}
Provider=%Aheir%
CatalogFile=UMPUSBXP.cat
;* LayoutFile=LAYOUT.INF
DriverVer   = 08/06/2007,0.0.00.02

[Manufacturer]
%EU.Mfg%=EU.Section

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
umpf3410.i51=1
umpusbxp.sys=1

[DestinationDirs]
DefaultDestDir		     = 11             		; LDID_SYS

UMPUSB.CopyFiles.NT          = 10, system32\drivers
TI3410.CopyFiles.NT          = 10, system32\drivers

;----------------------------------------------------------------------------------
;----------------------------------------------------------------------------------
;   3410 -- Unitary driver. Bootloader and driver are same instance.
;----------------------------------------------------------------------------------
;----------------------------------------------------------------------------------
[TI3410.Uni.NT]
CopyFiles=UMPUSB.CopyFiles.NT,TI3410.CopyFiles.NT
DelFiles=UMPUSB.DelFiles
AddReg=TI3410.AddReg.NT

[TI3410.Uni.NT.HW]
AddReg=TI3410.AddReg.NT.HW

[TI3410.Dev.NT]
CopyFiles=UMPUSB.CopyFiles.NT,TI3410.CopyFiles.NT
DelFiles=UMPUSB.DelFiles
AddReg=TI3410.AddReg.NT

[TI3410.Dev.NT.HW]
AddReg=TI3410.AddReg.NT.HW

[TI3410.AddReg.NT]
;HKR,,EnumPropPages32,,"usbui.dll,USBHubPropPageProvider"

[TI3410.AddReg.NT.HW]
HKR,,ImageFile,,"\SystemRoot\System32\drivers\umpf3410.i51"
HKR,,SetMSRLinesZero,%REG_BINARY%,0x00  ; 0x80=DCD 0x40=RI 0x20=DSR 0x10=CTS
HKR,,SetMSRLinesOne, %REG_BINARY%,0x00  ; 0x80=DCD 0x40=RI 0x20=DSR 0x10=CTS 
HKR,,NumComPorts,%REG_DWORD%,1
HKR,,NumLptPorts,%REG_DWORD%,0
HKR,,TIDeviceType,,"TIUSB3410"
; Release 1.2.10.96: This line sets the Virtual COM Port HW ID  


; Vendor: 
HKR,,Port1DeviceHWID,,"VID_0451_3410_com"					; <------------ сюда можно прописать свои ID, их же - в UmpComXP.inf
HKR,,Port2DeviceHWID,,"VID_0451_3410_com"					; <------------ TUSB3410
; ****

; This defines the name shown by the Found New HW wizard for the COM port child device:
HKR,,ComPortChildDeviceText,,"My Serial to USB converter"


[TI3410.CopyFiles.NT]
umpf3410.i51

[TI3410.Uni.Services]
AddService = umpusbxp, 0x00000002, StandardUMPUSB.AddService

[TI3410.Dev.Services]
AddService = umpusbxp, 0x00000002, StandardUMPUSB.AddService

[TI3410.Uni.NT.Services]
AddService = umpusbxp, 0x00000002, StandardUMPUSB.AddService

[TI3410.Dev.NT.Services]
AddService = umpusbxp, 0x00000002, StandardUMPUSB.AddService


[StandardUMPUSB.AddService]
DisplayName    = %StandardUMPUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\umpusbxp.sys
LoadOrderGroup = Base

; =================== Sections ==================================
[EU.Section]
; Vendor: 
;%PID_FFFF.DeviceDesc%=TI3410.Uni,USB\VID_FFFF&PID_FFFF	 		; <------------ надо отредактировать и включить строку, если отл. от TUSB3410
%PID_3410.DeviceDesc%=TI3410.Uni,USB\VID_0451&PID_3410	 		; <------------ TUSB3410

; =================== Global ==================================
[UMPUSB.CopyFiles.NT]
umpusbxp.sys,,,0x00000004

[UMPUSB.DelFiles]

; =================== Strings ==================================

[Strings]
; Vendor: 
Aheir="Myself"                           			; <------------ 
USBClassName="My Serial Devices"                           	; <------------ 
StandardUMPUSB.SvcDesc="My Serial to USB converter Driver"    	; <------------ 
EU.Mfg="Myself"                           			; <------------ 
DiskName="My Serial to USB converter Installation Disk"	      	; <------------ 
;PID_FFFF.DeviceDesc="My Serial to USB converter"     		; <------------ надо отредактировать и включить строку, если отл. от TUSB3410
PID_3410.DeviceDesc="TUSB3410 Device"                           ; <------------ TUSB3410
REG_BINARY =0x00000001
REG_DWORD  =0x00010001


