peskypescado
5th December 2005, 21:59
I have a question for the wizards of Doom9. I have an ADS Instant Video PCI card, it based Conexant cx23880. It defaults to 352x240 for video capture. Does anyone know how to hack the driver inf file so that 640x480 was the only available resolution? I need to set it to that for a proprietary software one of my clients uses.
Here is a link to the drivers:
http://www.adstech.com/products/PTV-390/downloads/drivers/ptv390%20Drivers.exe
Here are the infs:
cx88vid.inf
;
; 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) 1999-2000 Conexant Systems, Inc.
; All Rights Reserved.
; ---------------------------------------------------------------
;
; File Revision Id:
;
;
; Abstract:
;
; This is the video capture driver inf file.
;
;------------------------------------------------------------------------
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=06/15/2004,4.0.99.5
CatalogFile.ntx86=cx88vid.cat
[Manufacturer]
"Conexant"=Conexant
[SourceDisksNames]
;1="Conexant Cx23880 Drivers",,,""
1="ADS PTV-390 Drivers",,,""
[SourceDisksFiles]
cx88vid.sys=1
[Conexant]
;;=========================================================================>> For ADS
%CX23880.video%=CX23880.883_NTSC, PCI\VEN_14F1&DEV_8800&SUBSYS_03901421
[NullSection.Services]
AddService = , 2 ; null service install
[DestinationDirs]
CX23880.CopyDrivers=10,system32\drivers
CX23880.CopyFilters=11
[CX23880.CopyDrivers]
cx88vid.sys
[CX23880.CopyFilters]
; none for now
[CX23880.883_NTSC]
Include= ks.inf, kscaptur.inf, ksfilter.inf
Needs= KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg= CX23880.AddReg,883_NTSC.AddReg
CopyFiles= CX23880.CopyDrivers,CX23880.CopyFilters
[CX23880.883_PAL]
Include= ks.inf, kscaptur.inf, ksfilter.inf
Needs= KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg= CX23880.AddReg,883_PAL.AddReg
CopyFiles= CX23880.CopyDrivers,CX23880.CopyFilters
[CX23880.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88vid.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
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","VolumeLevelNegdB",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseExternalVPRES",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseI2SAsClock",0x00010001, 0x00, 0x00, 0x00, 0x00
[883_NTSC.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device2",pnpid,,"cx88xbar.VEN_14F1.cnxt"
[883_PAL.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x10,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is Germany = 49
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device2",pnpid,,"cx88xbar.VEN_14F1.cnxt"
[VideoCapture]
AddReg=VideoCapture.AddReg
[VideoTvAudio]
AddReg=VideoTvAudio.AddReg
[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%CX23880.friendly%
[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CX23880.friendly2%
[CX23880.883_NTSC.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
[CX23880.883_NTSC.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall
[CX23880.883_PAL.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
[CX23880.883_PAL.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall
[CX23880.ServiceInstall]
DisplayName = %CX23880.video%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_AUTO_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\cx88vid.sys
[Strings]
CX23880.video = "ADS PTV-390 Capture Device"
;CX23880.null = "ADS Tech (unused device function)"
;CX23881.null = "ADS Tech (unused device function)"
CX23880.friendly = "Conexant 2388x Video Capture"
CX23880.friendly2 = "Conexant 2388x TvAudio"
;RunOnce = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
SERVICE_KERNEL_DRIVER = 1
SERVICE_AUTO_START = 2
SERVICE_ERROR_NORMAL = 1
cx88xbar.inf
;------------------------------------------------------------------------
;
; 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) 1999-2000 Conexant Systems, Inc.
; All Rights Reserved.
; ---------------------------------------------------------------
;
; File Revision Id:
;
;
; Abstract:
;
; This is the crossbar driver inf file.
;
;------------------------------------------------------------------------
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=06/15/2004,4.0.99.5
CatalogFile.ntx86=cx88xbar.cat
[Manufacturer]
"Conexant"=Conexant
[SourceDisksNames]
1="Conexant Cx23880 Drivers",,,""
[SourceDisksFiles]
cx88xbar.sys=1
[Conexant]
%CX88XBAR.DeviceDesc%=CX88XBAR.CNXT,STREAM\CX88XBAR.VEN_14F1.CNXT
[CX88XBAR.CNXT]
Include = ks.inf, kscaptur.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT
AddReg = CX88XBAR.Cnxt.addreg
CopyFiles= CX88XBAR.CopyDrivers
[DestinationDirs]
CX88XBAR.CopyDrivers=10,system32\drivers ; eg. \windows\system32\drivers
[CX88XBAR.CopyDrivers]
cx88xbar.sys
[CX88XBAR.Cnxt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88xbar.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","AudioType",0x00010001, 0x03,0x00,0x00,0x00
[CX88XBAR.Cnxt.Interfaces]
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,
[Crossbar]
AddReg=Crossbar.AddReg
[Crossbar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CX88XBAR.Crossbar%
[CX88XBAR.Cnxt.Services]
AddService = CX88XBAR,0x00000002,CX88XBAR.ServiceInstall
[CX88XBAR.ServiceInstall]
DisplayName = %CX88XBAR.DeviceDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_AUTO_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\CX88XBAR.sys
[Strings]
CX88XBAR.DeviceDesc="ADS PTV-390 Crossbar"
CX88XBAR.Crossbar="Conexant 2388x Crossbar"
SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1
Here is a link to the drivers:
http://www.adstech.com/products/PTV-390/downloads/drivers/ptv390%20Drivers.exe
Here are the infs:
cx88vid.inf
;
; 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) 1999-2000 Conexant Systems, Inc.
; All Rights Reserved.
; ---------------------------------------------------------------
;
; File Revision Id:
;
;
; Abstract:
;
; This is the video capture driver inf file.
;
;------------------------------------------------------------------------
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=06/15/2004,4.0.99.5
CatalogFile.ntx86=cx88vid.cat
[Manufacturer]
"Conexant"=Conexant
[SourceDisksNames]
;1="Conexant Cx23880 Drivers",,,""
1="ADS PTV-390 Drivers",,,""
[SourceDisksFiles]
cx88vid.sys=1
[Conexant]
;;=========================================================================>> For ADS
%CX23880.video%=CX23880.883_NTSC, PCI\VEN_14F1&DEV_8800&SUBSYS_03901421
[NullSection.Services]
AddService = , 2 ; null service install
[DestinationDirs]
CX23880.CopyDrivers=10,system32\drivers
CX23880.CopyFilters=11
[CX23880.CopyDrivers]
cx88vid.sys
[CX23880.CopyFilters]
; none for now
[CX23880.883_NTSC]
Include= ks.inf, kscaptur.inf, ksfilter.inf
Needs= KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg= CX23880.AddReg,883_NTSC.AddReg
CopyFiles= CX23880.CopyDrivers,CX23880.CopyFilters
[CX23880.883_PAL]
Include= ks.inf, kscaptur.inf, ksfilter.inf
Needs= KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation
AddReg= CX23880.AddReg,883_PAL.AddReg
CopyFiles= CX23880.CopyDrivers,CX23880.CopyFilters
[CX23880.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88vid.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
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","VolumeLevelNegdB",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseExternalVPRES",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"DriverData","UseI2SAsClock",0x00010001, 0x00, 0x00, 0x00, 0x00
[883_NTSC.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is USA = 1
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device2",pnpid,,"cx88xbar.VEN_14F1.cnxt"
[883_PAL.AddReg]
HKR,"DriverData","VideoStandard",0x00010001, 0x10,0x00,0x00,0x00
HKR,"DriverData","ColorKillEnable",0x00010001, 0x01,0x00,0x00,0x00
; Country code is Germany = 49
HKR,"DriverData","WWAudioCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","WWVideoCountryCode",0x00010001, 0x31,0x00,0x00,0x00
HKR,"DriverData","Pll27",0x00010001, 0x00, 0x00, 0x00, 0x00
HKR,"ENUM\Device2",pnpid,,"cx88xbar.VEN_14F1.cnxt"
[VideoCapture]
AddReg=VideoCapture.AddReg
[VideoTvAudio]
AddReg=VideoTvAudio.AddReg
[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%CX23880.friendly%
[VideoTvAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CX23880.friendly2%
[CX23880.883_NTSC.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
[CX23880.883_NTSC.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall
[CX23880.883_PAL.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"GLOBAL",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoTvAudio,
[CX23880.883_PAL.Services]
AddService = CX23880,0x00000002,CX23880.ServiceInstall
[CX23880.ServiceInstall]
DisplayName = %CX23880.video%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_AUTO_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\cx88vid.sys
[Strings]
CX23880.video = "ADS PTV-390 Capture Device"
;CX23880.null = "ADS Tech (unused device function)"
;CX23881.null = "ADS Tech (unused device function)"
CX23880.friendly = "Conexant 2388x Video Capture"
CX23880.friendly2 = "Conexant 2388x TvAudio"
;RunOnce = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
SERVICE_KERNEL_DRIVER = 1
SERVICE_AUTO_START = 2
SERVICE_ERROR_NORMAL = 1
cx88xbar.inf
;------------------------------------------------------------------------
;
; 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) 1999-2000 Conexant Systems, Inc.
; All Rights Reserved.
; ---------------------------------------------------------------
;
; File Revision Id:
;
;
; Abstract:
;
; This is the crossbar driver inf file.
;
;------------------------------------------------------------------------
[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=06/15/2004,4.0.99.5
CatalogFile.ntx86=cx88xbar.cat
[Manufacturer]
"Conexant"=Conexant
[SourceDisksNames]
1="Conexant Cx23880 Drivers",,,""
[SourceDisksFiles]
cx88xbar.sys=1
[Conexant]
%CX88XBAR.DeviceDesc%=CX88XBAR.CNXT,STREAM\CX88XBAR.VEN_14F1.CNXT
[CX88XBAR.CNXT]
Include = ks.inf, kscaptur.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT
AddReg = CX88XBAR.Cnxt.addreg
CopyFiles= CX88XBAR.CopyDrivers
[DestinationDirs]
CX88XBAR.CopyDrivers=10,system32\drivers ; eg. \windows\system32\drivers
[CX88XBAR.CopyDrivers]
cx88xbar.sys
[CX88XBAR.Cnxt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88xbar.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,"DriverData","LastVideoSource",0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","AudioType",0x00010001, 0x03,0x00,0x00,0x00
[CX88XBAR.Cnxt.Interfaces]
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",Crossbar,
[Crossbar]
AddReg=Crossbar.AddReg
[Crossbar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%CX88XBAR.Crossbar%
[CX88XBAR.Cnxt.Services]
AddService = CX88XBAR,0x00000002,CX88XBAR.ServiceInstall
[CX88XBAR.ServiceInstall]
DisplayName = %CX88XBAR.DeviceDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_AUTO_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\system32\drivers\CX88XBAR.sys
[Strings]
CX88XBAR.DeviceDesc="ADS PTV-390 Crossbar"
CX88XBAR.Crossbar="Conexant 2388x Crossbar"
SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_ERROR_NORMAL=1