saa7134.rst 2.5 KB

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