android_kernel_xiaomi_sm8350/Documentation/video4linux
Linus Torvalds 57a44415be Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (44 commits)
  V4L/DVB (5571): V4l1-compat:  Make VIDIOCSPICT return errors in a useful way
  V4L/DVB (5624): Radio-maestro.c cleanup
  V4L/DVB (5623): Dsbr100.c Replace usb_dsbr100_do_ioctl to use video_ioctl2
  V4L/DVB (5622): Radio-zoltrix.c cleanup
  V4L/DVB (5621): Radio-cadet.c Replace cadet_do_ioctl to use video_ioctl2
  V4L/DVB (5619): Dvb-usb: fix typo
  V4L/DVB (5618): Cx88: Drop the generic i2c client from cx88-vp3054-i2c
  V4L/DVB (5617): V4L2: videodev, allow debugging
  V4L/DVB (5614): M920x: Disable second adapter on LifeView TV Walker Twin
  V4L/DVB (5613): M920x: loosen up 80-col limit
  V4L/DVB (5612): M920x: rename function prefixes from m9206_foo to m920x_foo
  V4L/DVB (5611): M920x: replace deb_rc with deb
  V4L/DVB (5610): M920x: remove duplicated code
  V4L/DVB (5609): M920x: group like functions together
  V4L/DVB (5608): M920x: various whitespace cleanups
  V4L/DVB (5607): M920x: Initial support for devices likely manufactured by Dposh
  V4L/DVB (5606): M920x: add "c-basic-offset: 8" to help emacs to enforce tabbing
  V4L/DVB (5605): M920x: Add support for LifeView TV Walker Twin
  V4L/DVB (5603): V4L: Prevent queueing queued buffers.
  V4L/DVB (5602): Enable DiSEqC in Starbox II (vp7021a)
  ...
2007-05-11 12:57:16 -07:00
..
bttv Various typo fixes. 2007-02-17 19:07:33 +01:00
cx88 Fix typos in Documentation/: 'Q'-'R' 2006-10-03 22:54:15 +02:00
cx2341x V4L/DVB (5437): Update cx23415 documentation 2007-04-27 15:44:47 -03:00
API.html [PATCH] v4l: 851: fixed broken api link and indentation 2005-11-09 07:56:24 -08:00
cafe_ccic V4L/DVB (4797): Marvell 88ALP01 "cafe" driver 2006-12-10 08:51:13 -02:00
CARDLIST.bttv V4L/DVB (5497): Additional card support for bttv driver 2007-04-27 15:45:25 -03:00
CARDLIST.cx88 V4L/DVB (5431): Cx88: autodetect ADS Tech InstantTV DVB-S 2007-04-27 15:44:44 -03:00
CARDLIST.em28xx V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF 2006-02-07 06:25:41 -02:00
CARDLIST.ivtv V4L/DVB (5409): Add CARDLIST.ivtv and README.ivtv 2007-04-27 15:44:28 -03:00
CARDLIST.saa7134 V4L/DVB (5582): Added support for Sabrent TV-PCB05 card. 2007-05-09 10:12:37 -03:00
CARDLIST.tuner V4L/DVB (3830): Fix display name for LG TDVS-H06xF 2006-06-25 01:58:19 -03:00
CARDLIST.usbvision V4L/DVB (5530): Usbvision: remove CustomDevice facility 2007-04-27 15:45:43 -03:00
cpia2_overview.txt V4L/DVB (3376): Add cpia2 camera support 2006-02-27 00:09:05 -03:00
CQcam.txt V4L/DVB (5068): Fix authorship references 2007-02-21 13:34:20 -02:00
et61x251.txt V4L/DVB (5064): ET61X251 driver updates. 2007-02-21 13:34:20 -02:00
hauppauge-wintv-cx88-ir.txt Fix typos in Documentation/: 'Q'-'R' 2006-10-03 22:54:15 +02:00
ibmcam.txt V4L/DVB (4042): Documentation: whitespace cleanup 2006-06-25 02:00:38 -03:00
lifeview.txt [PATCH] v4l: 801: whitespaces cleanups 2005-11-09 07:56:21 -08:00
meye.txt documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
not-in-cx2388x-datasheet.txt [PATCH] v4l: Documentation 2005-07-12 16:01:05 -07:00
ov511.txt documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
radiotrack.txt V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux 2006-03-25 09:29:32 -03:00
README.cpia V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux 2006-03-25 09:29:32 -03:00
README.cpia2 V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups 2006-03-03 12:15:29 -03:00
README.cx88 [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
README.ir Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README.ivtv V4L/DVB (5409): Add CARDLIST.ivtv and README.ivtv 2007-04-27 15:44:28 -03:00
README.pvrusb2 documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
README.saa7134 [PATCH] v4l: 777: updated script to function in new tree layout 2005-11-09 07:56:18 -08:00
se401.txt V4L/DVB (3653h): Move usb v4l docs into Documentation/video4linux 2006-04-02 04:55:56 -03:00
sn9c102.txt V4L/DVB (5585): SN9C1xx driver updates 2007-05-09 10:12:38 -03:00
stv680.txt V4L/DVB (3653h): Move usb v4l docs into Documentation/video4linux 2006-04-02 04:55:56 -03:00
v4lgrab.c V4L/DVB (4047): Doc. sources: expose video4linux/ 2006-06-25 02:05:00 -03:00
w9966.txt V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux 2006-03-25 09:29:32 -03:00
w9968cf.txt Fix typos in Documentation/: 'N'-'P' 2006-10-03 22:52:05 +02:00
zc0301.txt V4L/DVB (5063): ZC0301 driver updates. 2007-02-21 13:34:19 -02:00
Zoran documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
zr364xx.txt V4L/DVB (5257): USB: add zr364xx V4L2 driver 2007-04-27 15:43:17 -03:00


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]