;-------------------------------------------------------
; File: lvC820d.inf
; Logitech Video2 Camera Installation file
; Copyright (c) 1996-2003 Logitech Inc.
;-------------------------------------------------------

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf		
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%PVD%
CatalogFile=lvC820d.cat
DriverVer=05/08/2003, 8.0.0.1166

[Manufacturer]
%LogitechMfg%=Logitech,NT

[Logitech]
%USB\VID_046D&PID_0904_I.DeviceDesc%=LOGIUMS_BS,USB\VID_046D&PID_0904         ; Bluestone
%USB\VID_046D&PID_0904_I.DeviceDesc%=LOGIUMS_BS,USB\VID_046D&PID_0905&MI_01   ; Bluestone
%USB\VID_046D&PID_0903_I.DeviceDesc%=PID_0903_I,USB\VID_046D&PID_0903&MI_01   ; Bluestone FW upadte
%LVUMSD\DISK.DeviceDesc%=umspdr.install,LVUMSD\DISK

[Logitech.NT]
%USB\VID_046D&PID_0904_I.DeviceDesc%=LOGIUMS_BS.XP,USB\VID_046D&PID_0904         ; Bluestone
%USB\VID_046D&PID_0904_I.DeviceDesc%=LOGIUMS_BS.XP,USB\VID_046D&PID_0905&MI_01   ; Bluestone
%USB\VID_046D&PID_0903_I.DeviceDesc%=PID_0903_I.XP,USB\VID_046D&PID_0903&MI_01   ; Bluestone FW update

[SourceDisksNames]
1=%DISK_NAME%,,,

[SourceDisksFiles]
LVUMSD.SYS = 1
LVUMSPD.PDR = 1
LVUMSFD.SYS = 1
LvClCoIn.dll = 1
LvClsUpr.sys = 1
ijl15.dll=1         ; Intel JPEG library
LDSCTwai.dll=1      ; DSC Twain datasource resource
dsctwain.ds=1       ; DSC Twain datasource
Decal.dll=1
LDecal.dll=1		
decalwia.dll=1      ; WIA minidriver
lipl.dll=1          ; Intel Performance library
liplA6.dll=1
liplM6.dll=1
liplP6.dll=1
liplPX.dll=1
liplW7.dll=1
lvcoinst.dll=1
lvcoinst.ini=1
lvSTI.dll=1
LVUSBSta.sys=1
M3JPEG32.dll=1
lvWIAext.dll=1
Bulk533.SYS=1
lvdemsc.dll=1

[DestinationDirs]
DefaultDestDir=11                         ; system
DSCTwain.CopyFiles=10,twain_32\QuickCam	  ; Still Image Twain drivers
CopyCoInstaller=11                        ; system
CopyIPL=11                                ; system
WIAext.CopyFiles=10,twain_32\QuickCam	  ; WIA extension
USBMonitor.CopyFiles=10,System32\Drivers
UMSFILTER.Files = 10, system32\drivers
UMS.Files = 10,System32\Drivers
UMSPDR.Files = 12
LOGIUMS_BS.CopyTwain=10,twain_32\QuickCam
ClsInstaller.Files = 11			;  system
ClsFilter.Files = 10, system32\drivers 
MJPG.Copy=11
PID_0903_I.CopyDrivers=10,system32\drivers

[ControlFlags]
ExcludeFromSelect=*

[LOGIUMS_BS]
CopyFiles=UMS.Files, UMSPDR.Files, UMSFILTER.Files, LOGIUMS_BS.CopyTwain, DSCTwain.CopyFiles,CopyCoInstaller,CopyIPL, MJPG.Copy, WIAext.CopyFiles
Updateinis = MJPG.Updateini
AddReg = ums.AddReg, DecalWIA.AddReg, MJPG.AddReg9x, LOGIUMS_BSF.AddReg, AppRegisterBS.AddReg
VendorSetup=lvcoinst.dll,SetupEntryPoint LOGIUMS_BS
SubClass=StillImage
DeviceType=2
DeviceSubType=0x1
Capabilities=0x18
DeviceData=DualCam.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
DriverVer=05/08/2003, 8.0.0.1166

[LOGIUMS_BS.HW]
AddReg=filter.AddReg

[LOGIUMS_BS.NT]
Include=usbstor.inf
Needs=USBSTOR_BULK.NT
CopyFiles=UMSFILTER.Files, LOGIUMS_BS.CopyTwain, DSCTwain.CopyFiles,CopyIPL,USBMonitor.CopyFiles, MJPG.Copy, WIAext.CopyFiles, ClsInstaller.Files, ClsFilter.Files
AddReg=LOGIUMS_BS.AddReg, DecalSTI.AddReg, MJPG.AddRegNT, ClsInstaller.AddReg, LOGIUMS_BSF.AddReg, AppRegisterBS.AddReg
SubClass=StillImage
DeviceType=2
DeviceSubType=0x1
Capabilities=0x18
DeviceData=DecalSTI.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
DriverVer=05/08/2003, 8.0.0.1166

