; File: ldevusbu.inf
;
; Installation information for the L_Card USB devices
; Copyright 2015, L_Card Ltd.
;

[Version]
Signature="$CHICAGO$"
Class=L-Card_USB_Devices
ClassGUID={6CCD8FA1-FAC1-4823-83B8-72C7C8C5689B}
provider=%LCARD%
;LayoutFile=layout.inf
CatalogFile=ldevusbu.cat
DriverVer=12/18/2017,7.0.0.5
;mm/dd/yyyy

[Manufacturer]
%MfgName%= LCard, NTx86, NTamd64

[LCard.NTx86]
%USB\VID_0471&PID_0440.DeviceDesc%=LCARD_E440.Dev , USB\VID_0471&PID_0440
%USB\VID_0471&PID_0140.DeviceDesc%=LCARD_E140.Dev , USB\VID_0471&PID_0140
%USB\VID_0471&PID_2010.DeviceDesc%=LCARD_E2010.Dev, USB\VID_0471&PID_2010
%USB\VID_0471&PID_2121.DeviceDesc%=LCARD_LTR021.Dev, USB\VID_0471&PID_2121
%USB\VID_0471&PID_1010.DeviceDesc%=LCARD_LTR010.Dev, USB\VID_0471&PID_1010
%USB\VID_0471&PID_3131.DeviceDesc%=LCARD_LTR031.Dev, USB\VID_0471&PID_3131
%USB\VID_0471&PID_3030.DeviceDesc%=LCARD_LTR030.Dev, USB\VID_0471&PID_3030
%USB\VID_0471&PID_0154.DeviceDesc%=LCARD_E154.Dev , USB\VID_0471&PID_0154
%USB\VID_0471&PID_E310.DeviceDesc%=LCARD_E310.Dev,  USB\VID_0471&PID_E310

%USB\VID_0471&PID_EFFF.DeviceDesc%=LCARD_LBOOT.Dev,   USB\VID_0471&PID_EFFF

%USB\VID_2A52&PID_EFFF.DeviceDesc%=LCARD_LBOOT.Dev,   USB\VID_2A52&PID_EFFF

; cardio
%USB\VID_2A52&PID_CA01.DeviceDesc%=LCARD_CA01.Dev,   USB\VID_2A52&PID_CA01

%USB\VID_0471&PID_0124.DeviceDesc%=LCARD_E124.Dev  , USB\VID_0471&PID_0124
%USB\VID_0471&PID_F101.DeviceDesc%=LCARD_PST101.Dev, USB\VID_0471&PID_F101
%USB\VID_0471&PID_F003.DeviceDesc%=LCARD_VMETER.Dev , USB\VID_0471&PID_F003

%USB\VID_2A52&PID_2122.DeviceDesc%=LCARD_LTR_CEU1.Dev,  USB\VID_2A52&PID_2122


[LCard.NTamd64]
%USB\VID_0471&PID_0440.DeviceDesc%=LCARD_E440.Dev , USB\VID_0471&PID_0440
%USB\VID_0471&PID_0140.DeviceDesc%=LCARD_E140.Dev , USB\VID_0471&PID_0140
%USB\VID_0471&PID_2010.DeviceDesc%=LCARD_E2010.Dev, USB\VID_0471&PID_2010
%USB\VID_0471&PID_2121.DeviceDesc%=LCARD_LTR021.Dev, USB\VID_0471&PID_2121
%USB\VID_0471&PID_1010.DeviceDesc%=LCARD_LTR010.Dev, USB\VID_0471&PID_1010
%USB\VID_0471&PID_3131.DeviceDesc%=LCARD_LTR031.Dev, USB\VID_0471&PID_3131
%USB\VID_0471&PID_3030.DeviceDesc%=LCARD_LTR030.Dev, USB\VID_0471&PID_3030
%USB\VID_0471&PID_0154.DeviceDesc%=LCARD_E154.Dev , USB\VID_0471&PID_0154
%USB\VID_0471&PID_E310.DeviceDesc%=LCARD_E310.Dev,  USB\VID_0471&PID_E310

%USB\VID_0471&PID_EFFF.DeviceDesc%=LCARD_LBOOT.Dev,   USB\VID_0471&PID_EFFF
%USB\VID_2A52&PID_EFFF.DeviceDesc%=LCARD_LBOOT.Dev,   USB\VID_2A52&PID_EFFF

; cardio
%USB\VID_2A52&PID_CA01.DeviceDesc%=LCARD_CA01.Dev,   USB\VID_2A52&PID_CA01

