Commit 12bcf90c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: docs: saa7134.rst: update the documentation

There are several things here that are outdated, because this
document was written a long time ago.

Update them to reflect the current status of the driver and
the media subsystem.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 8a1bfbc7
...@@ -7,8 +7,7 @@ Author Gerd Hoffmann ...@@ -7,8 +7,7 @@ Author Gerd Hoffmann
This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV 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 boards.
description.
Status Status
...@@ -24,26 +23,54 @@ configuration info. ...@@ -24,26 +23,54 @@ configuration info.
Build Build
----- -----
Pick up videodev + v4l2 patches from http://bytesex.org/patches/. Once you pick up a Kernel source, you should configure, build,
Configure, build, install + boot the new kernel. You'll need at least install and boot the new kernel. You'll need at least
these config options: these config options::
.. code-block:: none ./scripts/config -e PCI
./scripts/config -e INPUT
./scripts/config -m I2C
./scripts/config -m MEDIA_SUPPORT
./scripts/config -e MEDIA_PCI_SUPPORT
./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
./scripts/config -e MEDIA_RADIO_SUPPORT
./scripts/config -e RC_CORE
./scripts/config -e MEDIA_SUBDRV_AUTOSELECT
./scripts/config -m VIDEO_SAA7134
./scripts/config -e SAA7134_ALSA
./scripts/config -e VIDEO_SAA7134_RC
./scripts/config -e VIDEO_SAA7134_DVB
./scripts/config -e VIDEO_SAA7134_GO7007
CONFIG_I2C=m To build and install, you should run::
CONFIG_VIDEO_DEV=m
Type "make" to build the driver now. "make install" installs the make && make modules_install && make install
driver. "modprobe saa7134" should load it. Depending on the card you
might have to pass card=<nr> as insmod option, check CARDLIST for Once the new Kernel is booted, saa7134 driver should be loaded automatically.
valid choices.
Depending on the card you might have to pass ``card=<nr>`` as insmod option.
If so, please check :doc:`saa7134-cardlist` for valid choices.
Once you have your card type number, you can pass a modules configuration
via a file (usually, it is either ``/etc/modules.conf`` or some file at
``/etc/modules-load.d/``, but the actual place depends on your
distribution), with this content::
options saa7134 card=13 # Assuming that your card type is #13
Changes / Fixes Changes / Fixes
--------------- ---------------
Please mail me unified diffs ("diff -u") with your changes, and don't Please mail to linux-media AT vger.kernel.org unified diffs against
forget to tell me what it changes / which problem it fixes / whatever the linux media git tree:
https://git.linuxtv.org/media_tree.git/
This is done by committing a patch at a clone of the git tree and
submitting the patch using ``git send-email``. Don't forget to
describe at the lots what it changes / which problem it fixes / whatever
it is good for ... it is good for ...
...@@ -52,7 +79,7 @@ Known Problems ...@@ -52,7 +79,7 @@ Known Problems
* The tuner for the flyvideos isn't detected automatically and the * The tuner for the flyvideos isn't detected automatically and the
default might not work for you depending on which version you have. default might not work for you depending on which version you have.
There is a tuner= insmod option to override the driver's default. There is a ``tuner=`` insmod option to override the driver's default.
Credits Credits
------- -------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment