android_kernel_xiaomi_sm8350/Documentation/video4linux
Randy Dunlap 3794f3e812 docsrc: build Documentation/ sources
Currently source files in the Documentation/ sub-dir can easily bit-rot
since they are not generally buildable, either because they are hidden in
text files or because there are no Makefile rules for them.  This needs to
be fixed so that the source files remain usable and good examples of code
instead of bad examples.

Add the ability to build source files that are in the Documentation/ dir.
Add to Kconfig as "BUILD_DOCSRC" config symbol.

Use "CONFIG_BUILD_DOCSRC=1 make ..." to build objects from the
Documentation/ sources.  Or enable BUILD_DOCSRC in the *config system.
However, this symbol depends on HEADERS_CHECK since the header files need
to be installed (for userspace builds).

Built (using cross-tools) for x86-64, i386, alpha, ia64, sparc32,
sparc64, powerpc, sh, m68k, & mips.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-12 16:07:30 -07:00
..
bttv
cx88
cx2341x
API.html
cafe_ccic
CARDLIST.au0828 V4L/DVB (8530): au0828: add support for new revision of HVR950Q 2008-07-27 11:07:32 -03:00
CARDLIST.bttv V4L/DVB (7368): bttv: added support for Kozumi KTV-01C card 2008-04-24 14:07:51 -03:00
CARDLIST.cx88 V4L/DVB (7990): Fix entry for PowerColor RA 330 and make it run with firmware version 2.7 2008-06-05 06:35:56 -03:00
CARDLIST.cx23885 V4L/DVB (7986): cx23885: add initial support for DViCO FusionHDTV7 Dual Express 2008-07-20 07:08:09 -03:00
CARDLIST.em28xx V4L/DVB (8541): em28xx: HVR-950 entry is duplicated. 2008-07-27 18:07:50 -03:00
CARDLIST.ivtv
CARDLIST.saa7134 V4L/DVB (8319): saa7134: Add support for analog only ASUSTeK P7131 2008-07-20 07:24:45 -03:00
CARDLIST.tuner
CARDLIST.usbvision
cpia2_overview.txt
CQcam.txt
cx18.txt V4L/DVB (8168): cx18: Upgrade to newer firmware & update cx18 documentation. 2008-07-20 07:15:30 -03:00
et61x251.txt
extract_xc3028.pl V4L/DVB (7651): tuner-xc2028: Several fixes to SCODE 2008-04-24 14:09:44 -03:00
gspca.txt V4L/DVB (8572): gspca: Webcam 0c45:6143 in documentation. 2008-08-06 06:57:16 -03:00
hauppauge-wintv-cx88-ir.txt
ibmcam.txt
lifeview.txt
Makefile docsrc: build Documentation/ sources 2008-08-12 16:07:30 -07:00
meye.txt
not-in-cx2388x-datasheet.txt
ov511.txt
radiotrack.txt
README.cpia
README.cpia2
README.cx88
README.ir
README.ivtv
README.pvrusb2
README.saa7134
se401.txt
sn9c102.txt Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
stv680.txt
v4lgrab.c
w9966.txt
w9968cf.txt remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
zc0301.txt
Zoran
zr364xx.txt


What is it?
===========

This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
boards.  See http://www.semiconductors.philips.com/pip/saa7134hl for a
description.


Status
======

Almost everything is working.  video, sound, tuner, radio, mpeg ts, ...

As with bttv, card-specific tweaks are needed.  Check CARDLIST for a
list of known TV cards and saa7134-cards.c for the drivers card
configuration info.


Build
=====

Pick up videodev + v4l2 patches from http://bytesex.org/patches/.
Configure, build, install + boot the new kernel.  You'll need at least
these config options:

	CONFIG_I2C=m
	CONFIG_VIDEO_DEV=m

Type "make" to build the driver now.  "make install" installs the
driver.  "modprobe saa7134" should load it.  Depending on the card you
might have to pass card=<nr> as insmod option, check CARDLIST for
valid choices.


Changes / Fixes
===============

Please mail me unified diffs ("diff -u") with your changes, and don't
forget to tell me what it changes / which problem it fixes / whatever
it is good for ...


Known Problems
==============

* The tuner for the flyvideos isn't detected automatically and the
  default might not work for you depending on which version you have.
  There is a tuner= insmod option to override the driver's default.

Card Variations:
================

Cards can use either of these two crystals (xtal):
 - 32.11 MHz -> .audio_clock=0x187de7
 - 24.576MHz -> .audio_clock=0x200000
(xtal * .audio_clock = 51539600)

Some details about 30/34/35:

 - saa7130 - low-price chip, doesn't have mute, that is why all those
 cards should have .mute field defined in their tuner structure.

 - saa7134 - usual chip

 - saa7133/35 - saa7135 is probably a marketing decision, since all those
 chips identifies itself as 33 on pci.

Credits
=======

andrew.stevens@philips.com + werner.leeb@philips.com for providing
saa7134 hardware specs and sample board.


Have fun,

  Gerd

--
Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]