;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 08/11/2009,2.0.0010.00004
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% = Google, NTx86, NTamd64

[Google.NTx86]
;MT65xx meta mode
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0005
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0005&MI_01
;Lenovo ADB Interface
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7435&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7437&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7498&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749B&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749D&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_74A4&MI_01
;Lenovo meta mode
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7437
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7437&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7498
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7498&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749B
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749B&MI_01
;Lenovo ADB Interface
%CompositeAdbInterface%     = USB_Install, USB\VID_2006&PID_0C03&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_05c6&PID_9025&MI_01
;Lenovo meta mode
%CompositeAdbInterface%     = USB_Install, USB\VID_2006&PID_0005
%CompositeAdbInterface%     = USB_Install, USB\VID_2006&PID_0005&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_D00D
; lenovo 8x25
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7495&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74EC&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74ED&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74EE&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74F6&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74F8&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74F9&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7500&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7501&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7509&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_750A&MI_01
; lenovo future
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_750D&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_750E&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7513&MI_00

[Google.NTamd64]
;MT65xx meta mode
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0005
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0005&MI_01
;Lenovo ADB Interface
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7435&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7437&MI_02
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7498&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749B&MI_01
;Lenovo meta mode
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7438
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7438&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7437
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7437&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7498
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_7498&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749B
%CompositeAdbInterface%     = USB_Install, USB\VID_17EF&PID_749B&MI_01
;Lenovo ADB Interface
%CompositeAdbInterface%     = USB_Install, USB\VID_2006&PID_0C03&MI_01
;Lenovo meta mode
%CompositeAdbInterface%     = USB_Install, USB\VID_2006&PID_0005
%CompositeAdbInterface%     = USB_Install, USB\VID_2006&PID_0005&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_D00D
; lenovo 8x25
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7495&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74EC&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74ED&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74EE&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74F6&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74F8&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_74F9&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7500&MI_02
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7501&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7509&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_750A&MI_01
; lenovo future
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_750D&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_750E&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_17EF&PID_7513&MI_00

[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.7

[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,"WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01007.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

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

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll  = 1
WdfCoInstaller01007.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller.dll  = 2
WdfCoInstaller01007.dll = 2

[Strings]
ProviderName                = "Lenovo Inc."
SingleAdbInterface          = "Lenovo ADB Interface"
CompositeAdbInterface       = "Lenovo Composite ADB Interface"
SingleBootLoaderInterface   = "Lenovo Bootloader Interface"
WinUSB_SvcDesc              = "Lenovo USB Driver"
DISK_NAME                   = "Lenovo WinUsb installation disk"
ClassName                   = "Lenovo Device"
