On 04/16/2011 09:07 PM, Lutz Sammer wrote: >> Using a KNC-1 DVB-S2 board I noticed stb0899_read_signal_strength() >> in stb0899_drv.c always return the same value (1450) in dvb-s2 whatever >> the signal power is. >> >> It seems STB0899_READ_S2REG(STB0899_DEMOD, IF_AGC_GAIN) macro always >> returns zero. >> >> Any idea of what is causing this ? > > Try > > - reg = STB0899_READ_S2REG(STB0899_DEMOD, > IF_AGC_GAIN); > + reg = STB0899_READ_S2REG(STB0899_S2DEMOD, > IF_AGC_GAIN); > > Than it is working, Indeed it works. We should commit that. Thanks for helping ! -- Florent AUDEBERT -- 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