[LOGIUMS_BS.NT.Hw]
AddReg=FilterAddreg

[LOGIUMS_BS.NT.CoInstallers]
CopyFiles=CopyCoInstaller
AddReg=CoInstaller.AddReg

[LOGIUMS_BS.XP]
Include=usbstor.inf
Needs=USBSTOR_BULK.NT
CopyFiles=UMSFILTER.Files, LOGIUMS_BS.CopyTwain, DSCTwain.CopyFiles,CopyIPL,USBMonitor.CopyFiles, MJPG.Copy, WIAext.CopyFiles
AddReg=LOGIUMS_BS.AddReg, DecalWIA.AddReg, Autoplay.AddReg, MJPG.AddRegNT, LOGIUMS_BSF.AddReg, AppRegisterBS.AddReg
SubClass=StillImage
DeviceType=2
Capabilities=0x18
DeviceData=DualCam.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
DriverVer=05/08/2003, 8.0.0.1166

[LOGIUMS_BS.XP.Hw]
AddReg=FilterAddreg.XP

[LOGIUMS_BS.XP.CoInstallers]
CopyFiles=CopyCoInstaller
AddReg=CoInstaller.AddReg

[LOGIUMS_BS.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,LVUMSFD.SYS
HKR,,OkToHibernate,3,01
HKR,,DetailCLSID,,Bluestone.DetailDriver.1
HKR,,CreateFileName,,"AUTO"

[LOGIUMS_BSF.AddReg]
HKR,,LVFunctions,0x10001,0x07
HKR,,LVFeatures,0x10001,0x1E
HKR,,LVCategories,0x10001,0x0241

[LOGIUMS_BS.Services]
Addservice = LVUMSFD,0x00000000,LVUMSFD.AddService

[LOGIUMS_BS.NT.Services]
Include=usbstor.inf
Needs=USBSTOR_BULK.NT.Services
Addservice = LVUMSFD,0x00000000,LVUMSFD.AddService

[LOGIUMS_BS.XP.Services]
Include=usbstor.inf
Needs=USBSTOR_BULK.NT.Services
Addservice = LVUMSFD,0x00000000,LVUMSFD.AddService

[LOGIUMS_BS.CopyTwain]
Lvdemsc.dll

[AppRegisterBS.AddReg]
HKLM,%REG_APPS%"\Arrival\905","ApplicationPath",,%DualCamApp%
HKLM,%REG_APPS%"\Arrival\905","FirstTime",0x10001,0x1
HKLM,%REG_APPS%"\QuickSync","ApplicationPath",,%QuickSyncApp%
HKLM,%REG_APPS%"\QuickSync","ApplicationArgument",,%QuickSyncArg%

[ums.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,LVUMSD.SYS
HKR,,DetailCLSID,,Bluestone.DetailDriver.1
HKR,,OkToHibernate,3,01
HKR,,CreateFileName,,"AUTO"

[filter.AddReg]
HKR,,"LowerFilters",0x00010000,"lvumsfd.sys"

[umspdr.install]
AddReg=umspdr.addreg

[umspdr.addreg]
HKR,,DevLoader,,*ios
HKR,,PortDriver,,lvumspd.pdr

[ClsInstaller.AddReg]
HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,{71A27CDD-812A-11D0-BEC7-08002BE2092F},0x00010008,"lvclcoin.dll,MyCoInstaller"

[FilterAddreg]
HKR,,"LowerFilters",0x00010000,"lvumsfd"

[FilterAddreg.XP]
HKR,,"LowerFilters",0x00010000,"lvumsfd"
HKR,,Icons,0x00010000,%10%\twain_32\QuickCam\lvdemsc.dll,-201
HKR,,NoMediaIcons,0x00010000,%10%\twain_32\QuickCam\lvdemsc.dll,-203

[LVUMSFD.AddService]
DisplayName = %USBSTORFILTER.Desc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\LVUMSFD.SYS
LoadOrderGroup = Base

[UMSFILTER.Files]
lvumsfd.sys

[UMS.Files]
lvumsd.sys

[UMSPDR.Files]
lvumspd.pdr

[ClsInstaller.Files]
LvClCoIn.dll

[ClsFilter.Files]
LvClsUpr.sys

[Autoplay.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\CLSID","66A32FE6-229D-427b-A608-D273F40C034C",,""

[PID_0903_I]
CopyFiles=PID_0903_I.CopyDrivers
AddReg=PID_0903_I.AddReg
DriverVer=05/08/2003, 8.0.0.1166

[PID_0903_I.NT]
CopyFiles=PID_0903_I.CopyDrivers
AddReg=PID_0903_I.AddReg
DriverVer=05/08/2003, 8.0.0.1166

[PID_0903_I.XP]
CopyFiles=PID_0903_I.CopyDrivers
AddReg=PID_0903_I.AddReg
DriverVer=05/08/2003, 8.0.0.1166

[PID_0903_I.Services]
Addservice = BSFWUpdate,0x00000002,PID_0903_I.AddService

[PID_0903_I.NT.Services]
Addservice = BSFWUpdate,0x00000002,PID_0903_I.AddService

[PID_0903_I.XP.Services]
Addservice = BSFWUpdate,0x00000002,PID_0903_I.AddService

[PID_0903_I.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Bulk533.sys

[PID_0903_I.AddService]
DisplayName    = "BlueStone FW update driver"
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\Bulk533.sys
LoadOrderGroup = Base
HKLM,"System\Currentcontrolset\Services\Bulk533\Parameters","MaximumTransferSize",0x10001,4096
HKLM,"System\Currentcontrolset\Services\Bulk533\Parameters","DebugLevel",0x10001,2

[PID_0903_I.CopyDrivers]
Bulk533.sys

[MJPG.Copy]
M3JPEG32.dll

[MJPG.UpdateIni]
system.ini, drivers32,,"vidc.MJPG=M3JPEG32.dll"
system.ini, drivers32,,"vidc.dmb1=M3JPEG32.dll"

[MJPG.AddReg9x]
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.MJPG,Description,,%MJPG%
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.MJPG,Driver,,M3JPEG32.dll
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.dmb1,Description,,%dmb1%
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.dmb1,Driver,,M3JPEG32.dll
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.jpeg,Description,,%jpeg%
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.jpeg,Driver,,M3JPEG32.dll

[MJPG.AddRegNT]
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc,M3JPEG32.dll,,%M3JPEG%
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.MJPG,,M3JPEG32.dll
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.dmb1,,M3JPEG32.dll
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.dmb1,,M3JPEG32.dll
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.jpeg,,M3JPEG32.dll

[CoInstaller.AddReg]
HKR,,CoInstallers32,0x00010000,"lvcoinst.dll,LvCoInstaller"

[DualCam.DeviceData]
Server=local
UI Class ID={D51DE17F-33FD-496b-9E9F-7B0E16AA0117}

[DecalWIA.AddReg]
HKR,,CreateFileName,,"USB"
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{ACBF6AF6-51C9-46a9-87D8-A93F352BCB3E}"
HKCR,CLSID\{ACBF6AF6-51C9-46a9-87D8-A93F352BCB3E},,,"Logitech DualCam WIA mini-driver"
HKCR,CLSID\{ACBF6AF6-51C9-46a9-87D8-A93F352BCB3E}\InProcServer32,,,%10%\Twain_32\QuickCam\decalWIA.dll
HKCR,CLSID\{ACBF6AF6-51C9-46a9-87D8-A93F352BCB3E}\InProcServer32,ThreadingModel,,Both

[DecalSTI.DeviceData]
Server=local

[DecalSTI.AddReg]
HKR,,CreateFileName,,"USB"
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{091CD028-075C-42ac-BAA3-C7C0958821B2}"
HKCR,CLSID\{091CD028-075C-42ac-BAA3-C7C0958821B2},,,"Logitech DualCam STI driver"
HKCR,CLSID\{091CD028-075C-42ac-BAA3-C7C0958821B2}\InProcServer32,,,%10%\Twain_32\QuickCam\lvSTI.dll
HKCR,CLSID\{091CD028-075C-42ac-BAA3-C7C0958821B2}\InProcServer32,ThreadingModel,,Apartment

[DSCTwain.CopyFiles]
Decal.dll
LDecal.dll
DSCTwain.ds
LDSCTwai.dll
ijl15.dll
decalwia.dll
lvSTI.dll

[WIAext.CopyFiles]
lvWIAext.dll

[CopyIPL]
lipl.dll
liplA6.dll
liplM6.dll
liplP6.dll
liplPX.dll
liplW7.dll

[USBMonitor.CopyFiles]
LVUSBSta.sys,,,64

[CopyCoInstaller]
lvcoinst.dll,,,64
lvcoinst.ini,,,64

[Strings]
SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
USBSTORFILTER.Desc="Mass Storage Filter Service"
REG_APPS="Software\Logitech\LVComS\CurrentVersion\RegisteredApplications\{D2B479C0-C3F2-11D1-B014-00AA00CF90F9}"
DualCamApp="Qsync.exe"
QuickSyncApp="Qsync.exe"
QuickSyncArg="/QuickSync"
PVD="Logitech"
LogitechMfg="Logitech"
DISK_NAME="Logitech USB Video Camera Disk"
MJPG="Morgan Multimedia [MJPG] M-JPEG Codec"
dmb1="Morgan Multimedia [dmb1] M-JPEG Codec"
jpeg="Morgan Multimedia [jpeg] P-JPEG Codec"
M3JPEG="Morgan Multimedia M-JPEG Codec"
LVUMSD\DISK.DeviceDesc = "Logitech Mass Storage Device"
USB\VID_046D&PID_0904_I.DeviceDesc="Logitech ClickSmart 820 (Digital Camera)"
USB\VID_046D&PID_0903_I.DeviceDesc="Logitech ClickSmart 820 (FW Upgrade)"
USB\VID_0781&PID_0810.DeviceDesc="Redstone Digital Video Recorder (Emulated)"



