Index of /projects/gnuradio/mdvh/cx2388x
      Name                                                      Last modified       Size  Description

[DIR] Parent Directory 03-Aug-2011 11:42 - [   ] CX23883_datasheet.pdf 25-Jan-2005 09:33 3.2M [TXT] bttv_regvalues.txt 26-Jan-2005 03:09 8k [TXT] cx2388x_tests1.txt 28-Jan-2005 15:53 14k [   ] cx88-0.0.4-mdvh-hack4.patch 26-Jan-2005 01:26 42k [   ] cx88-0.0.4-mdvh-hack4.tar.gz 26-Jan-2005 01:26 143k [DIR] cx88-0.0.4-mdvh-hack4/ 06-Aug-2009 17:54 - [   ] cx88-0.0.4-mdvh-hack5.patch 28-Jan-2005 15:52 58k [   ] cx88-0.0.4-mdvh-hack5.tar.gz 28-Jan-2005 15:48 120k [   ] cx88-0.0.4-orig.tar.gz 25-Jan-2005 09:21 113k [TXT] cx8800_modinfo.txt 26-Jan-2005 00:59 5k [DIR] cxadc/ 07-Aug-2008 00:50 - [DIR] old/ 26-Jan-2005 01:12 - [   ] video4linux-20050119-hack7-built_for_2.6.11rc2.bin.tar.gz 31-Jan-2005 02:54 8.1M [   ] video4linux-20050119-hack7.patch 31-Jan-2005 02:55 36k [   ] video4linux-20050119-hack7.src.tar.gz 31-Jan-2005 02:55 390k [   ] video4linux-20050119-orig.tar.gz 31-Jan-2005 02:56 384k

This directory contains hacked drivers for cx2388x tv capture cards.

If you build them you get a whole load of new insmod options. 
You can see them using modinfo or by looking at the source (cx88-core.c, cx88-video.c)
Most of the new options are just a way of forcing registers at a certain value.

For example we have the module option cap_raw_all 
cap_raw_all,"A value of 1 enables continuous raw data mode capture."

This just sets bit 6 of Capture Control Register 24 h310180


By making all these registers user_settable it is easier to discuss and test different options without having to change the source and recompile all the time.

For the unpatient:
tar zxvf cx88-0.0.4-mdvh-hack5.tar.gz
cd cx88-0.0.4-mdvh-hack5
make KDIR=/path/to/your/kernel/source
insmod v4l1_compat.ko
insmod ./cx88xx.ko
insmod ./cx8800.ko cap_raw_all=1 frm_size=2048
do some capturing in 8-bit grayscale mode with normal and special capture_sizes (see cx2388x_testsx.txt for explanation) 

I first grabbed the latest video4linux sources and modified them only to find out that they don't compile on my machine.
So I changed back to an older version of the cx2388x video4linux driver.
This one (cx88-0.0.4-mdvh-hack4.tar.gz) does compile on my machine against kernel 2.6.7.
Now there is also hack-7 which is based on the latest video4linux source and only compiles against recent 2.6.x kernels. (2.6.11-rc2 compiles)
 

CX23883_datasheet.pdf         Datasheet of cx23880/1/2/3 describing all the registers
cx2388x_tests1.txt            File describing capture tests which can be done by 
                              people owning a cx2388x card to find out if and how
                              we can enable continuous raw capturing.
video4linux-20050119-hack7-built_for_2.6.11rc2.bin.tar.gz  binary of modified driver compiled for kernel 2.6.11-rc2
video4linux-20050119-hack7.patch      The diff between  video4linux-20050119-orig and   video4linux-20050119-hack7 
video4linux-20050119-hack7.src.tar.gz This is the modified driver to use for kernel 2.6.11-rc2 (compiles on my machine)
                                      The insmod parameters moved a bit around (and must sometimes be duplicated for 
                                      different cx??.ko modules.)
                                      Do a modinfo on all cx??.ko modules to find which parameter is in which module(s).
video4linux-20050119-orig.tar.gz      Unmodified cx2388x version 20050119 driver        

cx88-0.0.4-mdvh-hack5.patch   The diff between  cx88-0.0.4-orig and   cx88-0.0.4-mdvh-hack5
cx88-0.0.4-mdvh-hack5.tar.gz  This is the modified driver to use for older kernels (compiles on my machine with 2.6.7)
cx88-0.0.4-orig.tar.gz        Unmodified cx2388x version 0.0.4 driver  
cx8800_modinfo.txt            file describing the new insmod options
old/                          Directory with older versions (version for newer kernel, but with typos,bugs and less features)