1.rmmod saa7134_alsa(如果提示saa7134_alsa正被使用,停止kmix等使用saa7134_alsa模块的程:ps -e,找到kmix的pid,kill掉它).
2.rmmod saa7134
3.modprobe saa7134 card=21 tuner=37
此时,运行tvtime应该能够出现图像,但是有可能无声音。
(二)解决无声音的方法
安装版本管理工具mercurial,并获取源代码树:
sudo apt-get install mercurial
hg clone http://linuxtv.org/hg/v4l-dvb
修改 v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c
找到[SAA7134_BOARD_10MOONSTVMASTER]一节,修改为:
[SAA7134_BOARD_10MOONSTVMASTER] = {
/* "catinsnow"
.name = "10MOONS PCI TV CAPTURE CARD",
.tuner_type = TUNER_LG_PAL_NEW_TAPC,
.radio_type = UNSET,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
.gpiomask = 0x7000,
.inputs = {{
.name = name_tv,
.vmux = 1,
.amux = LINE2,
.gpio = 0x0000,
.tv = 1,
},{
.name = name_comp1,
.vmux = 3,
.amux = LINE1,
.gpio = 0x2000,
},{
.name = name_svideo,
.vmux = 0,
.amux = LINE1,
.gpio = 0x2000,
}},
.mute = {
.name = name_mute,
.amux = LINE2,
.gpio = 0x3000,
},
},
然后编译,安装.
make
sudo make install
重启机器, 启动tvtime,此时应该已经图像和声音都有了.