;Changed: by Fangjijun
;-added mute control for cybercool tv



;------------------------------------------------------------------------------
; BT848.INF
;------------------------------------------------------------------------------

[Version]
Signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
DriverVer=05/27/2002,3.1.28.37

[DestinationDirs]
BT848.CopyDrivers=10,system32\drivers  
BT848.CopyFilters=11
TekM205p.CopyFile=11
;EECHECK.CopyFile=10



[Manufacturer]
%MsftMfg%=Cards

;------------------------------------------------------------------------------
; SubSystem Vendor ID List
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
; Device ID List
;------------------------------------------------------------------------------
;
; ID Number     Device
;

; 0x36E         Bt878 (Video Section)

; 0x370         Bt880 (Video Section)
; 0x878         Bt878 (Audio Section)


[Cards]

;------------------------------------------------------------------------------
; Bt848 and Bt849 boards had no SubSystem ID or SubSystem Vendor ID
;------------------------------------------------------------------------------



;------------------------------------------------------------------------------
; These are the Rockwell versions of our cards, for c.c.tv first generation (XP)
;------------------------------------------------------------------------------

    %BT848.VideoDeviceDesc%=BT848.Philips,PCI\VEN_109E&DEV_036E
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878

;------------------------------------------------------------------------------
; These are the files we need installed
;------------------------------------------------------------------------------

[BT848.CopyDrivers]
BT848.sys
stream.sys

[BT848.KnownFiles]
BT848.sys=safe


[AudioSection]

[AudioSection.Services]
AddService = , 2  ; null service install
;*****************************************************************************


[BT848.Philips]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     COMMON.AddReg,BT848.AddReg,Philips.AddReg
CopyFiles=  BT848.CopyDrivers,AVERTV2K.CopyFile
KnownFiles= BT848.KnownFiles


