~ubuntu-branches/ubuntu/trusty/argyll/trusty-proposed

« back to all changes in this revision

Viewing changes to libusb1/DTP92.inf

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2014-02-12 00:35:39 UTC
  • mfrom: (13.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20140212003539-24tautzlitsiz61w
Tags: 1.5.1-5ubuntu1
* Merge from Debian unstable. (LP: #1275572) Remaining changes:
  - debian/control:
    + Build-depend on libtiff-dev rather than libtiff4-dev.
  - debian/control, debian/patches/06_fix_udev_rule.patch:
    + Fix udev rules to actually work; ENV{ACL_MANAGE} has
      stopped working ages ago, and with logind it's now the
      "uaccess" tag. Dropping also consolekit from Recommends.
  - debian/patches/drop-usb-db.patch:
    + Use hwdb builtin, instead of the obsolete usb-db
      in the udev rules.
* debian/patches/05_ftbfs-underlinkage.diff:
  - Dropped change, no needed anymore.
* Refresh the patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
;--------------------------------------------------------------------------
2
 
; Copyright 2010 Graeme W. Gill.
3
 
4
 
; Permission is hereby granted, free of charge, to any person obtaining a copy
5
 
; of this file, to deal
6
 
; in this file without restriction, including without limitation the rights
7
 
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
 
; copies of this file, and to permit persons to whom this file is
9
 
; furnished to do so, subject to the following conditions:
10
 
11
 
; The above copyright notice and this permission notice shall be included in
12
 
; all copies or substantial portions of this file.
13
 
14
 
; THIS FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
 
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
 
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
 
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
 
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
 
; OUT OF OR IN CONNECTION WITH THIS FILE OR THE USE OR OTHER DEALINGS IN
20
 
; THIS FILE.
21
 
;--------------------------------------------------------------------------
22
 
 
23
 
; ==== Strings ====
24
 
 
25
 
[Strings]
26
 
 
27
 
Provider            = "ArgyllCMS"
28
 
DeviceName          = "DTP92 (Argyll)" 
29
 
Manufacturer        = "X-Rite"
30
 
VendorID            = "VID_0765"
31
 
ProductID           = "PID_D092"
32
 
DeviceGUID          = {b5023000-32f5-11df-9a10-0002a5d5c51b}
33
 
CatalogFile         = "DTP92.cat"
34
 
CatalogFile_NTAMD64 = "DTP92_x64.cat"
35
 
 
36
 
Date                = "03/18/2010"              ; MM/DD/YYYY
37
 
libusb0ver          = "1.0.0.1"
38
 
 
39
 
Libusb_ClassName    = "Argyll LibUSB-1.0A devices"
40
 
Libusb_DiskName     = "LibUSB-1.0A Device Install Disk"
41
 
 
42
 
libusb0_SvcDesc     = "LibUSB-1.0A libusb0 - Kernel Driver 2010/3/18, 1.0.0.1"
43
 
ptlibusb0_SvcDesc   = "LibUSB-1.0A libusb0 - PT Kernel Driver 2010/3/18, 1.12.0.1"
44
 
WinUSB_SvcDesc      = "LibUSB-1.0A WinUSB Driver Service"
45
 
 
46
 
; These 8 determine which type of driver is installed & used for each platform:
47
 
; LIBUSB0_DEV   libusb0.sys kernel driver (Win2K to Win7, signing needed on 64 bit)
48
 
; PTLIBUSB0_DEV ptlibusb0.sys kernel driver (Win2K to Win7, signed by PRUFTECHNIK)
49
 
; WINUSBCO_DEV  Install & use latest WinUSB kernel driver (WinXP to Win7)
50
 
; WINUSB_DEV    Use installed WinUSB kernel driver (Vista to Win7) 
51
 
 
52
 
Default_Device      = "LIBUSB0_DEV"             ; Default
53
 
NTx86.5.0_Device    = "LIBUSB0_DEV"             ; 32 bit Win2K
54
 
NTx86.5.1_Device    = "WINUSBCO_DEV"            ; 32 bit WinXP
55
 
NTamd64.5.1_Device  = "WINUSBCO_DEV"            ; 64 bit WinXP
56
 
NTx86.6_Device      = "WINUSBCO_DEV"            ; 32 bit Vista
57
 
NTamd64.6_Device    = "WINUSBCO_DEV"            ; 64 bit Vista
58
 
NTx86.6.1_Device    = "WINUSBCO_DEV"            ; 32 bit Win7
59
 
NTamd64.6.1_Device  = "WINUSBCO_DEV"            ; 64 bit Win7
60
 
 
61
 
; ==== Version ====
62
 
 
63
 
[Version]
64
 
Signature = "$Windows NT$"
65
 
DriverVer = %Date%,%libusb0ver%
66
 
Provider  = %Provider%
67
 
 
68
 
; (Note the ClassGuid must not be quoted or a string substitution to work on Win2K)
69
 
Class               = %Libusb_ClassName%
70
 
ClassGuid           = {817cffe0-328b-11df-9b9f-0002a5d5c51b}    ; Libusb V1.0A ClassGUID
71
 
CatalogFile         = %CatalogFile%
72
 
CatalogFile.NTAMD64 = %CatalogFile_NTAMD64%
73
 
 
74
 
[ClassInstall32]
75
 
AddReg=class_install_add_reg
76
 
 
77
 
[class_install_add_reg]
78
 
HKR,,,,%Libusb_ClassName%
79
 
HKR,,Icon,,"-20"        ; -20 is for the USB icon
80
 
 
81
 
; ==== Manufacturer and Models ====
82
 
 
83
 
[Manufacturer]
84
 
%Manufacturer%=Devices,NTx86.5.0,NTx86.5.1,NTx86.5,NTamd64.5.1,NTamd64.5, \
85
 
                       NTx86.6,NTamd64.6,NTx86.6.1,NTamd64.6.1
86
 
 
87
 
; ==== Devices ====
88
 
 
89
 
[Devices]                               ; Default
90
 
%DeviceName% = %Default_Device%, USB\%VendorID%&%ProductID%
91
 
 
92
 
[Devices.NTx86.5.0]             ; 32 bit Win2K 
93
 
%DeviceName% = %NTx86.5.0_Device%, USB\%VendorID%&%ProductID%
94
 
 
95
 
[Devices.NTx86.5.1]             ; 32 bit WinXP
96
 
%DeviceName% = %NTx86.5.1_Device%, USB\%VendorID%&%ProductID%
97
 
 
98
 
[Devices.NTx86.5]               ; 32 bit Windows Server 2003 etc.
99
 
%DeviceName% = %NTx86.5.1_Device%, USB\%VendorID%&%ProductID%
100
 
 
101
 
[Devices.NTamd64.5.1]   ; 64 bit WinXP
102
 
%DeviceName% = %NTamd64.5.1_Device%, USB\%VendorID%&%ProductID%
103
 
 
104
 
[Devices.NTamd64.5]             ; 64 bit Windows Server 2003 etc.
105
 
%DeviceName% = %NTamd64.5.1_Device%, USB\%VendorID%&%ProductID%
106
 
 
107
 
[Devices.NTx86.6]               ; 32 bit Vista
108
 
%DeviceName% = %NTx86.6_Device%, USB\%VendorID%&%ProductID%
109
 
 
110
 
[Devices.NTamd64.6]             ; 64 bit Vista
111
 
%DeviceName% = %NTamd64.6_Device%, USB\%VendorID%&%ProductID%
112
 
 
113
 
[Devices.NTx86.6.1]             ; 32 bit Win7
114
 
%DeviceName% = %NTx86.6.1_Device%, USB\%VendorID%&%ProductID%
115
 
 
116
 
[Devices.NTamd64.6.1]   ; 64 bit Win7
117
 
%DeviceName% = %NTamd64.6.1_Device%, USB\%VendorID%&%ProductID%
118
 
 
119
 
 
120
 
; ==== Files Sources and Destinations ====
121
 
 
122
 
[SourceDisksNames]
123
 
1 = %Libusb_DiskName%
124
 
2 = %Libusb_DiskName%,,,WinCoInstallers\x86
125
 
3 = %Libusb_DiskName%,,,WinCoInstallers\amd64
126
 
 
127
 
[SourceDisksFiles]
128
 
libusb0.sys = 1,,
129
 
libusb0_x64.sys = 1,,
130
 
ptlibusb0.sys = 1,,
131
 
ptlibusb0_x64.sys = 1,,
132
 
libusb-1.0A.dll = 1,,
133
 
libusb-1.0A_x64.dll = 1,,
134
 
WinUSBCoInstaller2.dll=2
135
 
WdfCoInstaller01009.dll=2
136
 
 
137
 
[SourceDisksFiles.amd64]
138
 
WinUSBCoInstaller2.dll=3
139
 
WdfCoInstaller01009.dll=3
140
 
 
141
 
[DestinationDirs]
142
 
libusb0_files_sys       = 10,system32\drivers
143
 
libusb0_files_sys_x64   = 10,system32\drivers
144
 
ptlibusb0_files_sys     = 10,system32\drivers
145
 
ptlibusb0_files_sys_x64 = 10,system32\drivers
146
 
Libusb_files_dll        = 10,system32
147
 
Libusb_files_dll_wow64  = 10,syswow64
148
 
Libusb_files_dll_x64    = 10,system32
149
 
CoInstallers_CopyFiles  = 11
150
 
 
151
 
[Libusb_files_dll]
152
 
libusb-1.0A.dll
153
 
 
154
 
[Libusb_files_dll_wow64]
155
 
libusb-1.0A.dll
156
 
 
157
 
[Libusb_files_dll_x64]
158
 
libusb-1.0A.dll,libusb-1.0A_x64.dll
159
 
 
160
 
; ==== libusb0 Device driver ====
161
 
 
162
 
[libusb0_files_sys]
163
 
libusb0.sys
164
 
 
165
 
[libusb0_files_sys_x64]
166
 
libusb0.sys,libusb0_x64.sys
167
 
 
168
 
; For each one of these, there must be one for Services !!!
169
 
[LIBUSB0_DEV]
170
 
CopyFiles = Libusb0_files_sys, Libusb_files_dll
171
 
 
172
 
[LIBUSB0_DEV.NTAMD64]
173
 
CopyFiles = libusb0_files_sys_x64, Libusb_files_dll_wow64, Libusb_files_dll_x64
174
 
 
175
 
 
176
 
[LIBUSB0_DEV.HW]
177
 
AddReg = libusb0_add_reg_hw
178
 
 
179
 
 
180
 
[libusb0_add_reg]
181
 
HKR,,DevLoader,,*ntkern
182
 
HKR,,NTMPDriver,,libusb0.sys
183
 
 
184
 
[libusb0_add_reg_hw]
185
 
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
186
 
HKR,,SurpriseRemovalOK,0x00010001,1                             ; Device properties
187
 
 
188
 
[LIBUSB0_DEV.Services]
189
 
AddService = libusb0, 0x00000002, libusb0_add_service
190
 
 
191
 
[LIBUSB0_DEV.NTAMD64.Services]
192
 
AddService = libusb0, 0x00000002, libusb0_add_service
193
 
 
194
 
[libusb0_add_service]
195
 
DisplayName    = %libusb0_SvcDesc%
196
 
ServiceType    = 1
197
 
StartType      = 3
198
 
ErrorControl   = 0
199
 
ServiceBinary  = %12%\libusb0.sys
200
 
 
201
 
; ==== ptlibusb0 Device driver ====
202
 
 
203
 
[ptlibusb0_files_sys]
204
 
libusb0.sys,ptlibusb0.sys
205
 
 
206
 
[ptlibusb0_files_sys_x64]
207
 
libusb0.sys,ptlibusb0_x64.sys
208
 
 
209
 
; For each one of these, there must be one for Services !!!
210
 
[PTLIBUSB0_DEV]
211
 
CopyFiles = ptlibusb0_files_sys, Libusb_files_dll
212
 
 
213
 
[PTLIBUSB0_DEV.NTAMD64]
214
 
CopyFiles = ptlibusb0_files_sys_x64, Libusb_files_dll_wow64, Libusb_files_dll_x64
215
 
 
216
 
 
217
 
[PTLIBUSB0_DEV.HW]
218
 
AddReg = ptlibusb0_add_reg_hw
219
 
 
220
 
 
221
 
[ptlibusb0_add_reg]
222
 
HKR,,DevLoader,,*ntkern
223
 
HKR,,NTMPDriver,,libusb0.sys
224
 
 
225
 
[ptlibusb0_add_reg_hw]
226
 
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
227
 
HKR,,SurpriseRemovalOK,0x00010001,1                             ; Device properties
228
 
 
229
 
[PTLIBUSB0_DEV.Services]
230
 
AddService = libusb0, 0x00000002, ptlibusb0_add_service
231
 
 
232
 
[PTLIBUSB0_DEV.NTAMD64.Services]
233
 
AddService = libusb0, 0x00000002, ptlibusb0_add_service
234
 
 
235
 
[ptlibusb0_add_service]
236
 
DisplayName    = %ptlibusb0_SvcDesc%
237
 
ServiceType    = 1
238
 
StartType      = 3
239
 
ErrorControl   = 0
240
 
ServiceBinary  = %12%\libusb0.sys
241
 
 
242
 
 
243
 
; ==== WinUSB Device driver with Coinstallers ====
244
 
 
245
 
; For each one of these, there must be one for Services !!!
246
 
[WINUSBCO_DEV]
247
 
CopyFiles = Libusb_files_dll
248
 
Include=winusb.inf
249
 
Needs=WINUSB.NT
250
 
 
251
 
[WINUSBCO_DEV.NTAMD64]
252
 
CopyFiles = Libusb_files_dll_wow64, Libusb_files_dll_x64
253
 
Include=winusb.inf
254
 
Needs=WINUSB.NT
255
 
 
256
 
 
257
 
[WINUSBCO_DEV.HW]
258
 
AddReg = WinUSB_add_reg_hw
259
 
 
260
 
[WINUSBCO_DEV.Services]
261
 
Include=winusb.inf
262
 
AddService=WinUSB,0x00000002,WinUSB_add_service
263
 
 
264
 
[WINUSBCO_DEV.NTAMD64.Services]
265
 
Include=winusb.inf
266
 
AddService=WinUSB,0x00000002,WinUSB_add_service
267
 
 
268
 
[WINUSBCO_DEV.Wdf]
269
 
KmdfService=WINUSB, WinUSB_Install
270
 
 
271
 
[WINUSBCO_DEV.CoInstallers]
272
 
AddReg=CoInstallers_AddReg
273
 
CopyFiles=CoInstallers_CopyFiles
274
 
 
275
 
[CoInstallers_AddReg]
276
 
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"
277
 
 
278
 
[CoInstallers_CopyFiles]
279
 
WinUSBCoInstaller2.dll
280
 
WdfCoInstaller01009.dll
281
 
 
282
 
; ==== WinUSB Device driver (No Coinstallers) ====
283
 
 
284
 
; For each one of these, there must be one for Services !!!
285
 
[WINUSB_DEV]
286
 
CopyFiles = Libusb_files_dll
287
 
 
288
 
[WINUSB_DEV.NTAMD64]
289
 
CopyFiles = Libusb_files_dll_wow64, Libusb_files_dll_x64
290
 
 
291
 
 
292
 
[WINUSB_DEV.HW]
293
 
AddReg = WinUSB_add_reg_hw
294
 
 
295
 
[WINUSB_DEV.Services]
296
 
Include=winusb.inf
297
 
AddService=WinUSB,0x00000002,WinUSB_add_service
298
 
 
299
 
[WINUSB_DEV.NTAMD64.Services]
300
 
Include=winusb.inf
301
 
AddService=WinUSB,0x00000002,WinUSB_add_service
302
 
 
303
 
[WINUSB_DEV.Wdf]
304
 
KmdfService=WINUSB, WinUSB_Install
305
 
 
306
 
[WinUSB_Install]
307
 
KmdfLibraryVersion=1.9
308
 
 
309
 
[WinUSB_add_reg_hw]
310
 
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%
311
 
HKR,,SurpriseRemovalOK,0x00010001,1                             ; Device properties
312
 
 
313
 
[WinUSB_add_service]
314
 
DisplayName     = %WinUSB_SvcDesc%
315
 
ServiceType     = 1
316
 
StartType       = 3
317
 
ErrorControl    = 1
318
 
ServiceBinary   = %12%\WinUSB.sys
319
 
 
320