Message ID | 1251589115.26402.11.camel@pc07.localdom.local (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Hi Hermann, thank you, the patch for the antenna power is working for me with the latest mercurial tree. I'm now able to receive additional weak channels. On the contrary a channel close by with a very strong signal disappeared. The stand-alone receiver with antenna power that I have can receive both channels at the same time. Am Sonntag, 30. August 2009 01:38:35 schrieb hermann pitton: > A testhack, not a clean implementation, is attached and should give you > voltage to the active antenna when using DVB-T. > > BTW, the radio seems to be broken since some weeks. > It is not by that patch here. > > Cheers, > Hermann > Cheers, Martin -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Martin, Am Sonntag, den 13.09.2009, 16:37 +0200 schrieb Martin Konopka: > Hi Hermann, > > thank you, the patch for the antenna power is working for me with the latest > mercurial tree. I'm now able to receive additional weak channels. On the > contrary a channel close by with a very strong signal disappeared. The > stand-alone receiver with antenna power that I have can receive both channels > at the same time. thanks for your testing! On many demods it is already reported, that a too strong signal might need attenuation. With the mix of different transmitters we now have, more established by means to serve federal states instead of having an over all concept, I don't wonder to get such a report now too the first time. It likely needs some RFC to think about all possible combinations of LNAs and active antenna support and how best to deal with it. Cheers, Hermann > Am Sonntag, 30. August 2009 01:38:35 schrieb hermann pitton: > > A testhack, not a clean implementation, is attached and should give you > > voltage to the active antenna when using DVB-T. > > > > BTW, the radio seems to be broken since some weeks. > > It is not by that patch here. > > > > Cheers, > > Hermann > > > > > Cheers, > > Martin -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -r 6f58a5d8c7c6 linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Sat Aug 29 09:01:54 2009 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Aug 30 00:13:19 2009 +0200 @@ -3244,29 +3244,38 @@ .radio_addr = ADDR_UNSET, .tuner_config = 1, .mpeg = SAA7134_MPEG_DVB, - .gpiomask = 0x000200000, - .inputs = {{ - .name = name_tv, - .vmux = 4, - .amux = TV, - .tv = 1, - },{ - .name = name_comp1, - .vmux = 1, - .amux = LINE2, - },{ - .name = name_comp2, - .vmux = 0, - .amux = LINE2, - },{ - .name = name_svideo, - .vmux = 8, - .amux = LINE2, - }}, - .radio = { - .name = name_radio, - .amux = TV, - .gpio = 0x0200000, + .gpiomask = 0x04200000, + .inputs = {{ + .name = name_tv, + .vmux = 4, + .amux = TV, + .tv = 1, + .gpio = 0x04000000, + }, { + .name = name_comp1, + .vmux = 1, + .amux = LINE2, + .gpio = 0x04000000, + }, { + .name = name_comp2, + .vmux = 0, + .amux = LINE2, + .gpio = 0x04000000, + }, { + .name = name_svideo, + .vmux = 8, + .amux = LINE2, + .gpio = 0x04000000, + } }, + .radio = { + .name = name_radio, + .amux = TV, + .gpio = 0x04200000, + }, + .mute = { + .name = name_mute, + .amux = TV, + .gpio = 0x04000000, }, }, [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = { diff -r 6f58a5d8c7c6 linux/drivers/media/video/saa7134/saa7134-dvb.c --- a/linux/drivers/media/video/saa7134/saa7134-dvb.c Sat Aug 29 09:01:54 2009 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c Sun Aug 30 00:13:19 2009 +0200 @@ -514,8 +514,8 @@ switch (state->config->antenna_switch) { case 0: break; - case 1: dprintk("setting GPIO21 to 0 (TV antenna?)\n"); - saa7134_set_gpio(dev, 21, 0); + case 1: dprintk("setting GPIO26 to 0 (antenna voltage on)\n"); + saa7134_set_gpio(dev, 26, 0); break; case 2: dprintk("setting GPIO21 to 1 (Radio antenna?)\n"); saa7134_set_gpio(dev, 21, 1); @@ -531,8 +531,8 @@ switch (state->config->antenna_switch) { case 0: break; - case 1: dprintk("setting GPIO21 to 1 (Radio antenna?)\n"); - saa7134_set_gpio(dev, 21, 1); + case 1: dprintk("setting GPIO26 to 1 (antenna voltage off)\n"); + saa7134_set_gpio(dev, 26, 1); break; case 2: dprintk("setting GPIO21 to 0 (TV antenna?)\n"); saa7134_set_gpio(dev, 21, 0); @@ -673,6 +673,7 @@ .if_freq = TDA10046_FREQ_045, .i2c_gate = 0x4b, .tuner_address = 0x61, + .antenna_switch = 1, .request_firmware = philips_tda1004x_request_firmware };