|
| 1 | +;************************************************************ |
| 2 | +; Windows USB CDC ACM Setup File |
| 3 | +; Copyright (c) 2000 Microsoft Corporation |
| 4 | + |
| 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 | +DefaultDestDir=12 |
| 20 | + |
| 21 | + |
| 22 | +;------------------------------------------------------------------------------ |
| 23 | +; Windows 2000/XP/Vista-32bit Sections |
| 24 | +;------------------------------------------------------------------------------ |
| 25 | + |
| 26 | +[DriverInstall.nt] |
| 27 | +include=mdmcpq.inf |
| 28 | +CopyFiles=DriverCopyFiles.nt |
| 29 | +AddReg=DriverInstall.nt.AddReg |
| 30 | + |
| 31 | +[DriverCopyFiles.nt] |
| 32 | +usbser.sys,,,0x20 |
| 33 | + |
| 34 | +[DriverInstall.nt.AddReg] |
| 35 | +HKR,,DevLoader,,*ntkern |
| 36 | +HKR,,NTMPDriver,,%DRIVERFILENAME%.sys |
| 37 | +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" |
| 38 | + |
| 39 | +[DriverInstall.nt.Services] |
| 40 | +AddService=usbser, 0x00000002, DriverService.nt |
| 41 | + |
| 42 | +[DriverService.nt] |
| 43 | +DisplayName=%SERVICE% |
| 44 | +ServiceType=1 |
| 45 | +StartType=3 |
| 46 | +ErrorControl=1 |
| 47 | +ServiceBinary=%12%\%DRIVERFILENAME%.sys |
| 48 | + |
| 49 | +;------------------------------------------------------------------------------ |
| 50 | +; Vista-64bit Sections |
| 51 | +;------------------------------------------------------------------------------ |
| 52 | + |
| 53 | +[DriverInstall.NTamd64] |
| 54 | +include=mdmcpq.inf |
| 55 | +CopyFiles=DriverCopyFiles.NTamd64 |
| 56 | +AddReg=DriverInstall.NTamd64.AddReg |
| 57 | + |
| 58 | +[DriverCopyFiles.NTamd64] |
| 59 | +%DRIVERFILENAME%.sys,,,0x20 |
| 60 | + |
| 61 | +[DriverInstall.NTamd64.AddReg] |
| 62 | +HKR,,DevLoader,,*ntkern |
| 63 | +HKR,,NTMPDriver,,%DRIVERFILENAME%.sys |
| 64 | +HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" |
| 65 | + |
| 66 | +[DriverInstall.NTamd64.Services] |
| 67 | +AddService=usbser, 0x00000002, DriverService.NTamd64 |
| 68 | + |
| 69 | +[DriverService.NTamd64] |
| 70 | +DisplayName=%SERVICE% |
| 71 | +ServiceType=1 |
| 72 | +StartType=3 |
| 73 | +ErrorControl=1 |
| 74 | +ServiceBinary=%12%\%DRIVERFILENAME%.sys |
| 75 | + |
| 76 | + |
| 77 | +;------------------------------------------------------------------------------ |
| 78 | +; Vendor and Product ID Definitions |
| 79 | +;------------------------------------------------------------------------------ |
| 80 | +; When developing your USB device, the VID and PID used in the PC side |
| 81 | +; application program and the firmware on the microcontroller must match. |
| 82 | +; Modify the below line to use your VID and PID. Use the format as shown below. |
| 83 | +; Note: One INF file can be used for multiple devices with different VID and PIDs. |
| 84 | +; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line. |
| 85 | +;------------------------------------------------------------------------------ |
| 86 | +[SourceDisksFiles] |
| 87 | +[SourceDisksNames] |
| 88 | +[DeviceList] |
| 89 | +%DESCRIPTION%=DriverInstall, USB\VID_1209&PID_6949 |
| 90 | +%DESCRIPTION%=DriverInstall, USB\VID_1209&PID_6948 |
| 91 | + |
| 92 | +[DeviceList.NTamd64] |
| 93 | +%DESCRIPTION%=DriverInstall, USB\VID_1209&PID_6949 |
| 94 | +%DESCRIPTION%=DriverInstall, USB\VID_1209&PID_6948 |
| 95 | + |
| 96 | +;------------------------------------------------------------------------------ |
| 97 | +; String Definitions |
| 98 | +;------------------------------------------------------------------------------ |
| 99 | +;Modify these strings to customize your device |
| 100 | +;------------------------------------------------------------------------------ |
| 101 | +[Strings] |
| 102 | +MFGFILENAME="CDC_vista" |
| 103 | +DRIVERFILENAME ="usbser" |
| 104 | +MFGNAME="MySensors.org" |
| 105 | +INSTDISK="MySensors SAMD Driver Installer" |
| 106 | +DESCRIPTION="MySensors SAMD" |
| 107 | +SERVICE="USB RS-232 Emulation Driver" |
0 commit comments