android_winusb.inf revision 0c638bb8b0b553d344242c0ea93fea92dd9dee3d
1;
2; Android WinUsb driver installation.
3;
4[Version]
5Signature           = "$Windows NT$"
6Class               = AndroidUsbDeviceClass
7ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
8Provider            = %ProviderName%
9DriverVer           = 08/11/2009,2.0.0010.00002
10CatalogFile.NTx86   = androidwinusb86.cat
11CatalogFile.NTamd64 = androidwinusba64.cat
12
13;
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".
17;
18[ClassInstall32]
19Addreg = AndroidWinUsbClassReg
20
21[AndroidWinUsbClassReg]
22HKR,,,0,%ClassName%
23HKR,,Icon,,-1
24
25[Manufacturer]
26%ProviderName% = Google, NTx86, NTamd64
27
28[Google.NTx86]
29; HTC Dream
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
35;
36;Moto Sholes
37%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D
38%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0002
39%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0002&MI_01
40%SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
41%CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
42
43[Google.NTamd64]
44; HTC Dream
45%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
46%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
47%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
48; HTC Magic
49%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
50;
51;Moto Sholes
52%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D
53%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0002
54%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0002&MI_01
55%SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
56%CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
57
58[USB_Install]
59Include = winusb.inf
60Needs   = WINUSB.NT
61
62[USB_Install.Services]
63Include     = winusb.inf
64AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall
65
66[WinUSB_ServiceInstall]
67DisplayName     = %WinUSB_SvcDesc%
68ServiceType     = 1
69StartType       = 3
70ErrorControl    = 1
71ServiceBinary   = %12%\WinUSB.sys
72
73[USB_Install.Wdf]
74KmdfService = WINUSB, WinUSB_Install
75
76[WinUSB_Install]
77KmdfLibraryVersion  = 1.7
78
79[USB_Install.HW]
80AddReg  = Dev_AddReg
81
82[Dev_AddReg]
83HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"
84
85[USB_Install.CoInstallers]
86AddReg    = CoInstallers_AddReg
87CopyFiles = CoInstallers_CopyFiles
88
89[CoInstallers_AddReg]
90HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01007.dll,WdfCoInstaller","WinUSBCoInstaller.dll"
91
92[CoInstallers_CopyFiles]
93WinUSBCoInstaller.dll
94WdfCoInstaller01007.dll
95
96[DestinationDirs]
97CoInstallers_CopyFiles=11
98
99[SourceDisksNames]
1001 = %DISK_NAME%,,,\i386
1012 = %DISK_NAME%,,,\amd64
102
103[SourceDisksFiles.x86]
104WinUSBCoInstaller.dll  = 1
105WdfCoInstaller01007.dll = 1
106
107[SourceDisksFiles.amd64]
108WinUSBCoInstaller.dll  = 2
109WdfCoInstaller01007.dll = 2
110
111[Strings]
112ProviderName                = "Google, Inc."
113SingleAdbInterface          = "Android ADB Interface"
114CompositeAdbInterface       = "Android Composite ADB Interface"
115SingleBootLoaderInterface   = "Android Bootloader Interface"
116WinUSB_SvcDesc              = "Android USB Driver"
117DISK_NAME                   = "Android WinUsb installation disk"
118ClassName                   = "Android Phone"
119