Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2012
851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ; Windows USB CDC ACM Setup File
  3. ; Copyright (c) 2000 Microsoft Corporation
  4. ; Copyright (C) 2007 Microchip Technology Inc.
  5.  
  6. [Version]
  7. Signature="$Windows NT$"
  8. Class=Ports
  9. ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
  10. Provider=%MFGNAME%
  11. LayoutFile=layout.inf
  12. CatalogFile=%MFGFILENAME%.cat
  13. DriverVer=11/15/2007,5.1.2600.0
  14.  
  15. [Manufacturer]
  16. %MFGNAME%=DeviceList, NTamd64
  17.  
  18. [DestinationDirs]
  19. ;FakeModemCopyFileSection=12  ;Add for Win 7
  20. DefaultDestDir=12
  21.  
  22.  
  23. ;------------------------------------------------------------------------------
  24. ;  Windows 2000/XP/Vista-32bit Sections
  25. ;------------------------------------------------------------------------------
  26.  
  27. [DriverInstall.nt]
  28. include=mdmcpq.inf
  29. CopyFiles=DriverCopyFiles.nt ;Comment out for Win 7
  30. ;CopyFiles = FakeModemCopyFileSection ;Un-comment out for Win 7
  31. AddReg=DriverInstall.nt.AddReg
  32.  
  33. [DriverCopyFiles.nt] ;Comment out for Win 7
  34. usbser.sys,,,0x20 ;Comment out for Win 7
  35.  
  36. [DriverInstall.nt.AddReg]
  37. HKR,,DevLoader,,*ntkern
  38. HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  39. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  40.  
  41. [DriverInstall.nt.Services]
  42. AddService=usbser, 0x00000002, DriverService.nt
  43.  
  44. [DriverService.nt]
  45. DisplayName=%SERVICE%
  46. ServiceType=1
  47. StartType=3
  48. ErrorControl=1
  49. ServiceBinary=%12%\%DRIVERFILENAME%.sys
  50.  
  51. ;------------------------------------------------------------------------------
  52. ;  Vista-64bit Sections
  53. ;------------------------------------------------------------------------------
  54.  
  55. [DriverInstall.NTamd64]
  56. include=mdmcpq.inf
  57. CopyFiles=DriverCopyFiles.NTamd64
  58. AddReg=DriverInstall.NTamd64.AddReg
  59.  
  60. [DriverCopyFiles.NTamd64]
  61. %DRIVERFILENAME%.sys,,,0x20
  62.  
  63. [DriverInstall.NTamd64.AddReg]
  64. HKR,,DevLoader,,*ntkern
  65. HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  66. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  67.  
  68. [DriverInstall.NTamd64.Services]
  69. AddService=usbser, 0x00000002, DriverService.NTamd64
  70.  
  71. [DriverService.NTamd64]
  72. DisplayName=%SERVICE%
  73. ServiceType=1
  74. StartType=3
  75. ErrorControl=1
  76. ServiceBinary=%12%\%DRIVERFILENAME%.sys
  77.  
  78.  
  79. ;------------------------------------------------------------------------------
  80. ;  Vendor and Product ID Definitions
  81. ;------------------------------------------------------------------------------
  82. ; When developing your USB device, the VID and PID used in the PC side
  83. ; application program and the firmware on the microcontroller must match.
  84. ; Modify the below line to use your VID and PID.  Use the format as shown below.
  85. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
  86. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
  87. ;------------------------------------------------------------------------------
  88. [SourceDisksFiles]
  89. [SourceDisksNames]
  90. [DeviceList]
  91. %DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A,USB\VID_04D8&PID_FC92  
  92.  
  93. [DeviceList.NTamd64]
  94. %DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A,USB\VID_04D8&PID_FC92
  95.  
  96.  
  97. ;------------------------------------------------------------------------------
  98. ;  String Definitions
  99. ;------------------------------------------------------------------------------
  100. ;Modify these strings to customize your device
  101. ;------------------------------------------------------------------------------
  102. [Strings]
  103. MFGFILENAME="mchpcdc"
  104. DRIVERFILENAME ="usbser"
  105. MFGNAME="Microchip Technology, Inc."
  106. INSTDISK="Microchip Technology, Inc. Installation Disc"
  107. DESCRIPTION="Communications Port"
  108. SERVICE="USB RS-232 Emulation Driver"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement