;----------------------------------------------------------------------------
;	POSIFLEX USB to UART Cable Driver
;	Copyright (c) 2013, Posiflex Technology Inc.
;----------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
CatalogFile=pp9cdc.cat
Provider=%ProviderName%
DriverVer=12/28/2011,5.1.9.7600

;----------------------------------------------------------------------------
;	Manufacturer and Product Information
;----------------------------------------------------------------------------
[ControlFlags]
ExcludeFromSelect=USB\VID_0D3A&PID_3332
ExcludeFromSelect=USB\VID_0D3A&PID_0339
ExcludeFromSelect=USB\VID_0D3A&PID_036A
ExcludeFromSelect=USB\VID_0D3A&PID_036C
ExcludeFromSelect=USB\VID_0D3A&PID_036E
ExcludeFromSelect=USB\VID_0D3A&PID_036F
ExcludeFromSelect=USB\VID_0D3A&PID_0270
ExcludeFromSelect=USB\VID_0D3A&PID_0352
ExcludeFromSelect=USB\VID_0D3A&PID_B120
ExcludeFromSelect=USB\VID_0D3A&PID_05C0
ExcludeFromSelect=USB\VID_0D3A&PID_05D0
ExcludeFromSelect=USB\VID_0D3A&PID_0FA0
;--AU9720
ExcludeFromSelect=USB\VID_058F&PID_9720
ExcludeFromSelect=USB\VID_0D3A&PID_0330
ExcludeFromSelect=USB\VID_0D3A&PID_0368
ExcludeFromSelect=USB\VID_0D3A&PID_0220
ExcludeFromSelect=USB\VID_0D3A&PID_0230

[Manufacturer]
%ProviderName%=DeviceList

[DeviceList]
%DeviceDesc1%=ComPort.NTx86, USB\VID_0D3A&PID_3332
%DeviceDesc2%=ComPort.NTx86, USB\VID_0D3A&PID_0339
%DeviceDesc3%=ComPort.NTx86, USB\VID_0D3A&PID_036A
%DeviceDesc3C%=ComPort.NTx86, USB\VID_0D3A&PID_036C
%DeviceDesc3E%=ComPort.NTx86, USB\VID_0D3A&PID_036E
%DeviceDesc3F%=ComPort.NTx86, USB\VID_0D3A&PID_036F
%DeviceDesc4%=ComPort.NTx86, USB\VID_0D3A&PID_0270
%DeviceDesc5%=ComPort.NTx86, USB\VID_0D3A&PID_0352
%DeviceDesc6%=ComPort.NTx86, USB\VID_0D3A&PID_B120
%DeviceDesc71%=ComPort.NTx86, USB\VID_0D3A&PID_05C0
%DeviceDesc72%=ComPort.NTx86, USB\VID_0D3A&PID_05D0
%DeviceDesc8%=ComPort.NTx86, USB\VID_0D3A&PID_0FA0
;--AU9720
%ALCORMICRO_CDC%=Hornet,USB\VID_058F&PID_9720
%ALCORMICRO_P8K%=Hornet,USB\VID_0D3A&PID_0330
%ALCORMICRO_P68%=Hornet,USB\VID_0D3A&PID_0368
%ALCORMICRO_D28%=Hornet,USB\VID_0D3A&PID_0220
%ALCORMICRO_D32%=Hornet,USB\VID_0D3A&PID_0230

;----------------------------------------------------------------------------
;	File Source and Destination
;----------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir=10
Hornet.NT.CopyFiles=10,system32\drivers
ComPort.CopyFiles=10,system32\drivers

[SourceDisksFiles.x86]
usbser1.sys=1
softctrl.sys=1
pp9cdc.sys=1

[SourceDisksNames]
1=%INSTDISK%,,,

;----------------------------------------------------------------------------
;	Windows 2000 Sections
;----------------------------------------------------------------------------
[Hornet.NT]
CopyFiles=Hornet.NT.CopyFiles
AddReg=Hornet.NT.AddReg,Hornet.NT.Utility.AddReg

[ComPort.NTx86]
CopyFiles=ComPort.CopyFiles
AddReg=ComPort.AddReg
;include=mdmcpq.inf
;CopyFiles=FakeModemCopyFileSection

;----------------------------------------------------------------------------
;	Common CopyFiles, Registry, and Service Sections
;----------------------------------------------------------------------------
[Hornet.NT.CopyFiles]
usbser1.sys,,,0x00000004
softctrl.sys,,,0x00000004

[ComPort.CopyFiles]
usbser1.sys,,,0x00000004
pp9cdc.sys,,,0x00000004

;----------------------------------------------------------------------------
[Hornet.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser1.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Hornet.NT.Utility.AddReg]
HKLM,%UtilityKey%,SkipWHQL,0x00010001,1

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

;----------------------------------------------------------------------------
[Hornet.NT.Services]
AddService = usbser,0x00000002,UsbSerService
AddService = softctrl,0x00000000,SoftCtrlService
AddService = serenum,0x00000000,SerEnumService

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

[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

[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

;----------------------------------------------------------------------------
[ComPort.NTx86.Services]
;include=mdmcpq.inf
AddService = usbser,0x00000002,UsbSerService
AddService = serenum,,SerEnumService
AddService = pp9cdc,,pp9cdcService

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

;----------------------------------------------------------------------------
[Hornet.NT.HW]
AddReg=Hornet.NT.HW.AddReg

[Hornet.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"softctrl"
HKR,,"UpperFilters",0x00010008,"serenum"

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

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

;----------------------------------------------------------------------------
;	String Definitions
;----------------------------------------------------------------------------
[Strings]
ALCORMICRO_CDC="USB Communication Device"
ProviderName="Posiflex Technology Inc"
DeviceDesc1="Posiflex PP9000 USB Printer"
DeviceDesc2="Posiflex PP8800 USB Printer"
DeviceDesc3="Posiflex PP6900 USB Printer"
DeviceDesc3C="Posiflex XP3inch USB Printer"
DeviceDesc3E="Posiflex HS3inch USB Printer"
DeviceDesc3F="Posiflex HS2inch USB Printer"
DeviceDesc4="Posiflex PD6207 USB Display"
DeviceDesc5="Posiflex PP5200 USB Printer"
DeviceDesc6="Posiflex I-Button"
DeviceDesc71="Posiflex USB MSR"
DeviceDesc72="Posiflex USB JIS2-MSR"
DeviceDesc8="Posiflex USB RFID Reader"
ALCORMICRO_P8K="Posiflex PP8000 USB Printer"
ALCORMICRO_P68="Posiflex PP6800 USB Printer"
ALCORMICRO_D28="Posiflex PD2800 USB Display"
ALCORMICRO_D32="Posiflex PD320 USB Display"
INSTDISK="Driver Installation Disc"
UsbSer.SvcDesc="USB Modem Driver"
SerEnum.SvcDesc="Serial Port Enumerator"
SoftCtrl.SvcDesc="Software Flow Control Driver"
UtilityKey="SOFTWARE\Posiflex\PP-USB"
