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