;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 12/01/2011,4.0.0000.2
CatalogFile.NTx86   = androidwinusb86.cat
CatalogFile.NTamd64 = androidwinusba64.cat

;
; This section seems to be required for WinUsb driver installation.
; If this section is removed the installer will report an error
; "Required section not found in INF file".
;
[ClassInstall32]
Addreg = AndroidWinUsbClassReg

[AndroidWinUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1

[Manufacturer]
%ProviderName% = ASUS, NTx86, NTamd64

[ASUS.NTx86]
; TF101
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E1F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E3F&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E5F&MI_01

; SL101
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E01&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E03&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E05&MI_01

; TF201
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4D01&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4D03&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4D05&MI_01

; TF201X
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C81&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C83&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C85&MI_01

; TF300T
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C91&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C93&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C95&MI_01

; ME271
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4CA1&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4CA3&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4CA5&MI_01

; DaiHuKu
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4DEF&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4DDE&MI_02

; ME171
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F1F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F3F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F5F&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F7F&MI_01

; A66
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9025&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9031&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9039&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9042&MI_04
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5201&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5203&MI_00
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5205&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5207&MI_01

; Single ADB interface for all projects
%SingleAdbInterface% = USB_Install, USB\VID_0B05&PID_4DAE
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D001

; Fastboot for all projects
%SingleBootLoaderInterface% = USB_Install, USB\VID_0B05&PID_4DAF
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D

[ASUS.NTamd64]
; TF101
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E1F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E3F&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E5F&MI_01

; SL101
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E01&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E03&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4E05&MI_01

; TF201
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4D01&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4D03&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4D05&MI_01

; TF201X
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C81&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C83&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C85&MI_01

; TF300T
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C91&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C93&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4C95&MI_01

; ME271
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4CA1&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4CA3&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4CA5&MI_01

; DaiHuKu
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4DEF&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4DDE&MI_02

; ME171
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F1F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F3F&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F5F&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_4F7F&MI_01

; A66
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9025&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9031&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9039&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_05C6&PID_9042&MI_04
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5201&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5203&MI_00
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5205&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_0B05&PID_5207&MI_01

; Single ADB interface for all projects
%SingleAdbInterface% = USB_Install, USB\VID_0B05&PID_4DAE
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D001

; Fastboot for all projects
%SingleBootLoaderInterface% = USB_Install, USB\VID_0B05&PID_4DAF
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D

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

[USB_Install.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion  = 1.9

[USB_Install.HW]
AddReg  = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

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

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

[SourceDisksNames]
1 = %DISK_NAME%,,,\i386
2 = %DISK_NAME%,,,\amd64

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll  = 1
WdfCoInstaller01009.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll  = 2
WdfCoInstaller01009.dll = 2

[Strings]
ProviderName                = "ASUSTeK COMPUTER INC."
SingleAdbInterface          = "ASUS Android ADB Interface"
CompositeAdbInterface       = "ASUS Android Composite ADB Interface"
SingleBootLoaderInterface   = "ASUS Android Bootloader Interface"
WinUSB_SvcDesc              = "ASUS Android USB Driver"
DISK_NAME                   = "ASUS Android WinUsb installation disk"
ClassName                   = "ASUS Android Devices"
