tinyusb_win_usbser.inf 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ;************************************************************
  2. ; Windows USB CDC ACM Setup File
  3. ; Copyright (c) 2000 Microsoft Corporation
  4. [Version]
  5. Signature="$Windows NT$"
  6. Class=Ports
  7. ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
  8. Provider=%MFGNAME%
  9. LayoutFile=layout.inf
  10. CatalogFile=%MFGFILENAME%.cat
  11. DriverVer=11/15/2007,5.1.2600.0
  12. DriverPackageDisplayName=%DESCRIPTION%
  13. [Manufacturer]
  14. %MFGNAME%=DeviceList, NTamd64
  15. [DestinationDirs]
  16. DefaultDestDir=12
  17. ;------------------------------------------------------------------------------
  18. ; Windows 2000/XP/Vista-32bit Sections
  19. ;------------------------------------------------------------------------------
  20. [DriverInstall.nt]
  21. include=mdmcpq.inf
  22. CopyFiles=DriverCopyFiles.nt
  23. AddReg=DriverInstall.nt.AddReg
  24. [DriverCopyFiles.nt]
  25. usbser.sys,,,0x20
  26. [DriverInstall.nt.AddReg]
  27. HKR,,DevLoader,,*ntkern
  28. HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  29. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  30. [DriverInstall.nt.Services]
  31. AddService=usbser, 0x00000002, DriverService.nt
  32. [DriverService.nt]
  33. DisplayName=%SERVICE%
  34. ServiceType=1
  35. StartType=3
  36. ErrorControl=1
  37. ServiceBinary=%12%\%DRIVERFILENAME%.sys
  38. ;------------------------------------------------------------------------------
  39. ; Vista-64bit Sections
  40. ;------------------------------------------------------------------------------
  41. [DriverInstall.NTamd64]
  42. include=mdmcpq.inf
  43. CopyFiles=DriverCopyFiles.NTamd64
  44. AddReg=DriverInstall.NTamd64.AddReg
  45. [DriverCopyFiles.NTamd64]
  46. %DRIVERFILENAME%.sys,,,0x20
  47. [DriverInstall.NTamd64.AddReg]
  48. HKR,,DevLoader,,*ntkern
  49. HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
  50. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  51. [DriverInstall.NTamd64.Services]
  52. AddService=usbser, 0x00000002, DriverService.NTamd64
  53. [DriverService.NTamd64]
  54. DisplayName=%SERVICE%
  55. ServiceType=1
  56. StartType=3
  57. ErrorControl=1
  58. ServiceBinary=%12%\%DRIVERFILENAME%.sys
  59. ;------------------------------------------------------------------------------
  60. ; Vendor and Product ID Definitions
  61. ;------------------------------------------------------------------------------
  62. ; When developing your USB device, the VID and PID used in the PC side
  63. ; application program and the firmware on the microcontroller must match.
  64. ; Modify the below line to use your VID and PID. Use the format as shown below.
  65. ; Note: One INF file can be used for multiple devices with different VID and PIDs.
  66. ; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
  67. ;------------------------------------------------------------------------------
  68. [SourceDisksFiles]
  69. [SourceDisksNames]
  70. [DeviceList]
  71. %DESCRIPTION%=DriverInstall, USB\VID_CAFE&PID_4001&MI_00, USB\VID_CAFE&PID_4003&MI_00, USB\VID_CAFE&PID_4005&MI_00, USB\VID_CAFE&PID_4007&MI_00, USB\VID_CAFE&PID_4009&MI_00, USB\VID_CAFE&PID_400b&MI_00, USB\VID_CAFE&PID_400d&MI_00, USB\VID_CAFE&PID_400f&MI_00, USB\VID_CAFE&PID_4011&MI_00, USB\VID_CAFE&PID_4013&MI_00, USB\VID_CAFE&PID_4015&MI_00, USB\VID_CAFE&PID_4017&MI_00, USB\VID_CAFE&PID_4019&MI_00, USB\VID_CAFE&PID_401b&MI_00, USB\VID_CAFE&PID_401d&MI_00, USB\VID_CAFE&PID_401f&MI_00, USB\VID_CAFE&PID_4021&MI_00, USB\VID_CAFE&PID_4023&MI_00, USB\VID_CAFE&PID_4025&MI_00, USB\VID_CAFE&PID_4027&MI_00, USB\VID_CAFE&PID_4029&MI_00, USB\VID_CAFE&PID_402b&MI_00, USB\VID_CAFE&PID_402d&MI_00, USB\VID_CAFE&PID_402f&MI_00, USB\VID_CAFE&PID_4031&MI_00, USB\VID_CAFE&PID_4033&MI_00, USB\VID_CAFE&PID_4035&MI_00, USB\VID_CAFE&PID_4037&MI_00, USB\VID_CAFE&PID_4039&MI_00, USB\VID_CAFE&PID_403b&MI_00, USB\VID_CAFE&PID_403d&MI_00, USB\VID_CAFE&PID_403f&MI_00
  72. [DeviceList.NTamd64]
  73. %DESCRIPTION%=DriverInstall, USB\VID_CAFE&PID_4001&MI_00, USB\VID_CAFE&PID_4003&MI_00, USB\VID_CAFE&PID_4005&MI_00, USB\VID_CAFE&PID_4007&MI_00, USB\VID_CAFE&PID_4009&MI_00, USB\VID_CAFE&PID_400b&MI_00, USB\VID_CAFE&PID_400d&MI_00, USB\VID_CAFE&PID_400f&MI_00, USB\VID_CAFE&PID_4011&MI_00, USB\VID_CAFE&PID_4013&MI_00, USB\VID_CAFE&PID_4015&MI_00, USB\VID_CAFE&PID_4017&MI_00, USB\VID_CAFE&PID_4019&MI_00, USB\VID_CAFE&PID_401b&MI_00, USB\VID_CAFE&PID_401d&MI_00, USB\VID_CAFE&PID_401f&MI_00, USB\VID_CAFE&PID_4021&MI_00, USB\VID_CAFE&PID_4023&MI_00, USB\VID_CAFE&PID_4025&MI_00, USB\VID_CAFE&PID_4027&MI_00, USB\VID_CAFE&PID_4029&MI_00, USB\VID_CAFE&PID_402b&MI_00, USB\VID_CAFE&PID_402d&MI_00, USB\VID_CAFE&PID_402f&MI_00, USB\VID_CAFE&PID_4031&MI_00, USB\VID_CAFE&PID_4033&MI_00, USB\VID_CAFE&PID_4035&MI_00, USB\VID_CAFE&PID_4037&MI_00, USB\VID_CAFE&PID_4039&MI_00, USB\VID_CAFE&PID_403b&MI_00, USB\VID_CAFE&PID_403d&MI_00, USB\VID_CAFE&PID_403f&MI_00
  74. ;------------------------------------------------------------------------------
  75. ; String Definitions
  76. ;------------------------------------------------------------------------------
  77. ;Modify these strings to customize your device
  78. ;------------------------------------------------------------------------------
  79. [Strings]
  80. MFGFILENAME="tinyusb_usbser"
  81. DRIVERFILENAME ="usbser"
  82. MFGNAME="tinyusb.org"
  83. INSTDISK="tinyusb CDC Driver"
  84. DESCRIPTION="tinyusb Serial"
  85. SERVICE="USB RS-232 Emulation Driver"