162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciThe saa7134 driver
462306a36Sopenharmony_ci==================
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciAuthor Gerd Hoffmann
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciThis is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
1062306a36Sopenharmony_ciboards.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciStatus
1462306a36Sopenharmony_ci------
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciAlmost everything is working.  video, sound, tuner, radio, mpeg ts, ...
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciAs with bttv, card-specific tweaks are needed.  Check CARDLIST for a
1962306a36Sopenharmony_cilist of known TV cards and saa7134-cards.c for the drivers card
2062306a36Sopenharmony_ciconfiguration info.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciBuild
2462306a36Sopenharmony_ci-----
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciOnce you pick up a Kernel source, you should configure, build,
2762306a36Sopenharmony_ciinstall and boot the new kernel.  You'll need at least
2862306a36Sopenharmony_cithese config options::
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci    ./scripts/config -e PCI
3162306a36Sopenharmony_ci    ./scripts/config -e INPUT
3262306a36Sopenharmony_ci    ./scripts/config -m I2C
3362306a36Sopenharmony_ci    ./scripts/config -m MEDIA_SUPPORT
3462306a36Sopenharmony_ci    ./scripts/config -e MEDIA_PCI_SUPPORT
3562306a36Sopenharmony_ci    ./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
3662306a36Sopenharmony_ci    ./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
3762306a36Sopenharmony_ci    ./scripts/config -e MEDIA_RADIO_SUPPORT
3862306a36Sopenharmony_ci    ./scripts/config -e RC_CORE
3962306a36Sopenharmony_ci    ./scripts/config -e MEDIA_SUBDRV_AUTOSELECT
4062306a36Sopenharmony_ci    ./scripts/config -m VIDEO_SAA7134
4162306a36Sopenharmony_ci    ./scripts/config -e SAA7134_ALSA
4262306a36Sopenharmony_ci    ./scripts/config -e VIDEO_SAA7134_RC
4362306a36Sopenharmony_ci    ./scripts/config -e VIDEO_SAA7134_DVB
4462306a36Sopenharmony_ci    ./scripts/config -e VIDEO_SAA7134_GO7007
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciTo build and install, you should run::
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci    make && make modules_install && make install
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciOnce the new Kernel is booted, saa7134 driver should be loaded automatically.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciDepending on the card you might have to pass ``card=<nr>`` as insmod option.
5362306a36Sopenharmony_ciIf so, please check Documentation/admin-guide/media/saa7134-cardlist.rst
5462306a36Sopenharmony_cifor valid choices.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciOnce you have your card type number, you can pass a modules configuration
5762306a36Sopenharmony_civia a file (usually, it is either ``/etc/modules.conf`` or some file at
5862306a36Sopenharmony_ci``/etc/modules-load.d/``, but the actual place depends on your
5962306a36Sopenharmony_cidistribution), with this content::
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci    options saa7134 card=13 # Assuming that your card type is #13
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciChanges / Fixes
6562306a36Sopenharmony_ci---------------
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciPlease mail to linux-media AT vger.kernel.org unified diffs against
6862306a36Sopenharmony_cithe linux media git tree:
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ci    https://git.linuxtv.org/media_tree.git/
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ciThis is done by committing a patch at a clone of the git tree and
7362306a36Sopenharmony_cisubmitting the patch using ``git send-email``. Don't forget to
7462306a36Sopenharmony_cidescribe at the lots  what it changes / which problem it fixes / whatever
7562306a36Sopenharmony_ciit is good for ...
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ciKnown Problems
7962306a36Sopenharmony_ci--------------
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ci* The tuner for the flyvideos isn't detected automatically and the
8262306a36Sopenharmony_ci  default might not work for you depending on which version you have.
8362306a36Sopenharmony_ci  There is a ``tuner=`` insmod option to override the driver's default.
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ciCredits
8662306a36Sopenharmony_ci-------
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciandrew.stevens@philips.com + werner.leeb@philips.com for providing
8962306a36Sopenharmony_cisaa7134 hardware specs and sample board.
90