; Copyright (c)  2009, Code Aurora Forum. All rights reserved.
;/*++
;
;Abstract:
;    Installation inf for the Android USB Bulk device
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}
Provider=%ACER%
DriverVer=10/11/2011,1.0.0010.00000
CatalogFile.NTx86=androidusb86.cat
CatalogFile.NTamd64=androidusba64.cat

; ================= Class section =====================

[ClassInstall32]
Addreg=AndroidUsbClassReg

[AndroidUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[DestinationDirs]
DefaultDestDir = 12

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

[Manufacturer]
%MfgName%=ACER,NTx86,NTamd64
%GateWay_MfgName%=GateWay,NTx86,NTamd64
%PackardBell_MfgName%=PackardBell,NTx86,NTamd64

; For Win2K
[GateWay]
;for Iconia Tab adb driver (Maya Gateway)
%USB\VID_0502&PID_3355&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3355&MI_01
%USB\VID_0502&PID_3357&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3357&MI_01
%USB\VID_0502&PID_3359&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3359&MI_02

[PackardBell]
; for Iconia Tab adb driver (Maya Packard Bell)
%USB\VID_0502&PID_335B&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335B&MI_01
%USB\VID_0502&PID_335D&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335D&MI_01
%USB\VID_0502&PID_335F&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335F&MI_02

[ACER]
; for Iconia Tab adb driver (Picasso)
%USB\VID_0502&PID_3325&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3325&MI_01
%USB\VID_0502&PID_3344&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3344&MI_01
%USB\VID_0502&PID_3346&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3346&MI_02

; for Iconia Tab adb driver (Vangogh)
%USB\VID_0502&PID_3348&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3348&MI_01
%USB\VID_0502&PID_334A&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_334A&MI_01
%USB\VID_0502&PID_334C&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_334C&MI_02

; for Iconia Tab (PicassoE)
%USB\VID_0502&PID_337C&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_337C&MI_01

%USB\VID_0502&PID_3201.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3201
%USB\VID_0502&PID_3202&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3202&MI_01
%USB\VID_0502&PID_3222&MI_03.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3222&MI_03
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3301
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3302&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3306
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3307&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_330B
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_330C&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3316
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3317&MI_01
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3319&MI_03
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3311
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3312&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_331C
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_331D&MI_01
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_331F&MI_03

; For XP and later
[GateWay.NTx86]
; for Iconia Tab adb driver (Maya Gateway)
%USB\VID_0502&PID_3355&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3355&MI_01
%USB\VID_0502&PID_3357&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3357&MI_01
%USB\VID_0502&PID_3359&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3359&MI_02

[PackardBell.NTx86]
; for Iconia Tab adb driver (Maya Packard Bell)
%USB\VID_0502&PID_335B&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335B&MI_01
%USB\VID_0502&PID_335D&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335D&MI_01
%USB\VID_0502&PID_335F&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335F&MI_02

[ACER.NTx86]
; for Iconia Tab (Picasso)
%USB\VID_0502&PID_3325&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3325&MI_01
%USB\VID_0502&PID_3344&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3344&MI_01
%USB\VID_0502&PID_3346&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3346&MI_02

; for Iconia TAB (Vangogh)
%USB\VID_0502&PID_3348&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3348&MI_01
%USB\VID_0502&PID_334A&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_334A&MI_01
%USB\VID_0502&PID_334C&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_334C&MI_02

; for Iconia Tab (PicassoE)
%USB\VID_0502&PID_337C&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_337C&MI_01

%USB\VID_0502&PID_3201.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3201
%USB\VID_0502&PID_3202&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3202&MI_01
%USB\VID_0502&PID_3222&MI_03.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3222&MI_03
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3301
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3302&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3306
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3307&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_330B
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_330C&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3316
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3317&MI_01
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3319&MI_03
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3311
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3312&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_331C
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_331D&MI_01
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_331F&MI_03

; For AMD64 and later

[GateWay.NTamd64]
; for Iconia Tab adb driver (Maya Gateway)
%USB\VID_0502&PID_3355&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3355&MI_01
%USB\VID_0502&PID_3357&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3357&MI_01
%USB\VID_0502&PID_3359&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3359&MI_02

[PackardBell.NTamd64]
; for Iconia Tab adb driver (Maya Packard Bell)
%USB\VID_0502&PID_335B&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335B&MI_01
%USB\VID_0502&PID_335D&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335D&MI_01
%USB\VID_0502&PID_335F&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_335F&MI_02

[ACER.NTamd64]
; for Iconia TAB (Picasso)
%USB\VID_0502&PID_3325&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3325&MI_01
%USB\VID_0502&PID_3344&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3344&MI_01
%USB\VID_0502&PID_3346&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3346&MI_02

; for Iconia TAB (Vangogh)
%USB\VID_0502&PID_3348&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3348&MI_01
%USB\VID_0502&PID_334A&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_334A&MI_01
%USB\VID_0502&PID_334C&MI_02.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_334C&MI_02

; for Iconia Tab (PicassoE)
%USB\VID_0502&PID_337C&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_337C&MI_01

%USB\VID_0502&PID_3201.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3201
%USB\VID_0502&PID_3202&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3202&MI_01
%USB\VID_0502&PID_3222&MI_03.DeviceDescRelease%=androidusb.Dev, USB\VID_0502&PID_3222&MI_03
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3301
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3302&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3306
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3307&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_330B
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_330C&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3316
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3317&MI_01
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3319&MI_03
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_3311
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_3312&MI_01
%ACERFASTBOOT%=androidusb.Dev, USB\VID_0502&PID_331C
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_331D&MI_01
%ACERADBDEVIC%=androidusb.Dev, USB\VID_0502&PID_331F&MI_03

[androidusb.Dev.NT]
CopyFiles=androidusb.Files.Ext

[androidusb.Dev.NT.Services]
Addservice = androidusb, 0x00000002, androidusb.AddService

[androidusb.AddService]
DisplayName    = %androidusb.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\androidusb.sys
AddReg         = androidusb.AddReg
LoadOrderGroup = Base

[androidusb.AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,4096
HKR,"Parameters","DebugLevel",0x10001,2
HKR, Parameters\Wdf, VerboseOn,       0x00010001, 1
HKR, Parameters\Wdf, VerifierOn,      0x00010001, 1
HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1

[androidusb.Files.Ext]
androidusb.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles]
androidusb.sys = 1

;-------------- WDF Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11

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

[CoInstaller_CopyFiles]
wdfcoinstaller01005.dll

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

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

[androidusb.Dev.NT.Wdf]
KmdfService = androidusb, androidusb_wdfsect

[androidusb_wdfsect]
KmdfLibraryVersion = 1.5

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

[Strings]
ACER            = "Acer, Inc"
MfgName         = "Acer, Inc"
Disk_Description= "ADB Interface Installation Disk"
androidusb.SvcDesc = "ADB Interface Driver"
ClassName       = "ADB Interface"

; for Tab product (Maya)
GateWay         = "GateWay, Inc"
GateWay_MfgName = "GateWay, Inc"
PackardBell      = "Packard Bell, Inc"
PackardBell_MfgName= "Packard Bell, Inc"


; for Iconia TAB (Picasso)
USB\VID_0502&PID_3325&MI_01.DeviceDescRelease="ACER Composite ADB Interface"
USB\VID_0502&PID_3344&MI_01.DeviceDescRelease="ACER Composite ADB Interface"
USB\VID_0502&PID_3346&MI_02.DeviceDescRelease="ACER Composite ADB Interface"

; for Iconia TAB (Vangogh)
USB\VID_0502&PID_3348&MI_01.DeviceDescRelease="ACER Composite ADB Interface"
USB\VID_0502&PID_334A&MI_01.DeviceDescRelease="ACER Composite ADB Interface"
USB\VID_0502&PID_334C&MI_02.DeviceDescRelease="ACER Composite ADB Interface"

; for Iconia Tab (PicassoE)
USB\VID_0502&PID_337C&MI_01.DeviceDescRelease="ACER Composite ADB Interface"

; for Iconia TAB (Maya Gateway)
USB\VID_0502&PID_3355&MI_01.DeviceDescRelease="Gateway Composite ADB Interface"
USB\VID_0502&PID_3357&MI_01.DeviceDescRelease="Gateway Composite ADB Interface"
USB\VID_0502&PID_3359&MI_02.DeviceDescRelease="Gateway Composite ADB Interface"

; for Iconia TAB (Maya Packard Bell)
USB\VID_0502&PID_335B&MI_01.DeviceDescRelease="Packard Bell Composite ADB Interface"
USB\VID_0502&PID_335D&MI_01.DeviceDescRelease="Packard Bell Composite ADB Interface"
USB\VID_0502&PID_335F&MI_02.DeviceDescRelease="Packard Bell Composite ADB Interface"

USB\VID_0502&PID_3201.DeviceDescRelease="ACER Fastboot interface"
USB\VID_0502&PID_3202&MI_01.DeviceDescRelease="ACER Composite ADB Interface"
USB\VID_0502&PID_3222&MI_03.DeviceDescRelease="ACER Composite ADB Interface"


ACERFASTBOOT="ACER Fastboot interface"
ACERADBDEVIC="ACER Composite ADB Interface"
