android_usb.inf
上传用户:scyali
上传日期:2019-05-08
资源大小:1377k
文件大小:5k
- ;/*++
- ;
- ;Abstract:
- ; Installation inf for the Android USB Bulk device
- ;
- ;--*/
- [Version]
- Signature="$WINDOWS NT$"
- Class=USB
- ClassGuid={F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}
- Provider=%GOOG%
- DriverVer=12/11/2008,1.0.0009.00000
- CatalogFile.NTx86=androidusb86.cat
- CatalogFile.NTamd64=androidusba64.cat
- ; ================= Class section =====================
- [ClassInstall32]
- Addreg=AndroidUsbClassReg
- [AndroidUsbClassReg]
- HKR,,,0,%ClassName%
- HKR,,Icon,,-5
- [DestinationDirs]
- DefaultDestDir = 12
- ; ================= Device section =====================
- [Manufacturer]
- %MfgName%=Google,NTx86,NTamd64
- ; For Win2K
- [Google]
- ; For loopback testing
- %USBVID_18D1&PID_DDDD.DeviceDescTest%=androidusb.Dev, USBVID_18D1&PID_DDDD
- ; Android Sooner
- %USBVID_18D1&PID_D00D.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_D00D
- %USBVID_18D1&PID_DEED&MI_01.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_DEED&MI_01
- %USBVID_18D1&PID_DEED&MI_02.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_DEED&MI_02
- ; HTC Dream
- %USBVID_0BB4&PID_0C01.DeviceDescRelease%=androidusb.Dev, USBVID_0BB4&PID_0C01
- %USBVID_0BB4&PID_0C02&MI_01.DeviceDescRelease%=androidusb.Dev, USBVID_0BB4&PID_0C02&MI_01
- ; For XP and later
- [Google.NTx86]
- ; For loopback testing
- %USBVID_18D1&PID_DDDD.DeviceDescTest%=androidusb.Dev, USBVID_18D1&PID_DDDD
- ; Android Sooner
- %USBVID_18D1&PID_D00D.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_D00D
- %USBVID_18D1&PID_DEED&MI_01.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_DEED&MI_01
- %USBVID_18D1&PID_DEED&MI_02.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_DEED&MI_02
- ; HTC Dream
- %USBVID_0BB4&PID_0C01.DeviceDescRelease%=androidusb.Dev, USBVID_0BB4&PID_0C01
- %USBVID_0BB4&PID_0C02&MI_01.DeviceDescRelease%=androidusb.Dev, USBVID_0BB4&PID_0C02&MI_01
- ;SAMSUNG
- %USBVID_18D1&PID_0001.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_0001
- %USBVID_18D1&PID_0005&MI_01.DeviceDescRelease%=androidusb.Dev, USBVID_18D1&PID_0005&MI_01
- ; For AMD64 and later
- [Google.NTamd64]
- ; For loopback testing
- %USBVID_18D1&PID_DDDD.DeviceDescTest%=androidusb.Dev, USBVID_18D1&PID_DDDD
- ; HTC Dream
- %USBVID_0BB4&PID_0C01.DeviceDescRelease%=androidusb.Dev, USBVID_0BB4&PID_0C01
- %USBVID_0BB4&PID_0C02&MI_01.DeviceDescRelease%=androidusb.Dev, USBVID_0BB4&PID_0C02&MI_01
- [androidusb.Dev.NT]
- CopyFiles=androidusb.Files.Ext
- [androidusb.Dev.NT.Services]
- Addservice = androidusb, 0x00000002, androidusb.AddService
- [androidusb.AddService]
- DisplayName = %androidusb.SvcDesc%
- ServiceType = 1 ; SERVICE_KERNEL_DRIVER
- StartType = 3 ; SERVICE_DEMAND_START
- ErrorControl = 1 ; SERVICE_ERROR_NORMAL
- ServiceBinary = %10%System32Driversandroidusb.sys
- AddReg = androidusb.AddReg
- LoadOrderGroup = Base
- [androidusb.AddReg]
- HKR,"Parameters","MaximumTransferSize",0x10001,4096
- HKR,"Parameters","DebugLevel",0x10001,2
- HKR, ParametersWdf, VerboseOn, 0x00010001, 1
- HKR, ParametersWdf, VerifierOn, 0x00010001, 1
- HKR, ParametersWdf, DbgBreakOnError, 0x00010001, 1
- [androidusb.Files.Ext]
- androidusb.sys
- [SourceDisksNames]
- 1=%Disk_Description%,,,
- [SourceDisksFiles]
- androidusb.sys = 1
- ;-------------- WDF Coinstaller installation
- [DestinationDirs]
- CoInstaller_CopyFiles = 11
- [androidusb.Dev.NT.CoInstallers]
- AddReg=CoInstaller_AddReg
- CopyFiles=CoInstaller_CopyFiles
- [CoInstaller_CopyFiles]
- wdfcoinstaller01005.dll
- [SourceDisksFiles]
- wdfcoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames
- [CoInstaller_AddReg]
- HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller"
- [androidusb.Dev.NT.Wdf]
- KmdfService = androidusb, androidusb_wdfsect
- [androidusb_wdfsect]
- KmdfLibraryVersion = 1.5
- ;---------------------------------------------------------------;
- [Strings]
- GOOG = "Google, Inc"
- MfgName = "Google, Inc"
- Disk_Description= "ADB Interface Installation Disk"
- androidusb.SvcDesc = "ADB Interface Driver"
- ClassName = "ADB Interface"
- USBVID_18D1&PID_DDDD.DeviceDescTest="Android Sooner ADB Testing Interface"
- USBVID_18D1&PID_D00D.DeviceDescRelease="Android Sooner Single ADB Interface"
- USBVID_18D1&PID_DEED&MI_01.DeviceDescRelease="Android Sooner Composite ADB Interface"
- USBVID_18D1&PID_DEED&MI_02.DeviceDescRelease="Android Sooner Kernel Debug Interface"
- USBVID_0BB4&PID_0C01.DeviceDescRelease="HTC Dream"
- USBVID_0BB4&PID_0C02&MI_01.DeviceDescRelease="HTC Dream Composite ADB Interface"
- ;SAMSUNG
- USBVID_18D1&PID_0001.DeviceDescRelease="Samsung Android USB"
- USBVID_18D1&PID_0005&MI_01.DeviceDescRelease="Samsung Android Composite ADB Interface"