android_usb.inf
上传用户:scyali
上传日期:2019-05-08
资源大小:1377k
文件大小:5k
源码类别:

android开发

开发平台:

Unix_Linux

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