; Lenovo ADB Driver Setup File
; Copyright (c) 2009-2012 Lenovo Group Limited

[Version]
Signature   = "$Windows NT$"
Class       = LenovoAdbDeviceClass
ClassGuid   = {7FBB95E1-9AF5-4799-94A8-89776A45BF78}
Provider    = %Lenovo%
DriverVer   = 04/28/2010,2.0.0.1
CatalogFile = leusbadb.cat

[ClassInstall32]
Addreg = LenovoADBClassReg

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

[Manufacturer]
%Lenovo%          = LenovoDevice,NTx86,NTamd64

[LenovoDevice.NTx86]
; google default fastboot device (some LePhone use this)
%FastbootDevice%=USB_Install, USB\VID_18D1&PID_D00D

; LePhone 3GW100
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7401&MI_01
; LePhone 3GW101
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7403&MI_01
; LePhone 3GC101
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7405&MI_01
; LePad U1
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7406&MI_02
; IdeaPad Tablet K1
%AdbDevice%=USB_Install, USB\VID_17EF&PID_740A&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_740B&MI_02
%FastbootDevice%=USB_Install, USB\VID_17EF&PID_740C
; LePhone S1-37AH0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_740E&MI_01
; LePhone A1-32AB0 Amazon WCDMA
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7410&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7424&MI_02
; LePhone Amazon EVDO
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7426&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7428&MI_02
; LePhone P1-38AB0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7412&MI_01
; LePhone P1-38AJ0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7414&MI_01
; LePhone S2-38AH0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7416&MI_01
; LePhone S2-38AE0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7418&MI_01
;Apollo zero WCDMA
%AdbDevice%=USB_Install, USB\VID_17EF&PID_744A&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_744B&MI_02
;Apollo HD WCDMA
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7459&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_745B&MI_02
;Apollo Racer-A
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7470&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7475&MI_02
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7540&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7541&MI_01
;K5
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B0&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B2&MI_02
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B5&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B6&MI_01

[LenovoDevice.NTamd64]
; google default fastboot device (some LePhone use this)
%FastbootDevice%=USB_Install, USB\VID_18D1&PID_D00D

; LePhone 3GW100
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7401&MI_01
; LePhone 3GW101
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7403&MI_01
; LePhone 3GC101
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7405&MI_01
; LePad U1
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7406&MI_02
; IdeaPad Tablet K1
%AdbDevice%=USB_Install, USB\VID_17EF&PID_740A&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_740B&MI_02
%FastbootDevice%=USB_Install, USB\VID_17EF&PID_740C
; LePhone S1-37AH0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_740E&MI_01
; LePhone A1-32AB0 Amazon WCDMA
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7410&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7424&MI_02
; LePhone Amazon EVDO
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7426&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7428&MI_02
; LePhone P1-38AB0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7412&MI_01
; LePhone P1-38AJ0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7414&MI_01
; LePhone S2-38AH0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7416&MI_01
; LePhone S2-38AE0
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7418&MI_01
;Apollo zero WCDMA
%AdbDevice%=USB_Install, USB\VID_17EF&PID_744A&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_744B&MI_02
;Apollo HD WCDMA
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7459&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_745B&MI_02
;Apollo Racer-A
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7470&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7475&MI_02
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7540&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_7541&MI_01
;K5
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B0&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B2&MI_02
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B5&MI_01
%AdbDevice%=USB_Install, USB\VID_17EF&PID_75B6&MI_01

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

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

[WinUSB_ServiceInstall]
DisplayName     = %ServiceName%
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,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

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

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

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

[Strings]
Lenovo      = "Lenovo Group Limited"
ServiceName = "Lenovo ADB Driver"
DiskName    = "Lenovo Device Installation Disk"
ClassName   = "Lenovo ADB Devices"

FastbootDevice = "Lenovo Fastboot Device"
AdbDevice = "Lenovo K900 ADB Interface"

