Dmitry Belimov b34dddbe4b V4L/DVB (7677): saa7134: Add/fix Beholder entries 17 vuotta sitten
..
bttv d08df601a3 Various typo fixes. 18 vuotta sitten
cx2341x 5614b02143 V4L/DVB (6095): ivtv: fix VIDIOC_G_ENC_INDEX flag handling 17 vuotta sitten
cx88 d6bc8ac9e1 Fix typos in Documentation/: 'Q'-'R' 18 vuotta sitten
API.html b228ede44c [PATCH] v4l: 851: fixed broken api link and indentation 19 vuotta sitten
CARDLIST.au0828 c32d4d7510 V4L/DVB (7623): Scripts to maintain the CARDLIST file 17 vuotta sitten
CARDLIST.bttv e80faad3d7 V4L/DVB (7368): bttv: added support for Kozumi KTV-01C card 17 vuotta sitten
CARDLIST.cx23885 6676237398 V4L/DVB (7673): cx23885: Add support for the Hauppauge HVR1400 17 vuotta sitten
CARDLIST.cx88 99e09eac25 V4L/DVB (7448): Add support for Kworld ATSC 120 17 vuotta sitten
CARDLIST.em28xx 427d20c4e6 V4L/DVB (7132): Add USB ID for a newer variant of Hauppauge WinTV-HVR 900 17 vuotta sitten
CARDLIST.ivtv e08323f099 V4L/DVB (6763): ivtv: add AVerMedia EZMaker PCI Deluxe support 17 vuotta sitten
CARDLIST.saa7134 b34dddbe4b V4L/DVB (7677): saa7134: Add/fix Beholder entries 17 vuotta sitten
CARDLIST.tuner 27c685a4b0 V4L/DVB (7042): xc5000: Tuner analog support 17 vuotta sitten
CARDLIST.usbvision eeec4b3853 V4L/DVB (6994): usbvision: add Pinnacle Studio PCTV USB (NTSC) FM V3 17 vuotta sitten
CQcam.txt 43db48d3d2 V4L/DVB (5068): Fix authorship references 18 vuotta sitten
README.cpia 48773e685b V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux 19 vuotta sitten
README.cpia2 8cbe84f33a V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups 19 vuotta sitten
README.cx88 4ac97914c6 [PATCH] v4l: 800: whitespace cleanups 19 vuotta sitten
README.ir 1da177e4c3 Linux-2.6.12-rc2 20 vuotta sitten
README.ivtv a542fe47fe V4L/DVB (5409): Add CARDLIST.ivtv and README.ivtv 18 vuotta sitten
README.pvrusb2 be2a608bd0 documentation: convert the Documentation directory to UTF-8 18 vuotta sitten
README.saa7134 994914ea7a [PATCH] v4l: 777: updated script to function in new tree layout 19 vuotta sitten
Zoran be2a608bd0 documentation: convert the Documentation directory to UTF-8 18 vuotta sitten
cafe_ccic d905b382d7 V4L/DVB (4797): Marvell 88ALP01 "cafe" driver 18 vuotta sitten
cpia2_overview.txt ab33d5071d V4L/DVB (3376): Add cpia2 camera support 19 vuotta sitten
et61x251.txt 2656312724 V4L/DVB (5064): ET61X251 driver updates. 18 vuotta sitten
extract_xc3028.pl 33e5316113 V4L/DVB (7651): tuner-xc2028: Several fixes to SCODE 17 vuotta sitten
hauppauge-wintv-cx88-ir.txt d6bc8ac9e1 Fix typos in Documentation/: 'Q'-'R' 18 vuotta sitten
ibmcam.txt 6e20409004 V4L/DVB (4042): Documentation: whitespace cleanup 19 vuotta sitten
lifeview.txt f2421ca338 [PATCH] v4l: 801: whitespaces cleanups 19 vuotta sitten
meye.txt be2a608bd0 documentation: convert the Documentation directory to UTF-8 18 vuotta sitten
not-in-cx2388x-datasheet.txt db036a07ac [PATCH] v4l: Documentation 20 vuotta sitten
ov511.txt be2a608bd0 documentation: convert the Documentation directory to UTF-8 18 vuotta sitten
radiotrack.txt 48773e685b V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux 19 vuotta sitten
se401.txt 1864cfb153 V4L/DVB (3653h): Move usb v4l docs into Documentation/video4linux 19 vuotta sitten
sn9c102.txt ddef2dcc4e V4L/DVB (6591): Adds support for MT9V111 on sn9c102 17 vuotta sitten
stv680.txt 1864cfb153 V4L/DVB (3653h): Move usb v4l docs into Documentation/video4linux 19 vuotta sitten
v4lgrab.c a22f1cbc2d V4L/DVB (4047): Doc. sources: expose video4linux/ 19 vuotta sitten
w9966.txt 48773e685b V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux 19 vuotta sitten
w9968cf.txt 992caacf11 Fix typos in Documentation/: 'N'-'P' 18 vuotta sitten
zc0301.txt 7e3a066070 V4L/DVB (5063): ZC0301 driver updates. 18 vuotta sitten
zr364xx.txt c0e0aff977 V4L/DVB (7081): zr364xx: add support for Creative DiVi CAM 516 17 vuotta sitten

