-
Notifications
You must be signed in to change notification settings - Fork 3
/
USBFeedPort.inf
120 lines (101 loc) · 3.75 KB
/
USBFeedPort.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
; Windows USB CDC ACM Setup File
; Copyright (c) 2000 Microsoft Corporation
; Copyright (C) 2007 Microchip Technology Inc.
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%
LayoutFile=layout.inf
;CatalogFile=%MFGFILENAME%.cat
;DriverVer=02/16/2011,1.0
DriverVer=12/03/2009,5.1.2600.3
[Manufacturer]
%MFGNAME%=DeviceList, NTamd64
[DestinationDirs]
DefaultDestDir=12
;------------------------------------------------------------------------------
; Windows 2000/XP/Vista-32bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NT]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NT
AddReg=DriverInstall.NT.AddReg
[DriverInstall.NT.HW]
AddReg=DriverInstall.NT.HW.AddReg
[DriverCopyFiles.NT]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,%FILTERDRIVERFILENAME%
;HKR,,"ConfigData",1,01,04,00,00,10,27,88,13,C4,09,E2,04,71,02,38,41,9c,80,4E,C0,34,00,1A,00,0D,00,06,40,03,80,00,00,d0,80
;HKR,,"ConfigData",1,11,04,00,00,10,27,00,00,88,13,00,00,C4,09,00,00,E2,04,00,00,71,02,00,00,38,41,00,00,9C,80,00,00,4E,C0,00,00,34,00,00,00,1A,00,00,00,0D,00,00,00,06,40,00,00,03,80,00,00,00,00,00,00,D0,80,00,00
;HKR,,"MinReadTimeout",0x00010001,0
;HKR,,"MinWriteTimeout",0x00010001,0
;HKR,,"LatencyTimer",0x00010001,2
[DriverInstall.NT.Services]
AddService =%DRIVERFILENAME%, 0x00000002, DriverService.NT
AddService =%FILTERDRIVERFILENAME%,,SerenumService
[DriverService.NT]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
;------------------------------------------------------------------------------
; Vista-64bit Sections
;------------------------------------------------------------------------------
[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg
[DriverInstall.NTamd64.HW]
AddReg=DriverInstall.NTamd64.HW.AddReg
[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20
[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.NTamd64.HW.AddReg]
HKR,,"UpperFilters",0x00010000,%FILTERDRIVERFILENAME%
[DriverInstall.NTamd64.Services]
AddService=%DRIVERFILENAME%, 0x00000002, DriverService.NTamd64
AddService =%FILTERDRIVERFILENAME%,,SerenumService
[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys
[SerenumService]
DisplayName = %SERENUMDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\%FILTERDRIVERFILENAME%.sys
LoadOrderGroup = PNP Filter
[SourceDisksFiles]
[SourceDisksNames]
;------------------------------------------------------------------------------
; Vendor and Product ID Definitions
;------------------------------------------------------------------------------
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_AAAA&PID_FEED
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_AAAA&PID_FEED
;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------
[Strings]
MFGFILENAME="USBFeed"
DRIVERFILENAME ="usbser"
MFGNAME="SZ, Corp."
DESCRIPTION="USB Feed Port"
SERVICE="USB Feed Port driver"
FILTERDRIVERFILENAME ="serenum"
SERENUMDESC = "Serenum Filter Driver"
;DEVINTERFACE_COMPORT="{86E0D1E0-8089-11D0-9CE4-08003E301F73}"