7.19. saa7134 驱动程序

作者 Gerd Hoffmann

这是基于 saa7130/33/34/35 的采集卡/电视卡的 v4l2/oss 设备驱动程序。

7.19.1. 状态

几乎所有功能都正常工作。视频、声音、调谐器、收音机、mpeg ts 等等...

与 bttv 一样,需要针对特定卡进行调整。请查看 CARDLIST 以获取已知电视卡列表,并查看 saa7134-cards.c 以获取驱动程序的卡配置信息。

7.19.2. 构建

一旦您获取了内核源代码,您应该配置、构建、安装并启动新内核。您至少需要以下配置选项

./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

要构建和安装,您应该运行

make && make modules_install && make install

一旦启动了新内核,saa7134 驱动程序应该会自动加载。

根据卡的不同,您可能需要传递 card=<nr> 作为 insmod 选项。如果是这样,请查看 SAA7134 卡列表 以获取有效选择。

一旦您获得了卡类型编号,您就可以通过文件传递模块配置(通常,它是 /etc/modules.conf/etc/modules-load.d/ 中的某些文件,但实际位置取决于您的发行版),内容如下

options saa7134 card=13 # Assuming that your card type is #13

7.19.3. 更改 / 修复

请将针对 linux media git 树的统一差异邮件发送至 linux-media AT vger.kernel.org

这是通过在 git 树的克隆处提交补丁并使用 git send-email 提交补丁来完成的。不要忘记在大量信息中描述它改变了什么/解决了哪个问题/无论它有什么好处...

7.19.4. 已知问题

  • flyvideos 的调谐器不会自动检测到,默认值可能不适用于您,具体取决于您拥有的版本。有一个 tuner= insmod 选项可以覆盖驱动程序的默认值。

7.19.5. 致谢

andrew.stevens@philips.com + werner.leeb@philips.com 感谢他们提供 saa7134 硬件规格和样品板。