vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 1 | ;
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 2 | ; Android WinUsb driver installation.
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 3 | ;
|
| 4 | [Version]
|
| 5 | Signature = "$Windows NT$"
|
Raphael | 0c638bb | 2009-09-21 12:45:53 -0700 | [diff] [blame] | 6 | Class = AndroidUsbDeviceClass
|
| 7 | ClassGuid = {3F966BD9-FA04-4ec5-991C-D326973B5128}
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 8 | Provider = %ProviderName%
|
Raphael | 327b8aa | 2010-12-06 16:33:25 -0800 | [diff] [blame] | 9 | DriverVer = 12/06/2010,4.0.0000.00000
|
Raphael | 0c638bb | 2009-09-21 12:45:53 -0700 | [diff] [blame] | 10 | CatalogFile.NTx86 = androidwinusb86.cat
|
| 11 | CatalogFile.NTamd64 = androidwinusba64.cat
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 12 |
|
| 13 | ;
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 14 | ; This section seems to be required for WinUsb driver installation.
|
| 15 | ; If this section is removed the installer will report an error
|
| 16 | ; "Required section not found in INF file".
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 17 | ;
|
| 18 | [ClassInstall32]
|
| 19 | Addreg = AndroidWinUsbClassReg
|
| 20 |
|
| 21 | [AndroidWinUsbClassReg]
|
| 22 | HKR,,,0,%ClassName%
|
| 23 | HKR,,Icon,,-1
|
| 24 |
|
| 25 | [Manufacturer]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 26 | %ProviderName% = Google, NTx86, NTamd64
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 27 |
|
| 28 | [Google.NTx86]
|
| 29 | ; HTC Dream
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 30 | %SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C01
|
| 31 | %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
|
| 32 | %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
|
| 33 | ; HTC Magic
|
| 34 | %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
|
Raphael | 0c638bb | 2009-09-21 12:45:53 -0700 | [diff] [blame] | 35 | ;
|
| 36 | ;Moto Sholes
|
Raphael | 0c638bb | 2009-09-21 12:45:53 -0700 | [diff] [blame] | 37 | %SingleAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB
|
| 38 | %CompositeAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB&MI_01
|
vchtchetkine | ecef813 | 2009-12-11 07:14:38 -0800 | [diff] [blame] | 39 | ;
|
| 40 | ;Google NexusOne
|
Vladimir Chtchetkine | deef918 | 2010-05-18 13:45:36 -0700 | [diff] [blame] | 41 | %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02
|
vchtchetkine | ecef813 | 2009-12-11 07:14:38 -0800 | [diff] [blame] | 42 | %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02&MI_01
|
Vladimir Chtchetkine | deef918 | 2010-05-18 13:45:36 -0700 | [diff] [blame] | 43 | %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11
|
| 44 | %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E12&MI_01
|
Raphael | f3dca55 | 2010-02-04 11:13:13 -0800 | [diff] [blame] | 45 | %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E22&MI_01
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 46 |
|
| 47 | [Google.NTamd64]
|
| 48 | ; HTC Dream
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 49 | %SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C01
|
| 50 | %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
|
| 51 | %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
|
| 52 | ; HTC Magic
|
| 53 | %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
|
Raphael | 0c638bb | 2009-09-21 12:45:53 -0700 | [diff] [blame] | 54 | ;
|
| 55 | ;Moto Sholes
|
Raphael | 0c638bb | 2009-09-21 12:45:53 -0700 | [diff] [blame] | 56 | %SingleAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB
|
| 57 | %CompositeAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB&MI_01
|
vchtchetkine | ecef813 | 2009-12-11 07:14:38 -0800 | [diff] [blame] | 58 | ;
|
| 59 | ;Google NexusOne
|
| 60 | %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02
|
Vladimir Chtchetkine | deef918 | 2010-05-18 13:45:36 -0700 | [diff] [blame] | 61 | %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02&MI_01
|
vchtchetkine | ecef813 | 2009-12-11 07:14:38 -0800 | [diff] [blame] | 62 | %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11
|
Vladimir Chtchetkine | deef918 | 2010-05-18 13:45:36 -0700 | [diff] [blame] | 63 | %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E12&MI_01
|
Raphael | f3dca55 | 2010-02-04 11:13:13 -0800 | [diff] [blame] | 64 | %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E22&MI_01
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 65 |
|
| 66 | [USB_Install]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 67 | Include = winusb.inf
|
| 68 | Needs = WINUSB.NT
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 69 |
|
| 70 | [USB_Install.Services]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 71 | Include = winusb.inf
|
| 72 | AddService = WinUSB,0x00000002,WinUSB_ServiceInstall
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 73 |
|
| 74 | [WinUSB_ServiceInstall]
|
| 75 | DisplayName = %WinUSB_SvcDesc%
|
| 76 | ServiceType = 1
|
| 77 | StartType = 3
|
| 78 | ErrorControl = 1
|
| 79 | ServiceBinary = %12%\WinUSB.sys
|
| 80 |
|
| 81 | [USB_Install.Wdf]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 82 | KmdfService = WINUSB, WinUSB_Install
|
| 83 |
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 84 | [WinUSB_Install]
|
Raphael | 327b8aa | 2010-12-06 16:33:25 -0800 | [diff] [blame] | 85 | KmdfLibraryVersion = 1.9
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 86 |
|
| 87 | [USB_Install.HW]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 88 | AddReg = Dev_AddReg
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 89 |
|
| 90 | [Dev_AddReg]
|
| 91 | HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"
|
| 92 |
|
| 93 | [USB_Install.CoInstallers]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 94 | AddReg = CoInstallers_AddReg
|
| 95 | CopyFiles = CoInstallers_CopyFiles
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 96 |
|
| 97 | [CoInstallers_AddReg]
|
Raphael | 327b8aa | 2010-12-06 16:33:25 -0800 | [diff] [blame] | 98 | HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 99 |
|
| 100 | [CoInstallers_CopyFiles]
|
Raphael | 327b8aa | 2010-12-06 16:33:25 -0800 | [diff] [blame] | 101 | WinUSBCoInstaller2.dll
|
| 102 | WdfCoInstaller01009.dll
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 103 |
|
| 104 | [DestinationDirs]
|
| 105 | CoInstallers_CopyFiles=11
|
| 106 |
|
| 107 | [SourceDisksNames]
|
| 108 | 1 = %DISK_NAME%,,,\i386
|
| 109 | 2 = %DISK_NAME%,,,\amd64
|
| 110 |
|
| 111 | [SourceDisksFiles.x86]
|
Raphael | 327b8aa | 2010-12-06 16:33:25 -0800 | [diff] [blame] | 112 | WinUSBCoInstaller2.dll = 1
|
| 113 | WdfCoInstaller01009.dll = 1
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 114 |
|
| 115 | [SourceDisksFiles.amd64]
|
Raphael | 327b8aa | 2010-12-06 16:33:25 -0800 | [diff] [blame] | 116 | WinUSBCoInstaller2.dll = 2
|
| 117 | WdfCoInstaller01009.dll = 2
|
vchtchetkine | f5d51ce | 2009-07-30 10:19:02 -0700 | [diff] [blame] | 118 |
|
| 119 | [Strings]
|
vchtchetkine | 653de15 | 2009-08-12 14:18:32 -0700 | [diff] [blame] | 120 | ProviderName = "Google, Inc."
|
| 121 | SingleAdbInterface = "Android ADB Interface"
|
| 122 | CompositeAdbInterface = "Android Composite ADB Interface"
|
| 123 | SingleBootLoaderInterface = "Android Bootloader Interface"
|
| 124 | WinUSB_SvcDesc = "Android USB Driver"
|
| 125 | DISK_NAME = "Android WinUsb installation disk"
|
| 126 | ClassName = "Android Phone"
|