;/*++
;
; Copyright (c) 2012  by KYOCERA Corporation
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
Provider=%KYOCERA%
DriverVer=06/20/2012,2.0.0.0
CatalogFile=kc02us_bus.cat


; ================= Device section =====================

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

; For XP and later
[Kyocera.NTx86]
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0743
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0744
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0745
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0748
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_074B
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0750
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0751
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0752
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0753
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0754
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0755
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_024F
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0250
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0253
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_025F
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0266
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0269
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0288
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_028B
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0512
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_052d
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0530
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0533
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0545
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_051B
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_051C
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_052A
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0546
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0547
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0556
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_055A
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_058D
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0596
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05A8
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05B1
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05B3
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_058A
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05da
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05db
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05dc

[Kyocera.NTamd64]
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0743
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0744
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0745
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0748
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_074B
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0750
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0751
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0752
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0753
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0754
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0474&PID_0755
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_024F
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0250
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0253
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_025F
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0266
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0269
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0288
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_028B
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0512
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_052d
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0530
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0533
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0545
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_051B
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_051C
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_052A
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0546
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0547
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0556
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_055A
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_058D
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_0596
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05A8
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05B1
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05B3
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_058A
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05da
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05db
%Bus.DeviceDesc%    =bus.Dev, USB\VID_0482&PID_05dc

[bus.Dev.NT]
AddReg=bus.AddReg
CopyFiles=bus.Files.x86

[bus.Dev.NTamd64]
AddReg=bus.AddReg
CopyFiles=bus.Files.amd64

[bus.AddReg]
;none


;;;;;Services

[bus.Dev.NT.Services]
AddService = %BUS%, %SPSVCINST_ASSOCSERVICE%, bus.AddService.x86

[bus.Dev.NTamd64.Services]
AddService = %BUS%, %SPSVCINST_ASSOCSERVICE%, bus.AddService.amd64


[bus.AddService.x86]
DisplayName    = %Bus.SvcDesc%
Description    = %Bus.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\%BUSSYS32%
;;LoadOrderGroup = Base
;;Load order groups are ignored for drivers whose start type is
;;SERVICE_AUTO_START, SERVICE_DEMAND_START, or SERVICE_DISABLED.

[bus.AddService.amd64]
DisplayName    = %Bus.SvcDesc%
Description    = %Bus.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\%BUSSYS64%

;;;;;Files extract

[bus.Files.x86]
kc02us_bus32.sys

[SourceDisksNames.x86]
1=%Disk_Description%,,,\i386

[SourceDisksFiles.x86]
kc02us_bus32.sys = 1

[bus.Files.amd64]
kc02us_bus64.sys

[SourceDisksNames.amd64]
1=%Disk_Description%,,,\amd64

[SourceDisksFiles.amd64]
kc02us_bus64.sys = 1

[DestinationDirs]
DefaultDestDir = 12

;-------------- WDF Coinstaller installation

[DestinationDirs]
CoInstaller_CopyFiles = 11

[bus.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[bus.Dev.NTamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[bus.Dev.NT.Wdf]
KmdfService = %BUS%, bus_wdfsect

[bus.Dev.NTamd64.Wdf]
KmdfService = %BUS%, bus_wdfsect

[bus_wdfsect]
KmdfLibraryVersion = 1.9

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

[Strings]
KYOCERA             = "KYOCERA Corporation"
MfgName             = "KYOCERA Corporation"
BUS                 = "kc02us_bus"
BUSSYS32            = "kc02us_bus32.sys"
BUSSYS64            = "kc02us_bus64.sys"
Disk_Description    = "KYOCERA USB Composite Device KC02US Installation disk"
Bus.DeviceDesc      = "KYOCERA USB Composite Device KC02US"
Bus.SvcDesc         = "KYOCERA USB Composite Device KC02US Driver"

CustomerDataPath = "KYOCERA KC02US"

SPSVCINST_ASSOCSERVICE= 0x00000002

