^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) The saa7134 driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) ==================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Author Gerd Hoffmann
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Status
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) ------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Almost everything is working. video, sound, tuner, radio, mpeg ts, ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) As with bttv, card-specific tweaks are needed. Check CARDLIST for a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) list of known TV cards and saa7134-cards.c for the drivers card
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) configuration info.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Build
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) -----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Once you pick up a Kernel source, you should configure, build,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) install and boot the new kernel. You'll need at least
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) these config options::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ./scripts/config -e PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) ./scripts/config -e INPUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) ./scripts/config -m I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) ./scripts/config -m MEDIA_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) ./scripts/config -e MEDIA_PCI_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) ./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) ./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) ./scripts/config -e MEDIA_RADIO_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) ./scripts/config -e RC_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) ./scripts/config -e MEDIA_SUBDRV_AUTOSELECT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) ./scripts/config -m VIDEO_SAA7134
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) ./scripts/config -e SAA7134_ALSA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) ./scripts/config -e VIDEO_SAA7134_RC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) ./scripts/config -e VIDEO_SAA7134_DVB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) ./scripts/config -e VIDEO_SAA7134_GO7007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) To build and install, you should run::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) make && make modules_install && make install
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Once the new Kernel is booted, saa7134 driver should be loaded automatically.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Depending on the card you might have to pass ``card=<nr>`` as insmod option.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) If so, please check :doc:`saa7134-cardlist` for valid choices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Once you have your card type number, you can pass a modules configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) via a file (usually, it is either ``/etc/modules.conf`` or some file at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) ``/etc/modules-load.d/``, but the actual place depends on your
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) distribution), with this content::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) options saa7134 card=13 # Assuming that your card type is #13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Changes / Fixes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) Please mail to linux-media AT vger.kernel.org unified diffs against
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) the linux media git tree:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) https://git.linuxtv.org/media_tree.git/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) This is done by committing a patch at a clone of the git tree and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) submitting the patch using ``git send-email``. Don't forget to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) describe at the lots what it changes / which problem it fixes / whatever
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) it is good for ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) Known Problems
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) * The tuner for the flyvideos isn't detected automatically and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) default might not work for you depending on which version you have.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) There is a ``tuner=`` insmod option to override the driver's default.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Credits
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) -------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) andrew.stevens@philips.com + werner.leeb@philips.com for providing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) saa7134 hardware specs and sample board.