cdcacm.inf 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. ; Windows USB CDC ACM Setup File
  2. ; Copyright (c) 2000 Microsoft Corporation
  3. ; Copyright (C) 2010 Kustaa Nyholm
  4. ;
  5. ; Note this file has not been tested after cleanup
  6. ;
  7. [Version]
  8. Signature="$Windows NT$"
  9. Class=Ports
  10. ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
  11. Provider=%MFGNAME%
  12. LayoutFile=layout.inf
  13. CatalogFile=%MFGFILENAME%.cat
  14. DriverVer=11/15/2007,5.1.2600.0
  15. [Manufacturer]
  16. %MFGNAME%=DeviceList, NTamd64
  17. [DestinationDirs]
  18. DefaultDestDir=12
  19. ;------------------------------------------------------------------------------
  20. ; Windows 2000/XP/Vista-32bit Sections
  21. ;------------------------------------------------------------------------------
  22. [DriverInstall.nt]
  23. include=mdmcpq.inf
  24. CopyFiles=DriverCopyFiles.nt
  25. AddReg=DriverInstall.nt.AddReg
  26. [DriverCopyFiles.nt]
  27. usbser.sys,,,0x20
  28. [DriverInstall.nt.AddReg]
  29. HKR,,DevLoader,,*ntkern
  30. HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  31. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  32. [DriverInstall.nt.Services]
  33. AddService=usbser, 0x00000002, DriverService.nt
  34. [DriverService.nt]
  35. DisplayName=%SERVICE%
  36. ServiceType=1
  37. StartType=3
  38. ErrorControl=1
  39. ServiceBinary=%12%\%DRIVERFILENAME%.sys
  40. ;------------------------------------------------------------------------------
  41. ; Vista-64bit Sections
  42. ;------------------------------------------------------------------------------
  43. [DriverInstall.NTamd64]
  44. include=mdmcpq.inf
  45. CopyFiles=DriverCopyFiles.NTamd64
  46. AddReg=DriverInstall.NTamd64.AddReg
  47. [DriverCopyFiles.NTamd64]
  48. %DRIVERFILENAME%.sys,,,0x20
  49. [DriverInstall.NTamd64.AddReg]
  50. HKR,,DevLoader,,*ntkern
  51. HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  52. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  53. [DriverInstall.NTamd64.Services]
  54. AddService=usbser, 0x00000002, DriverService.NTamd64
  55. [DriverService.NTamd64]
  56. DisplayName=%SERVICE%
  57. ServiceType=1
  58. StartType=3
  59. ErrorControl=1
  60. ServiceBinary=%12%\%DRIVERFILENAME%.sys
  61. ;------------------------------------------------------------------------------
  62. ; Vendor and Product ID Definitions
  63. ;------------------------------------------------------------------------------
  64. ; When developing your USB device, the VID and PID used in the PC side
  65. ; application program and the firmware on the microcontroller must match.
  66. ; Modify the below line to use your VID and PID. Use the format as shown below.
  67. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
  68. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
  69. ;------------------------------------------------------------------------------
  70. [SourceDisksFiles]
  71. [SourceDisksNames]
  72. [DeviceList]
  73. %DESCRIPTION%=DriverInstall, USB\VID_0408&PID_000A
  74. [DeviceList.NTamd64]
  75. %DESCRIPTION%=DriverInstall, USB\VID_0408&PID_000A
  76. ;------------------------------------------------------------------------------
  77. ; String Definitions
  78. ;------------------------------------------------------------------------------
  79. ;Modify these strings to customize your device
  80. ;------------------------------------------------------------------------------
  81. [Strings]
  82. MFGFILENAME="USB Virtual COM-port"
  83. DRIVERFILENAME ="usbser"
  84. MFGNAME="SpareTimeLabs"
  85. INSTDISK="SpareTimeLabs, Installation Disc"
  86. DESCRIPTION="USB Virtual COM-port"
  87. SERVICE="USB Virtual COM-port"