;
;
; Installs WinUsb
;

[Version]
Signature = "$Windows NT$"
Class     = USBDevice
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider  = %ManufacturerName%
CatalogFile = KmWinUSB1.cat
DriverVer=09/04/2012,13.54.20.543

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%ManufacturerName% = KDCWINUSB,NTx86.5.1,NTx86.6.0,NTamd64.5.1,NTamd64.6.0

[KDCWINUSB.NTx86.5.1]
"Kyocera ECOSYS M2135dn" = KMUSB, USB\VID_0482&PID_069a&MI_02
"Kyocera ECOSYS M2635dn" = KMUSB, USB\VID_0482&PID_069b&MI_02
"Kyocera ECOSYS M2040dn" = KMUSB, USB\VID_0482&PID_069d&MI_02
"Kyocera ECOSYS M2540dn" = KMUSB, USB\VID_0482&PID_06fd&MI_02
"Kyocera ECOSYS M2635dw" = KMUSB, USB\VID_0482&PID_069c&MI_02
"Kyocera ECOSYS M2540dw" = KMUSB, USB\VID_0482&PID_069e&MI_02
"Kyocera ECOSYS M2735dw" = KMUSB, USB\VID_0482&PID_06fe&MI_02
"Kyocera ECOSYS M2640idw" = KMUSB, USB\VID_0482&PID_069f&MI_02
"Kyocera ECOSYS M2540dw(J)" = KMUSB, USB\VID_0482&PID_06fb&MI_02
"Kyocera ECOSYS M2640idw(J)" = KMUSB, USB\VID_0482&PID_06fc&MI_02

;Printers
"Kyocera ECOSYS P2235dn" = KMUSB, USB\VID_0482&PID_0696&MI_01
"Kyocera ECOSYS P2040dn" = KMUSB, USB\VID_0482&PID_0698&MI_01
"Kyocera ECOSYS P2235dw" = KMUSB, USB\VID_0482&PID_0697&MI_01
"Kyocera ECOSYS P2040dw" = KMUSB, USB\VID_0482&PID_0699&MI_01
"Kyocera ECOSYS P2040dw(J)" = KMUSB, USB\VID_0482&PID_06f6&MI_01

[KDCWINUSB.NTamd64.5.1]
"Kyocera ECOSYS M2135dn" = KMUSB, USB\VID_0482&PID_069a&MI_02
"Kyocera ECOSYS M2635dn" = KMUSB, USB\VID_0482&PID_069b&MI_02
"Kyocera ECOSYS M2040dn" = KMUSB, USB\VID_0482&PID_069d&MI_02
"Kyocera ECOSYS M2540dn" = KMUSB, USB\VID_0482&PID_06fd&MI_02
"Kyocera ECOSYS M2635dw" = KMUSB, USB\VID_0482&PID_069c&MI_02
"Kyocera ECOSYS M2540dw" = KMUSB, USB\VID_0482&PID_069e&MI_02
"Kyocera ECOSYS M2735dw" = KMUSB, USB\VID_0482&PID_06fe&MI_02
"Kyocera ECOSYS M2640idw" = KMUSB, USB\VID_0482&PID_069f&MI_02
"Kyocera ECOSYS M2540dw(J)" = KMUSB, USB\VID_0482&PID_06fb&MI_02
"Kyocera ECOSYS M2640idw(J)" = KMUSB, USB\VID_0482&PID_06fc&MI_02

;Printers
"Kyocera ECOSYS P2235dn" = KMUSB, USB\VID_0482&PID_0696&MI_01
"Kyocera ECOSYS P2040dn" = KMUSB, USB\VID_0482&PID_0698&MI_01
"Kyocera ECOSYS P2235dw" = KMUSB, USB\VID_0482&PID_0697&MI_01
"Kyocera ECOSYS P2040dw" = KMUSB, USB\VID_0482&PID_0699&MI_01
"Kyocera ECOSYS P2040dw(J)" = KMUSB, USB\VID_0482&PID_06f6&MI_01

[KDCWINUSB.NTx86.6.0]
"Kyocera ECOSYS M2135dn" = USB_Install, USB\VID_0482&PID_069a&MI_02
"Kyocera ECOSYS M2635dn" = USB_Install, USB\VID_0482&PID_069b&MI_02
"Kyocera ECOSYS M2040dn" = USB_Install, USB\VID_0482&PID_069d&MI_02
"Kyocera ECOSYS M2540dn" = USB_Install, USB\VID_0482&PID_06fd&MI_02
"Kyocera ECOSYS M2635dw" = USB_Install, USB\VID_0482&PID_069c&MI_02
"Kyocera ECOSYS M2540dw" = USB_Install, USB\VID_0482&PID_069e&MI_02
"Kyocera ECOSYS M2735dw" = USB_Install, USB\VID_0482&PID_06fe&MI_02
"Kyocera ECOSYS M2640idw" = USB_Install, USB\VID_0482&PID_069f&MI_02
"Kyocera ECOSYS M2540dw(J)" = USB_Install, USB\VID_0482&PID_06fb&MI_02
"Kyocera ECOSYS M2640idw(J)" = USB_Install, USB\VID_0482&PID_06fc&MI_02

;Printers
"Kyocera ECOSYS P2235dn" = USB_Install, USB\VID_0482&PID_0696&MI_01
"Kyocera ECOSYS P2040dn" = USB_Install, USB\VID_0482&PID_0698&MI_01
"Kyocera ECOSYS P2235dw" = USB_Install, USB\VID_0482&PID_0697&MI_01
"Kyocera ECOSYS P2040dw" = USB_Install, USB\VID_0482&PID_0699&MI_01
"Kyocera ECOSYS P2040dw(J)" = USB_Install, USB\VID_0482&PID_06f6&MI_01

[KDCWINUSB.NTamd64.6.0]
"Kyocera ECOSYS M2135dn" = USB_Install, USB\VID_0482&PID_069a&MI_02
"Kyocera ECOSYS M2635dn" = USB_Install, USB\VID_0482&PID_069b&MI_02
"Kyocera ECOSYS M2040dn" = USB_Install, USB\VID_0482&PID_069d&MI_02
"Kyocera ECOSYS M2540dn" = USB_Install, USB\VID_0482&PID_06fd&MI_02
"Kyocera ECOSYS M2635dw" = USB_Install, USB\VID_0482&PID_069c&MI_02
"Kyocera ECOSYS M2540dw" = USB_Install, USB\VID_0482&PID_069e&MI_02
"Kyocera ECOSYS M2735dw" = USB_Install, USB\VID_0482&PID_06fe&MI_02
"Kyocera ECOSYS M2640idw" = USB_Install, USB\VID_0482&PID_069f&MI_02
"Kyocera ECOSYS M2540dw(J)" = USB_Install, USB\VID_0482&PID_06fb&MI_02
"Kyocera ECOSYS M2640idw(J)" = USB_Install, USB\VID_0482&PID_06fc&MI_02

;Printers
"Kyocera ECOSYS P2235dn" = USB_Install, USB\VID_0482&PID_0696&MI_01
"Kyocera ECOSYS P2040dn" = USB_Install, USB\VID_0482&PID_0698&MI_01
"Kyocera ECOSYS P2235dw" = USB_Install, USB\VID_0482&PID_0697&MI_01
"Kyocera ECOSYS P2040dw" = USB_Install, USB\VID_0482&PID_0699&MI_01
"Kyocera ECOSYS P2040dw(J)" = USB_Install, USB\VID_0482&PID_06f6&MI_01

; ========== Class definition ===========

[ClassInstall32]
AddReg = ClassInstall_AddReg

[ClassInstall_AddReg]
HKR,,,,%ClassName%
HKR,,NoInstallClass,,1
HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2

; =================== Installation ===================

[USB_Install]
Include = winusb.inf
Needs   = WINUSB.NT

[USB_Install.Services]
Include =winusb.inf
Needs   = WINUSB.NT.Services

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{9f543223-cede-4fa3-b376-a25ce9a30e74}"


[KMUSB]
Include=sti.inf
Needs=STI.USBSection

[KMUSB.Services]
AddService = usbscan, 0x00000002, KMUSB.UsbScan.AddService

[KMUSB.CopySys32Files]
usbscan.sys

[KMUSB.UsbScan.AddService]
DisplayName    = usb_scan
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\usbscan.sys
LoadOrderGroup = Base



; [DestinationDirs]
; If your INF needs to copy files, you must not use the DefaultDestDir directive here.  
; You must explicitly reference all file-list-section names in this section.

; =================== Strings ===================

[Strings]
ManufacturerName="KYOCERA Document Solutions Inc."
ClassName="Universal Serial Bus devices"
DeviceName="Kyocera WINUSB"
REG_MULTI_SZ = 0x00010000

