Hallo allemaal.
Ik heb een webcam uit 2004. Ik wil er nu mee kloten, maar eerst moet die wel goed werken. Het is een Sweex 300K. Oud dingetje
. Maar op de site zijn alleen Windows XP drivers te vinden, en ik zit op een 64 bits Windows 7. Nu heb ik de drivers kunnen openen: De exe is geopend, de cab bestanden zijn uitgepakt. Nu zie ik 3 driverbestanden:
-usbvm31b.cat
-usbvm31b.inf
-usbvm31b.sys
Windows 7 wilt de drivers dus niet installeren, dus er zal wel iets mis zijn zodat Windows 7 hem niet herkent. Wat moet ik in het .inf bestand wijzigen zodat Windows 7 hem herkent? Windows 7 laat hem zien als PC Camera.
(Note: de .exe installer werkt, hij vraagt of ik de driver wil installeren, maar dan crasht hij om een andere reden, een .exe die in de .cab zit)
Hier komtie:
Ik heb een webcam uit 2004. Ik wil er nu mee kloten, maar eerst moet die wel goed werken. Het is een Sweex 300K. Oud dingetje
-usbvm31b.cat
-usbvm31b.inf
-usbvm31b.sys
Windows 7 wilt de drivers dus niet installeren, dus er zal wel iets mis zijn zodat Windows 7 hem niet herkent. Wat moet ik in het .inf bestand wijzigen zodat Windows 7 hem herkent? Windows 7 laat hem zien als PC Camera.
(Note: de .exe installer werkt, hij vraagt of ik de driver wil installeren, maar dan crasht hij om een andere reden, een .exe die in de .cab zit)
Hier komtie:
code:
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
| ;Installation File (.inf) for USB PC Camera [Version] Signature="$CHICAGO$" LayoutFile=Layout.inf, Layout1.inf, Layout2.inf Class=Image ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f} Provider=%SoftMfg% DriverVer=09/22/2003, 4.2.0922.70 ;CatalogFile=usbvm31b.cat [ControlFlags] ExcludeFromSelect=* [Manufacturer] %HwMfg%=VM,NT [DestinationDirs] DefaultDestDir=11 VM.APP.CopyFiles = 10 VM.XPAPP.CopyFiles = 10 VM.STI.CopyFiles = 11 VM.CustomPrp.CopyFiles = 11 VM.TWAIN.CopyFiles = 10, twain_32\VM301b VM.XPTWAIN.CopyFiles = 10, twain_32\VM301b VM.USBDCam.Files.Ext = 10, System32\Drivers VM.Config.CopyFiles = 10, inf [VM] %USB\VID_0AC8&PID_0302.DeviceDesc%=VM.USBDCam302,USB\VID_0AC8&PID_301B [VM.NT] %USB\VID_0AC8&PID_0302.DeviceDesc%=VM.USBDCam302.XP,USB\VID_0AC8&PID_301B ;**************************************** [VM.USBDCam302] Include=ks.inf, kscaptur.inf, ksfilter.inf, Config.set Needs=KS.Registration,KSCAPTUR.Registration, VM.HWConfig SubClass=StillImage DeviceType=2 DeviceSubType=0x0302 Capabilities=1 Events=VM.STI.Events DeviceData=VM.STI.DeviceData ICMProfiles="sRGB Color Space Profile.icm" AddReg=VM.USBDCam.AddReg, VM.CustomPrp.AddReg, VM.STI.AddReg, VM.TWAIN.AddReg ;CopyFiles=VM.USBDCam.Files.Ext, VM.CustomPrp.CopyFiles, VM.STI.CopyFiles, VM.APP.CopyFiles, VM.TWAIN.CopyFiles, VM.Config.CopyFiles [VM.USBDCam302.NT] Include=ks.inf, kscaptur.inf, ksfilter.inf, Config.set Needs=KS.Registration,KSCAPTUR.Registration.NT, VM.HWConfig SubClass=StillImage DeviceType=2 DeviceSubType=0x0302 Capabilities=1 Events=VM.STI.Events DeviceData=VM.STI.DeviceData ICMProfiles="sRGB Color Space Profile.icm" AddReg=VM.USBDCam.AddReg, VM.CustomPrp.AddReg, VM.STI.AddReg, VM.TWAIN.AddReg CopyFiles=VM.USBDCam.Files.Ext, VM.CustomPrp.CopyFiles, VM.STI.CopyFiles, VM.APP.CopyFiles, VM.TWAIN.CopyFiles, VM.Config.CopyFiles [VM.USBDCam302.XP] Include=ks.inf, kscaptur.inf, Config.set Needs=KS.Registration,KSCAPTUR.Registration.NT, VM.HWConfig AddReg=VM.USBDCam.AddReg, VM.CustomPrp.AddReg, VM.WIA.AddReg, VM.TWAIN.AddReg CopyFiles=VM.USBDCam.Files.Ext, VM.CustomPrp.CopyFiles, VM.STI.CopyFiles, VM.XPAPP.CopyFiles, VM.XPTWAIN.CopyFiles, VM.Config.CopyFiles SubClass=StillImage DeviceType=3 DeviceSubType=0x0302 Capabilities=0x00000031 ;Capabilities=0x00000001 PortSelect=No ;Events=VM.STI.Events DeviceData=VM.WIA.DeviceData ICMProfiles="sRGB Color Space Profile.icm" ;LogConfig = VM.XP.NEEDDREBOOT Reboot ;********************************************** [VM.USBDCam.AddReg] HKR,,HardwareConfig,1,1 HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,usbVM31b.sys ;HKR,,PageOutWhenUnopened,3,00 ;HKR,,PowerDownWhenUnopened,3,00 [VM.CustomPrp.AddReg] HKCR,CLSID\%GUID_VMCustomPropertySets%,,,%VMCustomPropertySets% HKCR,CLSID\%GUID_VMCustomPropertySets%\InprocServer32,,,VM31bPrp.Ax HKCR,CLSID\%GUID_VMCustomPropertySets%\InprocServer32,ThreadingModel,,Both HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID_VMCustomPropertySets%,,,%VMCustomPropertySets% HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID_VMCustomPropertySets%,IID,1,5A,7C,75,9C,95,8D,3c,45,82,84,90,6A,68,DC,53,FA HKCR,CLSID\%CLSID_VMCustomPropertyPage%,,,%VMCustomPropertyPage% HKCR,CLSID\%CLSID_VMCustomPropertyPage%\InprocServer32,,,VM31bPrp.Ax HKCR,CLSID\%CLSID_VMCustomPropertyPage%\InprocServer32,ThreadingModel,,Both HKCR,CLSID\%CLSID_VMBackDoorPropertyPage%,,,%VMBackDoorPropertyPage% HKCR,CLSID\%CLSID_VMBackDoorPropertyPage%\InprocServer32,,,VM31bPrp.Ax HKCR,CLSID\%CLSID_VMBackDoorPropertyPage%\InprocServer32,ThreadingModel,,Both HKLM,System\CurrentControlSet\Control\MediaSets\%GUID_VMCustomPropertySets%\PropertyPages\%CLSID_VMCustomPropertyPage%,,,%VMCustomPropertyPage% ;Add or remove backdoor from the registry: ;HKLM,System\CurrentControlSet\Control\MediaSets\%GUID_VMCustomPropertySets%\PropertyPages\%CLSID_VMBackDoorPropertyPage%,,,%VMBackDoorPropertyPage% [VM.STI.AddReg] HKR,,USDClass,,"{80989FCE-A58A-4902-B5C8-37410E34023F}" HKCR,CLSID\{80989FCE-A58A-4902-B5C8-37410E34023F} ,,,%STI_DEVICE_NAME% HKCR,CLSID\{80989FCE-A58A-4902-B5C8-37410E34023F}\InProcServer32,,,%11%\VM31bSTI.dll HKCR,CLSID\{80989FCE-A58A-4902-B5C8-37410E34023F}\InProcServer32,ThreadingModel,,"Both" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications",%VIDEOAPP%,,"%10%\amcap.exe /StiDevice:%1 /StiEvent:%2" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications",%STILLAPP%,,"%10%\StillCap.exe /StiDevice:%1 /StiEvent:%2" [VM.WIA.AddReg] HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","BigDogPath",,"%10%\VM_STI.EXE %USB\VID_0AC8&PID_0302.DeviceDesc%" HKLM,"Software\ZSMC\USBCAMERA\BigDogPath",Snapshot1,,"%10%\amcap.exe" HKLM,"Software\ZSMC\USBCAMERA\BigDogPath",Snapshot2,,"%10%\VMCap.exe" [VM.STI.DeviceData] TwainDS=%USB\VID_0AC8&PID_0302.TWAINDSName% SpecialInfo="VM" [VM.WIA.DeviceData] Server=local UI DLL=sti.dll UI Class ID={5d8ef5a3-ac13-11d2-a093-00c04f72dc3c} TwainDS=%USB\VID_0AC8&PID_0302.TWAINDSName% SpecialInfo="VM" [VM.STI.Events] ; These are events that the device issues to trigger application ; launching. Snapshot=%SNAPSHOT%,{E76F3027-CA52-468e-B06E-2F32E2F6B59E},* Snapshot2=%SNAPSHOT2%,{E76F3028-CA52-468e-B06E-2F32E2F6B59E},%STILLAPP% [VM.TWAIN.AddReg] HKLM,%TWAINSetting%,DeviceName,,%USB\VID_0AC8&PID_0302.DeviceDesc% HKLM,%TWAINSetting%,DSName,,%USB\VID_0AC8&PID_0302.TWAINDSName% HKLM,%TWAINSetting%,OEM,,%USB\VID_0AC8&PID_0302.TWAINOEMPath% [VM.XP.NEEDDREBOOT] ConfigPriority = REBOOT ;**************************************************** [VM.USBDCam302.Interfaces] AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,VM.USBDCam302.Interface [VM.USBDCam302.NT.Interfaces] AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,VM.USBDCam302.Interface [VM.USBDCam302.XP.Interfaces] AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,VM.USBDCam302.Interface [VM.USBDCam302.Interface] AddReg=VM.USBDCam302.Intf.AddReg [VM.USBDCam302.Intf.AddReg] HKR,,CLSID,,%ProxyVCap.CLSID% HKR,,FriendlyName,,%USB\VID_0AC8&PID_0302.DeviceDesc% HKR,PageAliases,"{71F96464-78F3-11d0-A18C-00A0C9118956}",1,51,7C,75,9C, 95,8D, 3C,45, 0x82, 0x84, 0x90, 0x6A, 0x68, 0xDC, 0x53, 0xFA HKR,PinFactory\1\Interfaces\%GUID_VMCustomPropertySets%,,, HKR,,ExtensionDLL,,%VM.ExtensionDLL% [VM.USBDCam302.NT.Services] AddService = ZSMC301b,0x00000002,VM.USBDCam302.ServiceInstall [VM.USBDCam302.XP.Services] AddService = ZSMC301b,0x00000002,VM.USBDCam302.ServiceInstall [VM.USBDCam302.ServiceInstall] DisplayName = %USB\VID_0AC8&PID_0302.DeviceDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %10%\System32\Drivers\usbVM31b.sys ;****************************************************** [VM.USBDCam.Files.Ext] usbVM31b.sys [VM.CustomPrp.CopyFiles] VM31bPrp.Ax [VM.APP.CopyFiles] amcap.exe StillCap.exe [VM.XPAPP.CopyFiles] amcap.exe VM_STI.EXE,,,COPYFLG_FORCE_FILE_IN_USE VMCap.exe [VM.STI.CopyFiles] VM31bSTI.dll [VM.TWAIN.CopyFiles] VM31bTWN.DS [VM.XPTWAIN.CopyFiles] VM31bTXP.DS [VM.Config.CopyFiles] config.set [SourceDisksNames] 1 = %SRCDISKNAME%,,, [SourceDisksFiles] usbVM31b.sys = 1 VM31bPrp.Ax = 1 VM31bSTI.dll = 1 VM31bTWN.DS = 1 VM31bTXP.DS = 1 amcap.exe = 1 StillCap.exe = 1 VMCap.exe = 1 VM_STI.EXE = 1 config.set = 1 [Strings] ;---------------- ; Non-Localizable ;---------------- ProxyVCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}" KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}" SERVICE_KERNEL_DRIVER=1 SERVICE_DEMAND_START=3 SERVICE_ERROR_NORMAL=1 VM.ExtensionDLL = "VM31bPrp.Ax" ;---------------- ; Localizable ;---------------- SRCDISKNAME = "USB PC CAMERA DISK" SoftMfg="VM" HwMfg="VM" USB\VID_0AC8&PID_0302.DeviceDesc = "Pro Cam" VMCustomPropertySets="VM Custom Property Sets" VMCustomPropertyPage="VM Custom Property Page" VMBackDoorPropertyPage="VM Back Door Property Page" TWAINSetting = "Software\ZSMC\USBCAMERA\ZC0301\TWAIN" USB\VID_0AC8&PID_0302.TWAINDSName = "Pro Cam" USB\VID_0AC8&PID_0302.TWAINOEMPath = "VM301b" GUID_VMCustomPropertySets="{9C757C5A-8D95-453c-8284-906A68DC53FA}" CLSID_VMCustomPropertyPage="{9C757C51-8D95-453c-8284-906A68DC53FA}" CLSID_VMBackDoorPropertyPage="{9C757C52-8D95-453c-8284-906A68DC53FA}" SNAPSHOT = "Startup Camera" SNAPSHOT2 = "Capture Image" VIDEOAPP = "MS Video Capture Application" STILLAPP = "VM Still Capture Application" STI_DEVICE_NAME = "VM STI USB" |