%USB\VID_0471&PID_0124.DeviceDesc%=LCARD_E124.Dev  , USB\VID_0471&PID_0124
%USB\VID_0471&PID_F101.DeviceDesc%=LCARD_PST101.Dev, USB\VID_0471&PID_F101
%USB\VID_0471&PID_F003.DeviceDesc%=LCARD_VMETER.Dev , USB\VID_0471&PID_F003

%USB\VID_2A52&PID_2122.DeviceDesc%=LCARD_LTR_CEU1.Dev,  USB\VID_2A52&PID_2122

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-5"
 
;[PreCopySection]
;HKR,,NoSetupUI,,1

[DestinationDirs]
LCARD.Files.Ext = 10,System32\Drivers
LCARD.Files.Inf = 10,INF
LCARD.CoInst.Files = 11

[SourceDisksFiles.x86]
ldevs.sys=1,\32
ldevusbu.sys=1,\32
WdfCoInstaller01009.dll = 1,\32 ; make sure the number matches with SourceDisksNames

[SourceDisksFiles.amd64]
ldevs.sys=1,\64
ldevusbu.sys=1,\64
WdfCoInstaller01009.dll = 1,\64 ; make sure the number matches with SourceDisksNames


[SourceDisksNames]
1=%INSTDISK%,,,.


