Hi, Am Freitag, den 17.07.2009, 05:19 -0300 schrieb Mauro Carvalho Chehab: > Em Fri, 17 Jul 2009 10:57:38 +0700 > Pham Thanh Nam <phamthanhnam.ptn@xxxxxxxxx> escreveu: > > > Hi > > So, should we add an option for this card? For example: > > modprobe saa7134 card=57 radioontv > > IMO, we should just apply a patch doing the right thing. > > I couldn't find any explanation for the change. Let's just fix it with a good > explanation and hope that this will work with all AverTV GO 007 FM boards. If > not, someone will complain. > > > > Cheers, > Mauro have looked up some details and agree with Mauro here. First, Avermedia cards on the saa7134 driver are all identified safely by PCI subsystem. No problems and we deal with GO 007 FM tda8275c1 and not the later tda8275ac1. Assaf reported the radio working, _but later_ he reported also that the frequencies are off. I saw the same later too and lots of ghosting radio stations with Asus P7131 Dual until Hartmut added radio IF support for saa7133/35/31e and all tda8290 tuners with the 5.5MHz filter. LINE1 was never changed for radio on the GO 007. Assaf's patch came in with a bunch of patches Nickolay collected that time. http://linuxtv.org/hg/v4l-dvb/rev/291d5d1089eb Then Hartmut added correct basic radio IF support and I guess this did "break" the previous "ghost" radio. http://linuxtv.org/hg/v4l-dvb/rev/b9edd4165113 Else there was only this change unrelated to radio. ---- hg export 5481 # HG changeset patch # User Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> # Date 1175168859 10800 # Node ID 9f42fb6940eeaa63305b1048811ea25d74c9e806 # Parent bcf83c0130363da08eabac5092013ed6fec1d9eb 4linux: Fix audio input for AverTv Go 007 From: Damian Minkov <damencho@xxxxxxxxxxxx> Fix audio input source for capturing(playing) audio on AverTv Go 007 cards. Signed-off-by: Damian Minkov <damencho@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> diff -r bcf83c013036 -r 9f42fb6940ee linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Thu Mar 29 08:47:04 2007 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Thu Mar 29 08:47:39 2007 -0300 @@ -1544,12 +1544,12 @@ },{ .name = name_comp1, .vmux = 0, - .amux = LINE2, + .amux = LINE1, .gpio = 0x02, },{ .name = name_svideo, .vmux = 6, - .amux = LINE2, + .amux = LINE1, .gpio = 0x02, }}, .radio = { ------------------ And furthermore it has .gpiomask = 0x00300003 and gpio21 is set high for radio and low for TV. .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x00300001, }, That is why changing the radio amux to TV just works. Cheers, Hermann -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html