; =================================================
; U2SXP.INF
; USB to Serial Converter Device Driver for WinXP
; [VID_0711&PID_0230] WDM USB
; (c) Copyright 1997-2007 MCT
; ==================================================
[version]
signature="$CHICAGO$"
Class=PORTS
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MCT%
CatalogFile=TU2SXP.cat
;LayoutFile=layout.inf
DriverVer=05/12/2004,2.98.826.2

[MCT.Section]
%MCTName232% = ComPort, USB\VID_0711&PID_0230

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksFiles]
u2s2kxp.sys=1

[SourceDisksFiles.x86]
u2s2kxp.sys=1

[DestinationDirs]
DefaultDestDir = 12
ComPort.NT.Copy = 12        ;DIRID_DRIVERS

; Install class "Ports"
;----------------------------------------------------------
;[ClassInstall]
;AddReg=PortsClass.AddReg

;[PortsClass.AddReg]
;HKR,,,,%PortsClassName%

[ClassInstall32.NT]
AddReg=PortsClass.NT.AddReg

[PortsClass.NT.AddReg]
HKR,,,,%PortsClassName%
HKR,,Icon,,"-23"
HKR,,Installer32,,"MsPorts.Dll,PortsClassInstaller"

; Drivers
;----------------------------------------------------------
[Manufacturer]
%MCT%=MCT.Section

; COM sections
;----------------------------------------------------------
[ComPort.NT]
CopyFiles=ComPort.NT.Copy
AddReg=ComPort.NT.AddReg

[ComPort.NT.HW]
AddReg=ComPort.NT.HW.AddReg

[ComPort.NT.Copy]
u2s2kxp.sys

[ComPort.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[ComPort.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"

;-------------- Service installation
; Port Driver (function driver for this device)
[ComPort.NT.Services]
AddService = U2SP, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
AddService = serenum,,Serenum_Service_Inst

; -------------- Serial Port Driver install sections
[Serial_Service_Inst]
DisplayName    = %Serial.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_SYSTEM_START (this driver may do detection)
ErrorControl   = 1               ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\u2s2kxp.sys
; LoadOrderGroup = Extended base

; -------------- Serenum Driver install section
[Serenum_Service_Inst]
DisplayName    = %Serenum.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\serenum.sys
LoadOrderGroup = PNP Filter

[Serial_EventLog_Inst]
AddReg = Serial_EventLog_AddReg

[Serial_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\u2s2kxp.sys"
HKR,,TypesSupported,0x00010001,7

[Strings]
;- Manufacturer ---------------------------
MCT 	= "Targus Group Int."
MCTName232 = "Serial On USB Port"

PortsClassName = "Ports (COM & LPT)"
Serial.SVCDESC   = "OEM USB to Serial Converter Driver(Philips)"
Serenum.SVCDESC   = "OEM USB Serenum Filter Driver"
DiskString1   = "USB to Serial Converter Driver Disk"