README.cpia

This is a driver for the CPiA PPC2 driven parallel connected
Camera. For example the Creative WebcamII is CPiA driven.

) [1]Peter Pregler, Linz 2000, published under the [2]GNU GPL

---------------------------------------------------------------------------

USAGE:

General:
========

1) Make sure you have created the video devices (/dev/video*):

- if you have a recent MAKEDEV do a 'cd /dev;./MAKEDEV video'
- otherwise do a:

cd /dev
mknod video0 c 81 0
ln -s video0 video

2) Compile the kernel (see below for the list of options to use),
configure your parport and reboot.

3) If all worked well you should get messages similar
to the following (your versions may be different) on the console:

V4L-Driver for Vision CPiA based cameras v0.7.4
parport0: read2 timeout.
parport0: Multimedia device, VLSI Vision Ltd PPC2
Parallel port driver for Vision CPiA based camera
CPIA Version: 1.20 (2.0)
CPIA PnP-ID: 0553:0002:0100
VP-Version: 1.0 0100
1 camera(s) found


As modules:
===========

Make sure you have selected the following kernel options (you can
select all stuff as modules):

The cpia-stuff is in the section 'Character devices -> Video For Linux'.

CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_CPIA=m
CONFIG_VIDEO_CPIA_PP=m

For autoloading of all those modules you need to tell module-init-tools
some stuff. Add the following line to your module-init-tools config-file
(e.g. /etc/modprobe.conf or wherever your distribution does store that
stuff):

options parport_pc io=0x378 irq=7 dma=3
alias char-major-81 cpia_pp

The first line tells the dma/irq channels to use. Those _must_ match
the settings of your BIOS. Do NOT simply use the values above. See
Documentation/parport.txt for more information about this. The second
line associates the video-device file with the driver. Of cause you
can also load the modules once upon boot (usually done in /etc/modules).

Linked into the kernel:
=======================

Make sure you have selected the following kernel options. Note that
you cannot compile the parport-stuff as modules and the cpia-driver
statically (the other way round is okay though).

The cpia-stuff is in the section 'Character devices -> Video For Linux'.

CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_CPIA=y
CONFIG_VIDEO_CPIA_PP=y

To use DMA/irq you will need to tell the kernel upon boot time the
hardware configuration of the parport. You can give the boot-parameter
at the LILO-prompt or specify it in lilo.conf. I use the following
append-line in lilo.conf:

append="parport=0x378,7,3"

See Documentation/parport.txt for more information about the
configuration of the parport and the values given above. Do not simply
use the values given above.