;*****************************************************************************
[COMMON.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BT848.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,OkToHibernate,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
;"DefTvStandard"
;    KS_AnalogVideo_NTSC_M   = 0x00000001,  
;    KS_AnalogVideo_NTSC_M_J = 0x00000002,  
;    KS_AnalogVideo_NTSC_433 = 0x00000004,
;
;    KS_AnalogVideo_PAL_B    = 0x00000010,
;    KS_AnalogVideo_PAL_D    = 0x00000020,
;    KS_AnalogVideo_PAL_G    = 0x00000040,
;    KS_AnalogVideo_PAL_H    = 0x00000080,
;    KS_AnalogVideo_PAL_I    = 0x00000100,
;    KS_AnalogVideo_PAL_M    = 0x00000200,
;    KS_AnalogVideo_PAL_N    = 0x00000400,
;
;    KS_AnalogVideo_PAL_60   = 0x00000800,
;
;    KS_AnalogVideo_SECAM_B  = 0x00001000,
;    KS_AnalogVideo_SECAM_D  = 0x00002000,
;    KS_AnalogVideo_SECAM_G  = 0x00004000,
;    KS_AnalogVideo_SECAM_H  = 0x00008000,
;    KS_AnalogVideo_SECAM_K  = 0x00010000,
;    KS_AnalogVideo_SECAM_K1 = 0x00020000,
;    KS_AnalogVideo_SECAM_L  = 0x00040000,
;    KS_AnalogVideo_SECAM_L1 = 0x00080000

HKR,"DriverData","DefTvStandard",       0x00010001, 0x10, 0x00, 0x00, 0x00 ;PAL_B
;*****************************************************************************
[BT848.AddReg]
HKR,"DriverData","XTal0",               0x00010001, 0x23, 0x00, 0x00, 0x00
HKR,"DriverData","XTal1",               0x00010001, 0x1c, 0x00, 0x00, 0x00
HKR,"DriverData","InitPLL",             0x00010001, 0x01, 0x00, 0x00, 0x00
;************************************************************************
; 
; Follows Audio settings used into driver like this:
;   // Turn on TV tuner audio
;   SetGPOE( AudioGPOE);
;   SetGPDATABits( AudioTvFromBit, AudioTvToBit, AudioTvValue, 0 );
;



;HKR,"DriverData","AudioGPOE",           0x00010001, 0x0f, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioLineFromBit",    0x00010001, 0x00, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioLineToBit",      0x00010001, 0x03, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioLineValue",      0x00010001, 0x0a, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioTvFromBit",      0x00010001, 0x00, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioTvToBit",        0x00010001, 0x03, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioTvValue",        0x00010001, 0x0e, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioTvValueStereo",  0x00010001, 0x06, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioDisableFromBit", 0x00010001, 0x00, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioDisableToBit",   0x00010001, 0x03, 0x00, 0x00, 0x00
;HKR,"DriverData","AudioDisableValue",   0x00010001, 0x02, 0x00, 0x00, 0x00

;*****************************************
;changed by fjj
HKR,"DriverData","AudioGPOE",           0x00010001, 0x2f, 0x00, 0x23, 0x00 ;23002F
HKR,"DriverData","AudioLineFromBit",    0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","AudioLineToBit",      0x00010001, 0x17, 0x00, 0x00, 0x00
HKR,"DriverData","AudioLineValue",      0x00010001, 0x21, 0x00, 0x21, 0x00 ;210021
HKR,"DriverData","AudioTvFromBit",      0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","AudioTvToBit",        0x00010001, 0x17, 0x00, 0x00, 0x00
HKR,"DriverData","AudioTvValue",        0x00010001, 0x22, 0x00, 0x20, 0x00 ;200022
HKR,"DriverData","AudioTvValueStereo",  0x00010001, 0x06, 0x00, 0x00, 0x00
HKR,"DriverData","AudioDisableFromBit", 0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","AudioDisableToBit",   0x00010001, 0x17, 0x00, 0x00, 0x00
HKR,"DriverData","AudioDisableValue",   0x00010001, 0x20, 0x00, 0x20, 0x00 ;200020
; change end
;*****************************************


;************************************************************************

 
[RunOnce.AddReg]
;
;HKLM,%RunOnce%,"mvfilter.ax",,"%11%\regsvr32.exe -s %11%\mvfilter.ax"
;HKLM,%RunOnce%,AVerMedia0,0,EECheck

[Philips.AddReg]
HKR,"ENUM\Device1",pnpid,,"bttuner.philips"
HKR,"ENUM\Device2",pnpid,,"btxbar"


;*****************************************************************************
[VideoCapture]
AddReg=VideoCapture.AddReg,RunOnce.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

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

[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BT848.TvAudio%
;*****************************************************************************
[BigPicture.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.VHX.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,


[KWorld878FBK.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.Temic.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[Fly98PSD.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[KNCTVRDS.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[Anubis.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[Fly98PPSD.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[WonderProV2.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[Fly98PPDG.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.WintvPSD.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.Wintv04PSD.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[PVPTVPACK.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[PinPCTV.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.Philips.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.PhilipsPDSD.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[AverPhone95.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[TVWonder.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[CPH033.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[CPH05X.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[CPH06X.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.PhilipsPalBG.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.PhilipsPalI.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[BT848.Alps.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,

[TekM205p.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,


[BT848.NoTuner.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
;*****************************************************************************
[BigPicture.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.VHX.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[KWorld878FBK.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.Temic.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[KNCTVRDS.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[PinPCTV.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall



[PVPTVPACK.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.Philips.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.PhilipsPDSD.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.PhilipsPalBG.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.PhilipsPalI.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.NoTuner.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall
;*****************************************************************************
[BT848.ServiceInstall]
DisplayName   = %BT848.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\BT848.sys
;*****************************************************************************
[Strings]
Msft=                   "Super"
MsftMfg=                "Ã÷´ï³ÉÒµ"
BT848.VideoDeviceDesc=                      "Super PcTv WDM Video"
BT848.AudioDeviceDesc=                      "Super PcTv WDM Audio"  
BT848.Capture=          "Super PcTv Capture"
BT848.TvAudio=          "Super PcTv TvAudio"
RunOnce=                "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"


SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1




