;------------------------------------------------------------------------------
; BT848.INF --- Read READMEFIRST.txt before proceeding!!!
;------------------------------------------------------------------------------

[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Msft%

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%MsftMfg%=Microsoft

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

[BT848.CopyDrivers]
BT848.sys
stream.sys

[BT848.CopyFilters]
;mvfilter.ax

[BT848.KnownFiles]
BT848.sys=safe

[DestinationDirs]
BT848.CopyDrivers=10,system32\drivers
BT848.CopyFilters=11

[Microsoft]

    %BT848.VideoDeviceDesc%=BT848.Main  , PCI\VEN_109E&DEV_0350
    %BT848.VideoDeviceDesc%=BT848.Main  , PCI\VEN_109E&DEV_0351
    %BT848.VideoDeviceDesc%=BT848.Main  , PCI\VEN_109E&DEV_036E
    %BT848.VideoDeviceDesc%=BT848.Main  , PCI\VEN_109E&DEV_036F
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0878
    %BT848.AudioDeviceDesc%=AudioSection, PCI\VEN_109E&DEV_0879

[AudioSection]

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


[AudioSection.NT]

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


[BT848.Main]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration,MSPCLOCK.Installation
AddReg=     BT848.AddReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.Main.NT]
Include=    ks.inf, kscaptur.inf, ksfilter.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg=     BT848.AddReg
DelReg=	    BT848.DelReg
CopyFiles=  BT848.CopyDrivers,BT848.CopyFilters
KnownFiles= BT848.KnownFiles

[BT848.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BT848.sys
HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,OkToHibernate,3,01
HKR,"DriverData","Card",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","Tuner",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","HasTDA9855",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","TVTunerDoesFM",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","TVAudioUsedForFM",0x00010001, $5, 0x00, 0x00, 0x00
HKR,"DriverData","AutoGamma",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","AutoSaturation",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","AutoSharpness",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","BacklightCompensation",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","Brightness",0x00010001, 0xee, 0x02, 0x00, 0x00
HKR,"DriverData","ColorEnable",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","Contrast",0x00010001, 0x64, 0x00, 0x00, 0x00
HKR,"DriverData","CurrFreq",0x00010001, 0x50, 0x27, 0x02, 0x04
HKR,"DriverData","Gamma",0x00010001, 0x0e, 0x00, 0x00, 0x00
HKR,"DriverData","Hue",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","LastAudioSource",0x00010001, 0x03, 0x00, 0x00, 0x00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","Saturation",0x00010001, 0x64, 0x00, 0x00, 0x00
HKR,"DriverData","Sharpness",0x00010001, 0x32, 0x00, 0x00, 0x00
HKR,"DriverData","TunerMode",0x00010001, 0x01, 0x00, 0x00, 0x00
HKR,"DriverData","TunerVideoStd",0x00010001, 0x00, 0x00, 0x10, 0x00
HKR,"DriverData","VideoStandard",0x00010001, 0x00, 0x00, 0x10, 0x00
HKR,"DriverData","WhiteBalance",0x00010001, 0x00, 0x00, 0x00, 0x00
;HKLM,%RunOnce%,"mvfilter.ax",,"%11%\regsvr32.exe -s %11%\mvfilter.ax"

; For WinXP, to ensure VFWWDM mapper autodetects again the formats of the new driver
[BT848.DelReg]
HKLM,"SOFTWARE\Microsoft\VfWWDM Mapper"
HKLM,"SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoCrossbar]
AddReg=VideoCrossbar.AddReg

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoTvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%BT848.Tuner%

[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%

[VideoCrossbar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%BT848.Crossbar%

[BT848.Main.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar,
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvTuner,

[BT848.Main.NT.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar,
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvTuner,

[BT848.Main.NT.Services]
AddService = BT848,0x00000002,BT848.ServiceInstall

[BT848.ServiceInstall]
DisplayName   = %BT848.VideoDeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\BT848.sys

[Strings]
Msft=                   "Illusion & Hope"
MsftMfg=                "Illusion & Hope"
BT848.VideoDeviceDesc=  "Conexant's BtPCI WDM Video Capture"
BT848.AudioDeviceDesc=  "Conexant's BtPCI WDM Audio Capture"
BT848.Capture=          "Conexant's BtPCI Capture"
BT848.TvAudio=          "Conexant's BtPCI Tv Audio"
BT848.Crossbar=			"Conexant's BtPCI Crossbar" 
BT848.Tuner=			"Conexant's BtPCI Tv Tuner"
RunOnce=                "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1