;// for E440
[LCARD_E440.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_E440.AddReg

[LCARD_E440.AddReg]
HKR,"Parameters","Type",0x00010001,30
HKR,"Parameters","DSPType",0x00010001,2185

[LCARD_E440.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_E440.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_E440.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;// for E140
[LCARD_E140.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_E140.AddReg

[LCARD_E140.AddReg]
HKR,"Parameters","Type",0x00010001,31
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_E140.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_E140.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_E140.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect
         

;// for E2010
[LCARD_E2010.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_E2010.AddReg

[LCARD_E2010.AddReg]
HKR,"Parameters","Type",0x00010001,32
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_E2010.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_E2010.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_E2010.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;// for E154
[LCARD_E154.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_E154.AddReg

[LCARD_E154.AddReg]
HKR,"Parameters","Type",0x00010001,38
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_E154.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_E154.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_E154.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;// for ltr021
[LCARD_LTR021.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_LTR021.AddReg

[LCARD_LTR021.AddReg]
HKR,"Parameters","Type",0x00010001,37
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_LTR021.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_LTR021.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_LTR021.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;// for ce/ceu-1
[LCARD_LTR_CEU1.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_LTR_CEU1.AddReg

[LCARD_LTR_CEU1.AddReg]
HKR,"Parameters","Type",0x00010001,42
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_LTR_CEU1.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_LTR_CEU1.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_LTR_CEU1.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect



;// for ltr010
[LCARD_LTR010.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_LTR010.AddReg

[LCARD_LTR010.AddReg]
HKR,"Parameters","Type",0x00010001,36
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_LTR010.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_LTR010.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_LTR010.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;// for ltr030
[LCARD_LTR030.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_LTR030.AddReg

[LCARD_LTR030.AddReg]
HKR,"Parameters","Type",0x00010001,41
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_LTR030.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_LTR030.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_LTR030.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;// for ltr031
[LCARD_LTR031.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_LTR031.AddReg

[LCARD_LTR031.AddReg]
HKR,"Parameters","Type",0x00010001,40
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_LTR031.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_LTR031.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_LTR031.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


; for E310
[LCARD_E310.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_E310.AddReg

[LCARD_E310.AddReg]
HKR,"Parameters","Type",0x00010001,77
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_E310.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_E310.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_E310.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


; for Cardio
[LCARD_CA01.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_CA01.AddReg

[LCARD_CA01.AddReg]
HKR,"Parameters","Type",0x00010001,90
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_CA01.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_CA01.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_CA01.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


; =====================================
; ********** LBOOT Module *************
; =====================================
[LCARD_LBOOT.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_LBOOT.AddReg

[LCARD_LBOOT.AddReg]
HKR,"Parameters","Type",0x00010001,61439
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_LBOOT.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_LBOOT.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_LBOOT.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


; ************* E-124 Module ***************
[LCARD_E124.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_E124.AddReg

[LCARD_E124.AddReg]
HKR,"Parameters","Type",0x00010001,100
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_E124.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_E124.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_E124.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


; ************* PST-101 Module ***************
[LCARD_PST101.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_PST101.AddReg

[LCARD_PST101.AddReg]
HKR,"Parameters","Type",0x00010001,101
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_PST101.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_PST101.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_PST101.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


; ************* VMETR Module ***************
[LCARD_VMETER.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD_VMETER.AddReg

[LCARD_VMETER.AddReg]
HKR,"Parameters","Type",0x00010001,103
HKR,"Parameters","DSPType",0x00010001,0

[LCARD_VMETER.Dev.NT.Services]
Addservice = ldevusbu, 0x00000002, LCARD.AddService

[LCARD_VMETER.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD_VMETER.Dev.NT.Wdf]
KmdfService = ldevusbu, LCARD.wdfsect


;/// common part
[LCARD.AddService]
DisplayName    = %LCARD.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ldevusbu.sys
LoadOrderGroup = Base

[LCARD.Files.Ext]
ldevusbu.sys
ldevs.sys

[LCARD.Files.Inf]
;ldevusbu.inf

[LCARD.CoInst.AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[LCARD.CoInst.Files]
WdfCoInstaller01009.dll

[LCARD.wdfsect]
KmdfLibraryVersion = 1.9


;---------------------------------------------------------------;
; BoardType

;#define E440     30
;#define E140     31
;#define E2010    32
;#define E270     33
;#define CAN_USB  34
;#define AK9      35
;#define LTR010   36
;#define LTR021   37
;#define E154     38

;#define CE/CEU-1 42

;#define E310     77

;define CA01      90

;#define LBOOT    61439

[Strings]
LCARD="L_Card"
MfgName="L_Card"
USB\VID_0471&PID_0440.DeviceDesc="E14-440"
USB\VID_0471&PID_0140.DeviceDesc="E14-140"
USB\VID_0471&PID_2010.DeviceDesc="E20-10"
USB\VID_0471&PID_0154.DeviceDesc="E-154"

USB\VID_0471&PID_2121.DeviceDesc="LTR-U-1"
USB\VID_0471&PID_1010.DeviceDesc="LTR-U-8/16"

USB\VID_0471&PID_3131.DeviceDesc="LTR-EU-2"
USB\VID_0471&PID_3030.DeviceDesc="LTR-EU-8/16"

USB\VID_0471&PID_E310.DeviceDesc="E-310"

USB\VID_0471&PID_EFFF.DeviceDesc="'L Card' bootable device"
USB\VID_2A52&PID_EFFF.DeviceDesc="'L Card' bootable device"

USB\VID_2A52&PID_CA01.DeviceDesc="Cardio"

USB\VID_0471&PID_0124.DeviceDesc="E-124"
USB\VID_0471&PID_F101.DeviceDesc="PST-101"
USB\VID_0471&PID_F003.DeviceDesc="VMETER" 

USB\VID_2A52&PID_2122.DeviceDesc="LTR-CU/CEU-1"


LCARD.SvcDesc="ldevusbu.sys USB WDM driver for L_Card devices"
DeviceClassName="L_Card USB devices"
INSTDISK="L_Card Installation Disc"

[Strings.0419]
LCARD="Л_Кард"
MfgName="Л_Кард"
USB\VID_0471&PID_0440.DeviceDesc="E14-440"
USB\VID_0471&PID_0140.DeviceDesc="E14-140"
USB\VID_0471&PID_2010.DeviceDesc="E20-10"
USB\VID_0471&PID_0154.DeviceDesc="E-154"

USB\VID_0471&PID_2121.DeviceDesc="LTR-U-1"
USB\VID_0471&PID_1010.DeviceDesc="LTR-U-8/16"

USB\VID_0471&PID_3131.DeviceDesc="LTR-EU-2"
USB\VID_0471&PID_3030.DeviceDesc="LTR-EU-8/16"

USB\VID_0471&PID_E310.DeviceDesc="E-310"

USB\VID_2A52&PID_CA01.DeviceDesc="Cardio"

USB\VID_0471&PID_EFFF.DeviceDesc="Загрузочное устройство 'L Card'"
USB\VID_2A52&PID_EFFF.DeviceDesc="Загрузочное устройство 'L Card'"

USB\VID_0471&PID_0124.DeviceDesc="E-124"
USB\VID_0471&PID_F101.DeviceDesc="PST-101"
USB\VID_0471&PID_F003.DeviceDesc="VMETER" 

USB\VID_2A52&PID_2122.DeviceDesc="LTR-CU/CEU-1"

LCARD.SvcDesc="ldevusbu.sys USB WDM драйвер для устройств фирмы Л_Кард"
DeviceClassName="USB устройства от фирмы Л_Кард"
INSTDISK="Установочный диск Л_Кард"
