;----------------------------------------------------------------------------
;	AU9720 USB to UART Cable Driver
;	Copyright (c) 2007, Alcor Micro, Corp.
;----------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MfgName%
CatalogFile=SOFTCTRL.cat
DriverVer=12/25/2007,6.1.6000.16386
;LayoutFile=layout.inf

;----------------------------------------------------------------------------
;	Manufacturer and Product Information
;----------------------------------------------------------------------------
[ControlFlags]
ExcludeFromSelect=USB\VID_0D3A&PID_0220
ExcludeFromSelect=USB\VID_0D3A&PID_0230

[Manufacturer]
%MfgName%=DeviceList,NTamd64

[DeviceList]
%DeviceDesc28%=ComPort.NTx86, USB\VID_0D3A&PID_0220
%DeviceDesc32%=ComPort.NTx86, USB\VID_0D3A&PID_0230

[DeviceList.NTamd64]
%DeviceDesc28%=ComPort.NTamd64, USB\VID_0D3A&PID_0220
%DeviceDesc32%=ComPort.NTamd64, USB\VID_0D3A&PID_0230

[DestinationDirs]
DefaultDestDir=12
ComPort.CopyFiles=12

[SourceDisksFiles.x86]
softctrl.sys=1

[SourceDisksFiles.amd64]
softctrl.sys=1

[SourceDisksNames]
1=%INSTDISK%,,,

;----------------------------------------------------------------------------
;	Windows 2000/XP/Vista 32-bit Sections
;----------------------------------------------------------------------------
[ComPort.NTx86]
CopyFiles=ComPort.CopyFiles
AddReg=ComPort.AddReg

include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
;----------------------------------------------------------------------------
[ComPort.NTx86.Services]
include=mdmcpq.inf
AddService = usbser,0x00000002,UsbSerService
AddService = serenum,,SerEnumService
AddService = softctrl,,SoftCtrlService

;----------------------------------------------------------------------------
[ComPort.NTx86.HW]
AddReg=ComPort.NTx86.HW.AddReg

[ComPort.NTx86.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"softctrl"
HKR,,"UpperFilters",0x00010008,"serenum"

;----------------------------------------------------------------------------
;	Windows XP 64-bit/Vista 64-bit Sections
;----------------------------------------------------------------------------
[ComPort.NTamd64]
CopyFiles=ComPort.CopyFiles
AddReg=ComPort.AddReg

include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
;----------------------------------------------------------------------------
[ComPort.NTamd64.Services]
include=mdmcpq.inf
AddService = usbser,0x00000002,UsbSerService
AddService = serenum,,SerEnumService
AddService = softctrl,,SoftCtrlService

;----------------------------------------------------------------------------
[ComPort.NTamd64.HW]
AddReg=ComPort.NTamd64.HW.AddReg

[ComPort.NTamd64.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"softctrl"
HKR,,"UpperFilters",0x00010008,"serenum"

;----------------------------------------------------------------------------
;	Common CopyFiles, Registry, and Service Sections
;----------------------------------------------------------------------------
[ComPort.CopyFiles]
softctrl.sys,,,2

;----------------------------------------------------------------------------
[ComPort.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

;----------------------------------------------------------------------------
[UsbSerService]
DisplayName    = %UsbSer.SvcDesc%
ServiceType    = 1                       ;SERVICE_KERNEL_DRIVER
StartType      = 3                       ;SERVICE_DEMAND_START
ErrorControl   = 1                       ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\usbser.sys
LoadOrderGroup = Base

[SerEnumService]
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

[SoftCtrlService]
DisplayName    = %SoftCtrl.SvcDesc%
ServiceType    = 1                       ;SERVICE_KERNEL_DRIVER
StartType      = 3                       ;SERVICE_DEMAND_START
ErrorControl   = 1                       ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\softctrl.sys
LoadOrderGroup = PNP Filter

;----------------------------------------------------------------------------
;	String Definitions
;----------------------------------------------------------------------------
[Strings]
;MfgName="Alcor Micro, Corp."
;DeviceDesc="USB to UART bridge controller"
MfgName="Posiflex Technologies Inc."
DeviceDesc28="Posiflex PD2800 USB Device"
DeviceDesc32="Posiflex PD320 USB Device"
INSTDISK="AU9720 Driver Installation Disc"
UsbSer.SvcDesc="Microsoft USB Serial Driver"
SerEnum.SvcDesc="Serenum Filter Driver"
SoftCtrl.SvcDesc="Software Flow Control Driver"
