1 ;/*++ 2 ; 3 ;Abstract: 4 ; Installation inf for the Android USB Bulk device 5 ; 6 ;--*/ 7 8 [Version] 9 Signature="$WINDOWS NT$" 10 Class=USB 11 ClassGuid={F72FE0D4-CBCB-407d-8814-9ED673D0DD6B} 12 Provider=%GOOG% 13 DriverVer=1/29/2009,1.0.0010.00000 14 CatalogFile.NTx86=androidusb86.cat 15 CatalogFile.NTamd64=androidusba64.cat 16 17 ; ================= Class section ===================== 18 19 [ClassInstall32] 20 Addreg=AndroidUsbClassReg 21 22 [AndroidUsbClassReg] 23 HKR,,,0,%ClassName% 24 HKR,,Icon,,-5 25 26 [DestinationDirs] 27 DefaultDestDir = 12 28 29 ; ================= Device section ===================== 30 31 [Manufacturer] 32 %MfgName%=Google,NTx86,NTamd64 33 34 ; For Win2K 35 [Google] 36 ; For loopback testing 37 %USB\VID_18D1&PID_DDDD.DeviceDescTest%=androidusb.Dev, USB\VID_18D1&PID_DDDD 38 ; HTC Dream 39 %USB\VID_0BB4&PID_0C01.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0C01 40 %USB\VID_0BB4&PID_0C02&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0C02&MI_01 41 %USB\VID_0BB4&PID_0FFF.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0FFF 42 43 ; For XP and later 44 [Google.NTx86] 45 ; For loopback testing 46 %USB\VID_18D1&PID_DDDD.DeviceDescTest%=androidusb.Dev, USB\VID_18D1&PID_DDDD 47 ; HTC Dream 48 %USB\VID_0BB4&PID_0C01.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0C01 49 %USB\VID_0BB4&PID_0C02&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0C02&MI_01 50 %USB\VID_0BB4&PID_0FFF.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0FFF 51 52 ; For AMD64 and later 53 [Google.NTamd64] 54 ; For loopback testing 55 %USB\VID_18D1&PID_DDDD.DeviceDescTest%=androidusb.Dev, USB\VID_18D1&PID_DDDD 56 ; HTC Dream 57 %USB\VID_0BB4&PID_0C01.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0C01 58 %USB\VID_0BB4&PID_0C02&MI_01.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0C02&MI_01 59 %USB\VID_0BB4&PID_0FFF.DeviceDescRelease%=androidusb.Dev, USB\VID_0BB4&PID_0FFF 60 61 [androidusb.Dev.NT] 62 CopyFiles=androidusb.Files.Ext 63 64 [androidusb.Dev.NT.Services] 65 Addservice = androidusb, 0x00000002, androidusb.AddService 66 67 [androidusb.AddService] 68 DisplayName = %androidusb.SvcDesc% 69 ServiceType = 1 ; SERVICE_KERNEL_DRIVER 70 StartType = 3 ; SERVICE_DEMAND_START 71 ErrorControl = 1 ; SERVICE_ERROR_NORMAL 72 ServiceBinary = %10%\System32\Drivers\androidusb.sys 73 AddReg = androidusb.AddReg 74 LoadOrderGroup = Base 75 76 [androidusb.AddReg] 77 HKR,"Parameters","MaximumTransferSize",0x10001,4096 78 HKR,"Parameters","DebugLevel",0x10001,2 79 HKR, Parameters\Wdf, VerboseOn, 0x00010001, 1 80 HKR, Parameters\Wdf, VerifierOn, 0x00010001, 1 81 HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1 82 83 [androidusb.Files.Ext] 84 androidusb.sys 85 86 [SourceDisksNames] 87 1=%Disk_Description%,,, 88 89 [SourceDisksFiles] 90 androidusb.sys = 1 91 92 ;-------------- WDF Coinstaller installation 93 [DestinationDirs] 94 CoInstaller_CopyFiles = 11 95 96 [androidusb.Dev.NT.CoInstallers] 97 AddReg=CoInstaller_AddReg 98 CopyFiles=CoInstaller_CopyFiles 99 100 [CoInstaller_CopyFiles] 101 wdfcoinstaller01005.dll 102 103 [SourceDisksFiles] 104 wdfcoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames 105 106 [CoInstaller_AddReg] 107 HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller" 108 109 [androidusb.Dev.NT.Wdf] 110 KmdfService = androidusb, androidusb_wdfsect 111 112 [androidusb_wdfsect] 113 KmdfLibraryVersion = 1.5 114 115 ;---------------------------------------------------------------; 116 117 [Strings] 118 GOOG = "Google, Inc" 119 MfgName = "Google, Inc" 120 Disk_Description= "ADB Interface Installation Disk" 121 androidusb.SvcDesc = "ADB Interface Driver" 122 ClassName = "ADB Interface" 123 USB\VID_18D1&PID_DDDD.DeviceDescTest="ADB Testing Interface" 124 USB\VID_0BB4&PID_0C01.DeviceDescRelease="HTC Dream" 125 USB\VID_0BB4&PID_0C02&MI_01.DeviceDescRelease="HTC Dream Composite ADB Interface" 126 USB\VID_0BB4&PID_0FFF.DeviceDescRelease="HTC Bootloader" 127