;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 2008-2009 Hauppauge Computer Works, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   Abstract:
;
;       This is the IR decoder driver inf file.
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"

Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}

Provider="Hauppauge"
DriverVer=12/09/2010,5.1.2601.28343
CatalogFile=hcw10cir.cat

[Manufacturer]
"Hauppauge"=Hauppauge, NT.6

[SourceDisksNames]
1="Hauppauge Cx2310x Drivers",,,driver10

[SourceDisksFiles]
hcw10cir.sys=1

[Hauppauge]
;Rev_0001 represent A0 chip.

;%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_0572&PID_5a3e&Rev_0001&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B100&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B110&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2013&PID_024D&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B118&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B120&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B130&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B138&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR,  USB\VID_2040&PID_B140&MI_00
%CX_POLARIS_IR.DeviceDesc_2%=CX_IR_NOTUSED,  USB\VID_2040&PID_C200&MI_00
%CX_POLARIS_IR.DeviceDesc_2%=CX_IR_NOTUSED,  USB\VID_2040&PID_C210&MI_00

[Hauppauge.NT.6]
;Rev_0001 represent A0 chip.

;%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_0572&PID_5a3e&Rev_0001&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B100&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B110&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2013&PID_024D&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B118&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B120&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B130&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B138&MI_00
%CX_POLARIS_IR.DeviceDesc%=CX_IR_NOTHING,  USB\VID_2040&PID_B140&MI_00
%CX_POLARIS_IR.DeviceDesc_2%=CX_IR_NOTUSED,  USB\VID_2040&PID_C200&MI_00
%CX_POLARIS_IR.DeviceDesc_2%=CX_IR_NOTUSED,  USB\VID_2040&PID_C210&MI_00

;
; Use our driver instead of MS CIR HID driver.
;
[CX_IR_NOTHING]
AddReg=     CXIR.AddReg,CX_IR.AddReg,CX_IR_AVAILABLE.AddReg
CopyFiles=  CXIR.CopyDrivers

[CX_IR_NOTHING.Services]
AddService = hcw10cir,2,CX_IR.ServiceInstall

;
; USB live No IR
;
[CX_IR_NOTUSED]
AddReg=     CXIR.AddReg,CX_IR.AddReg,CX_IR_NOTUSED.AddReg
CopyFiles=  CXIR.CopyDrivers

[CX_IR_NOTUSED.Services]
AddService = hcw10cir,2,CX_IR.ServiceInstall

;
;Install our drv in XP
;
[CX_IR]
AddReg=     CXIR.AddReg,CX_IR.AddReg,CX_IR_AVAILABLE.AddReg
CopyFiles=  CXIR.CopyDrivers

[DestinationDirs]
CXIR.CopyDrivers=10,system32\drivers

[CXIR.CopyDrivers]
hcw10cir.sys

[CXIR.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,hcw10cir.sys

;
; Driver Configuration Registry Entries
;

[CX_IR.AddReg]
;command table 0: RC5 protocol is selected.
HKR,"DriverData","IR_Command_Table",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","IR_Protocol",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","IR_Protocol_Mode",0x00010001, 0x0c, 0x00, 0x00, 0x00

[CX_IR_AVAILABLE.AddReg]
;Tell HCW IR Application IR is Available. 
HKR,"DriverData","IR_AVAILABLE",0x00010001, 0x01, 0x00, 0x00, 0x00

[CX_IR_NOTUSED.AddReg]
;Tell HCW IR Application IR is not Available. 
HKR,"DriverData","IR_AVAILABLE",0x00010001, 0x00, 0x00, 0x00, 0x00

;
; Services installation
;

;
; NTSC_IR
;

[CX_IR.Services]
AddService = hcw10cir,2,CX_IR.ServiceInstall


[CX_IR.ServiceInstall]
DisplayName   = %CX_IR.DeviceDesc%
ServiceType   = 1
StartType     = 2
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\hcw10cir.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
CX_POLARIS_IR.DeviceDesc     	=    "Hauppauge CIR Receiver"
CX_POLARIS_IR.DeviceDesc_2     	=    "Hauppauge USB-Live2 Function Not Used"
CX_POLARIS_IR.Null	     	=    "Hauppauge CIR (Blank EEprom)"
CX_IR.DeviceDesc                =    "Hauppauge CIR Receiver"
CX_IR_NOTHING.DeviceDesc        =    "Hauppauge CIR Receiver"

