Back to home page

OSCL-LXR

 
 

    


0001 ; Windows USB CDC ACM Setup File
0002 
0003 ; Based on INF template which was:
0004 ;     Copyright (c) 2000 Microsoft Corporation
0005 ;     Copyright (c) 2007 Microchip Technology Inc.
0006 ; likely to be covered by the MLPL as found at:
0007 ;    <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>.
0008 ; For use only on Windows operating systems.
0009 
0010 [Version]
0011 Signature="$Windows NT$"
0012 Class=Ports
0013 ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
0014 Provider=%Linux%
0015 DriverVer=11/15/2007,5.1.2600.0
0016 
0017 [Manufacturer]
0018 %Linux%=DeviceList, NTamd64
0019 
0020 [DestinationDirs]
0021 DefaultDestDir=12
0022 
0023 
0024 ;------------------------------------------------------------------------------
0025 ;  Windows 2000/XP/Vista-32bit Sections
0026 ;------------------------------------------------------------------------------
0027 
0028 [DriverInstall.nt]
0029 include=mdmcpq.inf
0030 CopyFiles=DriverCopyFiles.nt
0031 AddReg=DriverInstall.nt.AddReg
0032 
0033 [DriverCopyFiles.nt]
0034 usbser.sys,,,0x20
0035 
0036 [DriverInstall.nt.AddReg]
0037 HKR,,DevLoader,,*ntkern
0038 HKR,,NTMPDriver,,USBSER.sys
0039 HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
0040 
0041 [DriverInstall.nt.Services]
0042 AddService=usbser, 0x00000002, DriverService.nt
0043 
0044 [DriverService.nt]
0045 DisplayName=%SERVICE%
0046 ServiceType=1
0047 StartType=3
0048 ErrorControl=1
0049 ServiceBinary=%12%\USBSER.sys
0050 
0051 ;------------------------------------------------------------------------------
0052 ;  Vista-64bit Sections
0053 ;------------------------------------------------------------------------------
0054 
0055 [DriverInstall.NTamd64]
0056 include=mdmcpq.inf
0057 CopyFiles=DriverCopyFiles.NTamd64
0058 AddReg=DriverInstall.NTamd64.AddReg
0059 
0060 [DriverCopyFiles.NTamd64]
0061 USBSER.sys,,,0x20
0062 
0063 [DriverInstall.NTamd64.AddReg]
0064 HKR,,DevLoader,,*ntkern
0065 HKR,,NTMPDriver,,USBSER.sys
0066 HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
0067 
0068 [DriverInstall.NTamd64.Services]
0069 AddService=usbser, 0x00000002, DriverService.NTamd64
0070 
0071 [DriverService.NTamd64]
0072 DisplayName=%SERVICE%
0073 ServiceType=1
0074 StartType=3
0075 ErrorControl=1
0076 ServiceBinary=%12%\USBSER.sys
0077 
0078 
0079 ;------------------------------------------------------------------------------
0080 ;  Vendor and Product ID Definitions
0081 ;------------------------------------------------------------------------------
0082 ; When developing your USB device, the VID and PID used in the PC side
0083 ; application program and the firmware on the microcontroller must match.
0084 ; Modify the below line to use your VID and PID.  Use the format as shown
0085 ; below.
0086 ; Note: One INF file can be used for multiple devices with different
0087 ;       VID and PIDs.  For each supported device, append
0088 ;       ",USB\VID_xxxx&PID_yyyy" to the end of the line.
0089 ;------------------------------------------------------------------------------
0090 [SourceDisksFiles]
0091 [SourceDisksNames]
0092 [DeviceList]
0093 %DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02, USB\VID_1D6B&PID_0106&MI_00
0094 
0095 [DeviceList.NTamd64]
0096 %DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02, USB\VID_1D6B&PID_0106&MI_00
0097 
0098 
0099 ;------------------------------------------------------------------------------
0100 ;  String Definitions
0101 ;------------------------------------------------------------------------------
0102 ;Modify these strings to customize your device
0103 ;------------------------------------------------------------------------------
0104 [Strings]
0105 Linux               = "Linux Developer Community"
0106 DESCRIPTION         = "Gadget Serial"
0107 SERVICE             = "USB RS-232 Emulation Driver"