kernel_optimize_test/Documentation/video4linux
Michael Krufky ba3a5a81f7 V4L/DVB (3504): Medion 7134: Autodetect second bridge chip
The device, Medion 7134, has two saa7134 chips on it, but only one of them
is functional in the current saa7134 driver.
This patch adds autodetection for the second, unsupported saa7134 chip,
as SAA7134_BOARD_MD7134_BRIDGE_2, and displays a message to the user
(in dmesg) indicating that the second chip isn't yet functional.
This is useful for users, since two instances of the saa7134 driver
will spawn. This patch will prevent confusion by warning the user that
only one of the chips on the board are functional.
There are other versions of the SAA7134_BOARD_MD7134 with only a single
saa7134 bridge/decoder -- those devices will not be affected by this patch.
Only devices containing the second chip will display the warning.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-21 08:53:33 -08:00
..
bttv [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
API.html [PATCH] v4l: 851: fixed broken api link and indentation 2005-11-09 07:56:24 -08:00
CARDLIST.bttv V4L/DVB (3340): Add bttv card MagicTV (rebranded MachTV) 2006-01-11 19:40:09 -02:00
CARDLIST.cx88 V4L/DVB (3408): DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus support 2006-03-08 11:36:50 -03:00
CARDLIST.em28xx V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF 2006-02-07 06:25:41 -02:00
CARDLIST.saa7134 V4L/DVB (3504): Medion 7134: Autodetect second bridge chip 2006-03-21 08:53:33 -08:00
CARDLIST.tuner V4L/DVB (3445): LG TALN series: add PAL / SECAM support 2006-03-21 08:53:10 -08:00
cpia2_overview.txt V4L/DVB (3376): Add cpia2 camera support 2006-02-27 00:09:05 -03:00
CQcam.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hauppauge-wintv-cx88-ir.txt [PATCH] Video for Linux Documentation 2005-06-24 00:06:38 -07:00
lifeview.txt [PATCH] v4l: 801: whitespaces cleanups 2005-11-09 07:56:21 -08:00
meye.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
not-in-cx2388x-datasheet.txt [PATCH] v4l: Documentation 2005-07-12 16:01:05 -07:00
radiotrack.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README.cpia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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.saa7134 [PATCH] v4l: 777: updated script to function in new tree layout 2005-11-09 07:56:18 -08:00
w9966.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Zoran [PATCH] Spelling fixes for Documentation/ 2005-09-10 10:06:28 -07:00
zr36120.txt [PATCH] kernel Doc/ URL corrections 2005-11-22 09:14:30 -08: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]