;****************************************************************************
;* Module      : CXVCap.INF
;* Description : WDM installation file for Windows 98SE/ME/2K/XP
;* Drivers     : Conexant BT848/849/878/879
;* Copyright   : (C)2004, TelSignal Co, Ltd.
;****************************************************************************

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
;Provider=%Msft%
Provider=%MsftMfg%
DriverVer=04/05/2004,5.0.0.24
CatalogFile.ntx86=CXVCap.cat



[Manufacturer]
%MsftMfg%=Conexant

[SourceDisksNames]
1=%CXVideo.SourceDisk%,,,""

[SourceDisksFiles]
CXVCap.sys=1

[DestinationDirs]
CXVideo.CopyDrivers=10,system32\drivers
CXAudio.CopyDrivers=10,system32\drivers

[Conexant]
%CXVideo.VideoDeviceDesc%=CXVideo, PCI\VEN_109E&DEV_036E&SUBSYS_40111554
%CXVideo.AudioDeviceDesc%=CXAudio, PCI\VEN_109E&DEV_0878&SUBSYS_40111554
%CXVideo.VideoDeviceDesc%=CXVideo, PCI\VEN_109E&DEV_036E
%CXVideo.AudioDeviceDesc%=CXAudio, PCI\VEN_109E&DEV_0878



[CXAudio]
;Include= ks.inf, kscaptur.inf, ksfilter.inf
;Needs=   KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=   CXAudio.AddReg
CopyFiles=CXAudio.CopyDrivers

[CXAudio.AddReg]
; Do nothing

[CXAudio.CopyDrivers]
;CXVCap.sys

[CXAudio.Services]
AddService = , 0x00000002  ; null service install



[CXVideo]
Include=  ks.inf, kscaptur.inf, ksfilter.inf
Needs=    KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=   CXVideo.AddReg,TSC_BTTV.AddReg
CopyFiles=CXVideo.CopyDrivers

[CXVideo.CopyDrivers]
CXVCap.sys

