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