;===============================================================
;  Logic Controls Line Display USB Devices Driver
;  for Windows XP/Vista/7
;  Copyright (C) 2010 Logic Controls, Inc.
;
;  Model: Line Display with USB Port
;  Driver type: virtual serial port driver with filter of device name interface
;  04-09-2010
;
;===============================================================
[version]
signature="$CHICAGO$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%LCI%
DriverVer=07/21/2010,2.0.7.230
CatalogFile = lcild.cat
;---------------------------------------------------------------;

[DestinationDirs]
LCILDCOM.NT.Copy = 12

;----------------------------------------------------------
; Device Install
;
[Manufacturer]
%LCINAME%=LCI, NTx86, NTamd64

;--------------------
; model section

; For XP and later
[LCI.NTx86]
%LCILD9USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A090
%LCIPD3USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A030
%LCIPD6USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A060
%LCILD1USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A010

[LCI.NTamd64]
%LCILD9USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A090
%LCIPD3USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A030
%LCIPD6USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A060
%LCILD1USB.DeviceDesc% = LCILDUSB, USB\VID_0FA8&PID_A010


;--------------------
; DDInstall Section
;
[LCILDUSB.NT]
CopyFiles=LCILDCOM.NT.Copy
AddReg=LCILDCOM.NT.AddReg
; addreg and copy files for serenum.sys
Include=msports.inf
Needs=SerialEnumerator.NT

[LCILDCOM.NT.Copy]
LCILD.sys
lcildfil.sys


[LCILDCOM.NT.AddReg]
; Tell NT that this is a 'serial port' so that the correct class property sheet is shown in devmgr
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,PortSubClass,1,01

[LCILDUSB.NT.HW]
AddReg=LCILDCOM.NT.HW.AddReg


[LCILDCOM.NT.HW.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,LCILD.sys
HKR,,"UpperFilters",0x00010000,"lcildfil"

;----------------------------------------------------------
;-------------- Service installation
; Port Driver (function driver for this device)
[LCILDUSB.NT.Services]
AddService = LCILD, 0x00000002, Serial_Service_Inst
AddService = lcildfil,, lcildusbfil_Service_Inst
; install the serenum service itself
Include=msports.inf
Needs=SerialEnumerator.NT.Services


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

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

;----------------------------------------------------------

[SourceDisksNames.x86]
1=%DiskID%,,,

[SourceDisksFiles.x86]
LCILD.sys = 1,\x86
lcildfil.sys = 1,\x86

[SourceDisksNames.amd64]
1=%DiskID%,,,

[SourceDisksFiles.amd64]
LCILD.sys = 1,\x64
lcildfil.sys = 1,\x64


;----------------------------------------------------------
; User readable strings
[Strings]
LCI = "LogicControls"
LCINAME = "Logic Controls, Inc."
PortsClassName = "Ports (COM & LPT)"
LCILD9USB.DeviceDesc = "LCI Line Display (\\.\LCLD9\)"
LCIPD3USB.DeviceDesc = "LCI Line Display (\\.\LCPD3\)"
LCIPD6USB.DeviceDesc = "LCI Line Display (\\.\LCPD6\)"
LCILD1USB.DeviceDesc = "LCI Line Display (\\.\LCLD1\)"
LCI.SVCDESC   = "LCI USB Line Display Device"
DiskID="LCI Line Display Software Driver for Windows XP/Vista"
lcildfil.SVCDESC = "Line Display Device Upper Filter"