[CXVideo.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CXVCap.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,"DriverData","XBarInPin0",0x00010001, 0x03, 0x00, 0x00, 0x00
HKR,"DriverData","XBarInPin1",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","XBarInPin2",0x00010001, 0x02, 0x00, 0x00, 0x00
HKR,"DriverData","XBarInPin3",0x00010001, 0x00, 0x10, 0x00, 0x00
HKR,"DriverData","XTal0",     0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",     0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","BobMode",   0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"ENUM\Device1",pnpid,,"CXTuner"
HKR,"ENUM\Device2",pnpid,,"CXXBar"

[CXVideo.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={A799A802-A46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTVAudio,

[CXVideo.Services]
AddService = CXVideo,0x00000002,CXVideo.ServiceInstall

[CXVideo.ServiceInstall]
DisplayName   = %CXVideo.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\CXVCap.sys



[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%CXVideo.Capture%



[VideoTVAudio]
AddReg=VideoTVAudio.AddReg

[VideoTVAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CXVideo.TVAudio%



[Strings]
Msft=              "TelSignal Co., Ltd."
MsftMfg=           "Conexant Systems, Inc."

CXVideo.SourceDisk=      "Conexant Fusion 878A Drivers"
CXVideo.AudioDeviceDesc= "Conexant BTAudio"
CXVideo.VideoDeviceDesc= "Conexant Capture"
CXVideo.Capture=         "Conexant Capture"
CXVideo.TVAudio=         "Conexant TVAudio"
CXTuner.Tuner=           "Conexant TVTuner"
CXXBar.Crossbar=         "Conexant Crossbar"

SERVICE_AUTO_START=3
SERVICE_ERROR_NORMAL=1
SERVICE_KERNEL_DRIVER=1



[TSC_BTTV.AddReg]
;******************************************************************************
;TelSignal AddCodes : WDM extension
;******************************************************************************
;
; WDM extension command information
;
HKLM,"Software\TelSignal\WDMTV", ,              0x00000, "TelSignal WDM extension"
HKLM,"Software\TelSignal\WDMTV","TVfreq",       0x10001, 0x00, 0x00, 0x00, 0x00 ; Frequency
HKLM,"Software\TelSignal\WDMTV","TVcfg",        0x10001, 0x00, 0x00, 0x00, 0x00 ; TVCFG
HKLM,"Software\TelSignal\WDMTV","TVcmd",        0x10001, 0x00, 0x00, 0x00, 0x00 ; Command
HKLM,"Software\TelSignal\WDMTV","TVparam",      0x10001, 0x00, 0x00, 0x00, 0x00 ; Parameter
HKLM,"Software\TelSignal\WDMTV","TVresp",       0x10001, 0x00, 0x00, 0x00, 0x00 ; Response
HKLM,"Software\TelSignal\WDMTV","TVstatus",     0x10001, 0x00, 0x00, 0x00, 0x00 ; Status
;
; Brooktree BT848/878 WDM extension information
;
HKLM,"Software\TelSignal\BTTV",           ,     0x00000, "BTTV information"
HKLM,"Software\TelSignal\BTTV","Copyright",     0x00000, "TelSignal Co., Ltd."
HKLM,"Software\TelSignal\BTTV","Company",       0x00000, "Prolink"
HKLM,"Software\TelSignal\BTTV","Product",       0x00000, "PV-BT878P+9X"
HKLM,"Software\TelSignal\BTTV","Software",      0x00000, "WinTV Encoder PV-BT878P+"
HKLM,"Software\TelSignal\BTTV","Function",      0x00000, "TV+FM"
HKLM,"Software\TelSignal\BTTV","DsVideoSrc",    0x00000, %CXVideo.Capture%
HKLM,"Software\TelSignal\BTTV","DsTVTuner",     0x00000, %CXTuner.Tuner%
HKLM,"Software\TelSignal\BTTV","DsTVAudio",     0x00000, %CXVideo.TVAudio%
HKLM,"Software\TelSignal\BTTV","DsCrossbar",    0x00000, %CXXBar.Crossbar%
HKLM,"Software\TelSignal\BTTV","VideoSrc",      0x00000, %CXVideo.Capture%
;
; TV capture card GPIO and I2C information
;
HKLM,"Software\TelSignal\BTTV","AgpioStart",    0x10001, 0x00, 0x00, 0x00, 0x00 ; ASwitch Start Bit
HKLM,"Software\TelSignal\BTTV","AgpioEnd",      0x10001, 0x03, 0x00, 0x00, 0x00 ; ASwitch End   Bit
HKLM,"Software\TelSignal\BTTV","AudioTV",       0x10001, 0x01, 0x00, 0x00, 0x00 ; Audio TV
HKLM,"Software\TelSignal\BTTV","AudioMTS",      0x10001, 0x02, 0x00, 0x00, 0x00 ; Audio MTS
HKLM,"Software\TelSignal\BTTV","AudioFM",       0x10001, 0x00, 0x00, 0x00, 0x00 ; Audio FM
HKLM,"Software\TelSignal\BTTV","AudioLine",     0x10001, 0x03, 0x00, 0x00, 0x00 ; Audio Line
HKLM,"Software\TelSignal\BTTV","AudioNC",       0x10001, 0x03, 0x00, 0x00, 0x00 ; Audio NC
HKLM,"Software\TelSignal\BTTV","AudioSW",       0x10001, 0x00, 0x00, 0x00, 0x00 ; Audio Switch
HKLM,"Software\TelSignal\BTTV","AudioUSB",      0x10001, 0x00, 0x00, 0x00, 0x00 ; Audio USB
HKLM,"Software\TelSignal\BTTV","AmutePin",      0x10001, 0x03, 0x00, 0x00, 0x00 ; Audio Mute   Pin
HKLM,"Software\TelSignal\BTTV","AmuteOn",       0x10001, 0x01, 0x00, 0x00, 0x00 ; Audio Mute   Value
HKLM,"Software\TelSignal\BTTV","AmuteOff",      0x10001, 0x00, 0x00, 0x00, 0x00 ; Audio Unmute Value
HKLM,"Software\TelSignal\BTTV","AmuteStatus",   0x10001, 0x00, 0x00, 0x00, 0x00 ; Audio Mute   Status
HKLM,"Software\TelSignal\BTTV","FmFreq",        0x10001, 0x00, 0x00, 0x00, 0x00 ; FM Frequency
HKLM,"Software\TelSignal\BTTV","FmI2C",         0x10001, 0xC2, 0x00, 0x00, 0x00 ; FM I2C Address
HKLM,"Software\TelSignal\BTTV","GPIE",          0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIE
HKLM,"Software\TelSignal\BTTV","GPOE",          0x10001, 0x3F, 0x00, 0x00, 0x00 ; GPOE
HKLM,"Software\TelSignal\BTTV","MTSioStart",    0x10001, 0x04, 0x00, 0x00, 0x00 ; MTS Start Bit
HKLM,"Software\TelSignal\BTTV","MTSioEnd",      0x10001, 0x05, 0x00, 0x00, 0x00 ; MTS End   Bit
HKLM,"Software\TelSignal\BTTV","MTSioMONO",     0x10001, 0x02, 0x00, 0x00, 0x00 ; MONO
HKLM,"Software\TelSignal\BTTV","MTSioSAP",      0x10001, 0x01, 0x00, 0x00, 0x00 ; SAP
HKLM,"Software\TelSignal\BTTV","MTSioST",       0x10001, 0x02, 0x00, 0x00, 0x00 ; STEREO
HKLM,"Software\TelSignal\BTTV","MTSioSW",       0x10001, 0x00, 0x00, 0x00, 0x00 ; MTS Switch
HKLM,"Software\TelSignal\BTTV","MTSspST",       0x10001, 0x00, 0x00, 0x00, 0x00 ; STEREO Signal Pin
HKLM,"Software\TelSignal\BTTV","MTSspSAP",      0x10001, 0x00, 0x00, 0x00, 0x00 ; SAP    Signal Pin
HKLM,"Software\TelSignal\BTTV","MTSsvST",       0x10001, 0x00, 0x00, 0x00, 0x00 ; STEREO Signal Value
HKLM,"Software\TelSignal\BTTV","MTSsvSAP",      0x10001, 0x00, 0x00, 0x00, 0x00 ; SAP    Signal Value
HKLM,"Software\TelSignal\BTTV","TVout",         0x10001, 0x00, 0x00, 0x00, 0x00 ; Tuner I2C Address
HKLM,"Software\TelSignal\BTTV","TunerI2C",      0x10001, 0xC2, 0x00, 0x00, 0x00 ; Tuner I2C Address
HKLM,"Software\TelSignal\BTTV","TunerBrand",    0x10001, 0x01, 0x00, 0x00, 0x00 ; Tuner Brand
HKLM,"Software\TelSignal\BTTV","Tuner1286MK3",  0x10001, 0x00, 0x00, 0x00, 0x00 ; Tuner FQ1286
HKLM,"Software\TelSignal\BTTV","VideoComposite",0x10001, 0x01, 0x00, 0x00, 0x00 ; Is Composite Available
HKLM,"Software\TelSignal\BTTV","VideoSVideo",   0x10001, 0x01, 0x00, 0x00, 0x00 ; Is SVideo    Available
HKLM,"Software\TelSignal\BTTV","VideoTuner",    0x10001, 0x01, 0x00, 0x00, 0x00 ; Is Tuner     Available
HKLM,"Software\TelSignal\BTTV","VideoCamera",   0x10001, 0x00, 0x00, 0x00, 0x00 ; Is Camera    Available
HKLM,"Software\TelSignal\BTTV","VideoQSCamera", 0x10001, 0x00, 0x00, 0x00, 0x00 ; Is Quartz Sight Camera
;
; The decoder must be GPIO type 0x0357, 0x0360, 0x0866 or 0x012C for I2C devices.
;
HKLM,"Software\TelSignal\BTTV","RemoteCode",    0x10001, 0x00, 0x00, 0x00, 0x00 ; Remote Code
HKLM,"Software\TelSignal\BTTV","RemoteDecoder", 0x10001, 0x57, 0x03, 0x00, 0x00 ; Decoder Name
HKLM,"Software\TelSignal\BTTV","RemoteI2C",     0x10001, 0x00, 0x00, 0x00, 0x00 ; I2C  Byte 1
HKLM,"Software\TelSignal\BTTV","RemoteI2Cex",   0x10001, 0x00, 0x00, 0x00, 0x00 ; I2C  Byte 2
HKLM,"Software\TelSignal\BTTV","RemoteStart",   0x10001, 0x08, 0x00, 0x00, 0x00 ; GPIO Start Bit
HKLM,"Software\TelSignal\BTTV","RemoteEnd",     0x10001, 0x0D, 0x00, 0x00, 0x00 ; GPIO End   Bit
HKLM,"Software\TelSignal\BTTV","RemoteReset",   0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Reset Pin
HKLM,"Software\TelSignal\BTTV","RemoteRScode",  0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Reset Value
HKLM,"Software\TelSignal\BTTV","RemoteRSdelay", 0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Reset Delay
HKLM,"Software\TelSignal\BTTV","RemoteBitmap",  0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Bitmapped
HKLM,"Software\TelSignal\BTTV","RemoteBit0",    0x10001, 0x08, 0x00, 0x00, 0x00 ; GPIO Bit 0
HKLM,"Software\TelSignal\BTTV","RemoteBit1",    0x10001, 0x09, 0x00, 0x00, 0x00 ; GPIO Bit 1
HKLM,"Software\TelSignal\BTTV","RemoteBit2",    0x10001, 0x0A, 0x00, 0x00, 0x00 ; GPIO Bit 2
HKLM,"Software\TelSignal\BTTV","RemoteBit3",    0x10001, 0x0B, 0x00, 0x00, 0x00 ; GPIO Bit 3
HKLM,"Software\TelSignal\BTTV","RemoteBit4",    0x10001, 0x0C, 0x00, 0x00, 0x00 ; GPIO Bit 4
HKLM,"Software\TelSignal\BTTV","RemoteBit5",    0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Bit 5
HKLM,"Software\TelSignal\BTTV","RemoteBit6",    0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Bit 6
HKLM,"Software\TelSignal\BTTV","RemoteBit7",    0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Bit 7
HKLM,"Software\TelSignal\BTTV","RemoteBitS",    0x10001, 0x0F, 0x00, 0x00, 0x00 ; GPIO Valid Bit
HKLM,"Software\TelSignal\BTTV","RemoteBitSV",   0x10001, 0x00, 0x00, 0x00, 0x00 ; GPIO Valid Bit Value
;
; 32 Remote controller hardware keys mapping             H/W codes to S/W commands
;
HKLM,"Software\TelSignal\BTTV","RemoteKey00",   0x10001, 0x00, 0x00, 0x02, 0x00 ; Key 0
HKLM,"Software\TelSignal\BTTV","RemoteKey01",   0x10001, 0x01, 0x00, 0x01, 0x00 ; Key 1
HKLM,"Software\TelSignal\BTTV","RemoteKey02",   0x10001, 0x02, 0x00, 0x0B, 0x00 ; Key 2
HKLM,"Software\TelSignal\BTTV","RemoteKey03",   0x10001, 0x03, 0x00, 0x1B, 0x00 ; Key 3
HKLM,"Software\TelSignal\BTTV","RemoteKey04",   0x10001, 0x04, 0x00, 0x05, 0x00 ; Key 4
HKLM,"Software\TelSignal\BTTV","RemoteKey05",   0x10001, 0x05, 0x00, 0x09, 0x00 ; Key 5
HKLM,"Software\TelSignal\BTTV","RemoteKey06",   0x10001, 0x06, 0x00, 0x15, 0x00 ; Key 6
HKLM,"Software\TelSignal\BTTV","RemoteKey07",   0x10001, 0x07, 0x00, 0x06, 0x00 ; Key 7
HKLM,"Software\TelSignal\BTTV","RemoteKey08",   0x10001, 0x08, 0x00, 0x0A, 0x00 ; Key 8
HKLM,"Software\TelSignal\BTTV","RemoteKey09",   0x10001, 0x09, 0x00, 0x12, 0x00 ; Key 9
HKLM,"Software\TelSignal\BTTV","RemoteKey10",   0x10001, 0x0A, 0x00, 0x13, 0x00 ; Recall
HKLM,"Software\TelSignal\BTTV","RemoteKey11",   0x10001, 0x17, 0x00, 0x10, 0x00 ; + 100
HKLM,"Software\TelSignal\BTTV","RemoteKey12",   0x10001, 0x1A, 0x00, 0x16, 0x00 ; CH. +
HKLM,"Software\TelSignal\BTTV","RemoteKey13",   0x10001, 0x1E, 0x00, 0x14, 0x00 ; CH. -
HKLM,"Software\TelSignal\BTTV","RemoteKey14",   0x10001, 0x1B, 0x00, 0x1F, 0x00 ; Vol +
HKLM,"Software\TelSignal\BTTV","RemoteKey15",   0x10001, 0x1F, 0x00, 0x17, 0x00 ; Vol -
HKLM,"Software\TelSignal\BTTV","RemoteKey16",   0x10001, 0x30, 0x00, 0x03, 0x00 ; TV/FM
HKLM,"Software\TelSignal\BTTV","RemoteKey17",   0x10001, 0x32, 0x00, 0x07, 0x00 ; Scan
HKLM,"Software\TelSignal\BTTV","RemoteKey18",   0x10001, 0x15, 0x00, 0x18, 0x00 ; Mute
HKLM,"Software\TelSignal\BTTV","RemoteKey19",   0x10001, 0x0B, 0x00, 0x10, 0x00 ; Minimize
HKLM,"Software\TelSignal\BTTV","RemoteKey20",   0x10001, 0x0F, 0x00, 0x1C, 0x00 ; Zoom
HKLM,"Software\TelSignal\BTTV","RemoteKey21",   0x10001, 0x36, 0x00, 0x0F, 0x00 ; Freeze
HKLM,"Software\TelSignal\BTTV","RemoteKey22",   0x10001, 0x33, 0x00, 0x1D, 0x00 ; Record AVI
HKLM,"Software\TelSignal\BTTV","RemoteKey23",   0x10001, 0x35, 0x00, 0x19, 0x00 ; Play   AVI
HKLM,"Software\TelSignal\BTTV","RemoteKey24",   0x10001, 0x37, 0x00, 0x0E, 0x00 ; OSD
HKLM,"Software\TelSignal\BTTV","RemoteKey25",   0x10001, 0x39, 0x00, 0x0D, 0x00 ; OSD Reset
HKLM,"Software\TelSignal\BTTV","RemoteKey26",   0x10001, 0x3B, 0x00, 0x04, 0x00 ; OSD +
HKLM,"Software\TelSignal\BTTV","RemoteKey27",   0x10001, 0x3A, 0x00, 0x0C, 0x00 ; OSD -
HKLM,"Software\TelSignal\BTTV","RemoteKey28",   0x10001, 0x12, 0x00, 0x1E, 0x00 ; Power Off
HKLM,"Software\TelSignal\BTTV","RemoteKey29",   0x10001, 0x11, 0x00, 0x00, 0x00 ; Video Source
HKLM,"Software\TelSignal\BTTV","RemoteKey30",   0x10001, 0x00, 0x00, 0x00, 0x00 ;
HKLM,"Software\TelSignal\BTTV","RemoteKey31",   0x10001, 0x00, 0x00, 0x00, 0x00 ;

