kerneltest/e32test/usb/t_usb_win/bin_distribution/tusbwin.inf
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 ; Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 ; All rights reserved.
       
     3 ; This component and the accompanying materials are made available
       
     4 ; under the terms of the License "Eclipse Public License v1.0"
       
     5 ; which accompanies this distribution, and is available
       
     6 ; at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 ;
       
     8 ; Initial Contributors:
       
     9 ; Nokia Corporation - initial contribution.
       
    10 ;
       
    11 ; Contributors:
       
    12 ;
       
    13 ; Description:
       
    14 ; TUSBWIN Setup Information file
       
    15 ;
       
    16 ; This file supports:
       
    17 ;     Windows 2000
       
    18 ;     Windows 2000 Server
       
    19 ;     Windows XP
       
    20 ;     Windows Server 2003
       
    21 ;     Windows Vista
       
    22 ;
       
    23 ; Note:
       
    24 ; Some section names (enclosed in []) are system-defined and should not be changed.
       
    25 ; Private section names start with an '_'. Those can be changed.
       
    26 ;
       
    27 ; Refer to the Windows DDK documentation for more information on INF files.
       
    28 ;
       
    29 
       
    30 ;******************************************************************************
       
    31 ; Version section
       
    32 ;------------------------------------------------------------------------------
       
    33 [Version]
       
    34 Signature="$Windows NT$"
       
    35 Provider=%S_Provider%
       
    36 DriverVer=04/11/2007,2.41.0.0
       
    37 
       
    38 ; This specifies the .cat file provided by WHQL if the driver is certified.
       
    39 ;CatalogFile=tusbwin.cat
       
    40 
       
    41 ; use a private device class that is defined by Symbian:
       
    42 Class=SymbianOSControlledUSBDevices
       
    43 ClassGUID={BA23B65A-55AB-41da-A973-AF8B31B49BEC}
       
    44 
       
    45 
       
    46 ;******************************************************************************
       
    47 ; Class Install section
       
    48 ;------------------------------------------------------------------------------
       
    49 ;
       
    50 ; The following sections are required if a private device class is used
       
    51 ; (see also the comments above).
       
    52 ;
       
    53 [ClassInstall32] 
       
    54 AddReg=_AddReg_ClassInstall
       
    55 
       
    56 [_AddReg_ClassInstall]
       
    57 HKR,,,,"%S_DeviceClassDisplayName%"
       
    58 HKR,,Icon,,"-20"
       
    59 
       
    60 
       
    61 ;******************************************************************************
       
    62 ; Options
       
    63 ;------------------------------------------------------------------------------
       
    64 [ControlFlags]
       
    65 ; Advanced options can be specified here.
       
    66 ; For details, refer to the Windows DDK documentation.
       
    67 
       
    68 
       
    69 ;******************************************************************************
       
    70 ; Manufacturer section
       
    71 ;------------------------------------------------------------------------------
       
    72 [Manufacturer]
       
    73 %S_Mfg%=_Models
       
    74 
       
    75 
       
    76 ;******************************************************************************
       
    77 ; Models section
       
    78 ;------------------------------------------------------------------------------
       
    79 ; x86-based systems
       
    80 [_Models]
       
    81 ; This section specifies your device's hardware ID.
       
    82 
       
    83 %S_DeviceDesc%=_Install, USB\VID_0E22&PID_1110
       
    84 ; Optionally, you can append the revision code to be more unambiguous
       
    85 ; example: USB\VID_053C&PID_0001&REV_0001
       
    86 ;%S_DeviceDesc%=_Install, USB\VID_XXXX&PID_XXXX&REV_XXXX
       
    87 
       
    88 
       
    89 ;******************************************************************************
       
    90 ; Install sections x86-based systems
       
    91 ;------------------------------------------------------------------------------
       
    92 [_Install.ntx86]
       
    93 CopyFiles=_CopyFiles_sys
       
    94 
       
    95 [_Install.ntx86.Services]
       
    96 AddService = %S_DriverName%, 0x00000002, _AddService, _EventLog
       
    97 
       
    98 [_Install.ntx86.HW]
       
    99 AddReg=_AddReg_HW
       
   100 
       
   101 [_AddService]
       
   102 ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
       
   103 StartType      = 3                  ; SERVICE_DEMAND_START
       
   104 ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
       
   105 ServiceBinary  = %10%\System32\Drivers\%S_DriverName%.sys
       
   106 
       
   107 [_EventLog]
       
   108 AddReg=_EventLog_AddReg
       
   109 
       
   110 [_EventLog_AddReg]
       
   111 HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys"
       
   112 HKR,,TypesSupported,  %REG_DWORD%,7
       
   113 
       
   114 
       
   115 ;******************************************************************************
       
   116 ; Registry sections
       
   117 ;------------------------------------------------------------------------------
       
   118 [_AddReg_HW]
       
   119 
       
   120 ;
       
   121 HKR,,DriverUserInterfaceGuid,,"{55606403-E62D-4707-9F56-40D48C6736D0}"
       
   122 
       
   123 ; Set the default behaviour of the driver for Windows 2000 and Windows XP
       
   124 HKR,,PowerStateOnOpen,     %REG_DWORD%, 0
       
   125 HKR,,PowerStateOnClose,    %REG_DWORD%, 0
       
   126 HKR,,MinPowerStateUsed,    %REG_DWORD%, 3
       
   127 HKR,,MinPowerStateUnused,  %REG_DWORD%, 3
       
   128 HKR,,EnableRemoteWakeup,   %REG_DWORD%, 0
       
   129 HKR,,AbortPipesOnPowerDown,%REG_DWORD%, 1
       
   130 HKR,,UnconfigureOnClose,   %REG_DWORD%, 1
       
   131 HKR,,ResetDeviceOnClose,   %REG_DWORD%, 0
       
   132 HKR,,MaxIsoPackets,        %REG_DWORD%, 512
       
   133 HKR,,ShortTransferOk,      %REG_DWORD%, 1
       
   134 HKR,,RequestTimeout,       %REG_DWORD%, 1000
       
   135 HKR,,SuppressPnPRemoveDlg, %REG_DWORD%, 1
       
   136 
       
   137 
       
   138 ;******************************************************************************
       
   139 ; Copy Files section
       
   140 ;------------------------------------------------------------------------------
       
   141 [_CopyFiles_sys]
       
   142 tusbwin.sys
       
   143 
       
   144 
       
   145 ;******************************************************************************
       
   146 ; Destination Directories
       
   147 ;------------------------------------------------------------------------------
       
   148 [DestinationDirs]
       
   149 DefaultDestDir =     12   ; %SystemRoot%\system32\drivers 
       
   150 _CopyFiles_sys =     12
       
   151 
       
   152 
       
   153 ;******************************************************************************
       
   154 ; Disk Layout
       
   155 ;------------------------------------------------------------------------------
       
   156 [SourceDisksNames.x86]
       
   157 1=%S_DiskName%,,
       
   158 
       
   159 [SourceDisksFiles.x86]
       
   160 tusbwin.sys=1
       
   161 
       
   162 
       
   163 ;******************************************************************************
       
   164 ; Text Strings
       
   165 ;------------------------------------------------------------------------------
       
   166 [Strings]
       
   167 ;
       
   168 ; Non-Localizable Strings, DO NOT MODIFY!
       
   169 ;
       
   170 REG_SZ         = 0x00000000
       
   171 REG_MULTI_SZ   = 0x00010000
       
   172 REG_EXPAND_SZ  = 0x00020000
       
   173 REG_BINARY     = 0x00000001
       
   174 REG_DWORD      = 0x00010001
       
   175 
       
   176 ;
       
   177 ; Localizable Strings, modify as required
       
   178 ;
       
   179 
       
   180 ; provider name
       
   181 S_Provider="Symbian Software Ltd."
       
   182 ; manufacturer name
       
   183 S_Mfg="Symbian Software Ltd."
       
   184 
       
   185 ; device class display name, shown in Device Manager
       
   186 S_DeviceClassDisplayName="Symbian OS controlled USB devices"
       
   187 
       
   188 ; device description
       
   189 S_DeviceDesc="TUsbWin Device"
       
   190 
       
   191 ; disk name
       
   192 S_DiskName="t_usb_win Driver Disk"
       
   193 
       
   194 ; File name of driver executable.
       
   195 S_DriverName="tusbwin"
       
   196 
       
   197 
       
   198 ; *** EOF ***