---------------------------------------------------------------------------
FEATURES:

- mmap/read v4l-interface (but no overlay)
- image formats: CIF/QCIF, SIF/QSIF, various others used by isabel;
note: all sizes except CIF/QCIF are implemented by clipping, i.e.
pixels are not uploaded from the camera
- palettes: VIDEO_PALETTE_GRAY, VIDEO_PALETTE_RGB565, VIDEO_PALETTE_RGB555,
VIDEO_PALETTE_RGB24, VIDEO_PALETTE_RGB32, VIDEO_PALETTE_YUYV,
VIDEO_PALETTE_UYVY, VIDEO_PALETTE_YUV422
- state information (color balance, exposure, ...) is preserved between
device opens
- complete control over camera via proc-interface (_all_ camera settings are
supported), there is also a python-gtk application available for this [3]
- works under SMP (but the driver is completely serialized and synchronous)
so you get no benefit from SMP, but at least it does not crash your box
- might work for non-Intel architecture, let us know about this

---------------------------------------------------------------------------
TESTED APPLICATIONS:

- a simple test application based on Xt is available at [3]
- another test-application based on gqcam-0.4 (uses GTK)
- gqcam-0.6 should work
- xawtv-3.x (also the webcam software)
- xawtv-2.46
- w3cam (cgi-interface and vidcat, e.g. you may try out 'vidcat |xv
-maxpect -root -quit +noresetroot -rmode 5 -')
- vic, the MBONE video conferencing tool (version 2.8ucl4-1)
- isabel 3R4beta (barely working, but AFAICT all the problems are on
their side)
- camserv-0.40

See [3] for pointers to v4l-applications.

---------------------------------------------------------------------------
KNOWN PROBLEMS:

- some applications do not handle the image format correctly, you will
see strange horizontal stripes instead of a nice picture -> make sure
your application does use a supported image size or queries the driver
for the actually used size (reason behind this: the camera cannot
provide any image format, so if size NxM is requested the driver will
use a format to the closest fitting N1xM1, the application should now
query for this granted size, most applications do not).
- all the todo ;)
- if there is not enough light and the picture is too dark try to
adjust the SetSensorFPS setting, automatic frame rate adjustment
has its price
- do not try out isabel 3R4beta (built 135), you will be disappointed

---------------------------------------------------------------------------
TODO:

- multiple camera support (struct camera or something) - This should work,
but hasn't been tested yet.
- architecture independence?
- SMP-safe asynchronous mmap interface
- nibble mode for old parport interfaces
- streaming capture, this should give a performance gain

---------------------------------------------------------------------------
IMPLEMENTATION NOTES:

The camera can act in two modes, streaming or grabbing. Right now a
polling grab-scheme is used. Maybe interrupt driven streaming will be
used for a asynchronous mmap interface in the next major release of the
driver. This might give a better frame rate.

---------------------------------------------------------------------------
THANKS (in no particular order):

- Scott J. Bertin for cleanups, the proc-filesystem
and much more
- Henry Bruce for providing developers information about
the CPiA chip, I wish all companies would treat Linux as seriously
- Karoly Erdei and RISC-Linz for being
my boss ;) resp. my employer and for providing me the hardware and
allow me to devote some working time to this project
- Manuel J. Petit de Gabriel for providing help
with Isabel (http://isabel.dit.upm.es/)
- Bas Huisman for writing the initial parport code
- Jarl Totland for setting up the mailing list
and maintaining the web-server[3]
- Chris Whiteford for fixes related to the
1.02 firmware
- special kudos to all the tester whose machines crashed and/or
will crash. :)

---------------------------------------------------------------------------
REFERENCES

1. http://www.risc.uni-linz.ac.at/people/ppregler
mailto:Peter_Pregler@email.com
2. see the file COPYING in the top directory of the kernel tree
3. http://webcam.sourceforge.net/