On Thu, Jun 16, 2005 at 10:54:05PM +0200, Johannes Stezenbach wrote: > timo.helkio@xxxxxx wrote: > > I managed to get this card working with QAM 128 channels by changing > > 174500000 to 150000000 in budget-av.c (code extract below). Free > > channels are here in Uusikaupunki using freq. 154 and 170 MHz and all > > QAM 128. Maybe this has been solved earlier, but there has not been any > > postings about it. > > > > #define TUNER_MUL 62500 > > > > u32 div = (params->frequency 36125000 TUNER_MUL / 2) / TUNER_MUL; > > > > buf[0] = (div >> 8) & 0x7f; > > buf[1] = div & 0xff; > > buf[2] = 0x8e; > > buf[3] = (params->frequency < 174500000 ? 0xa1 : > > params->frequency < 454000000 ? 0x92 : 0x34); > > How does this perform in comparison? > > buf[2] = 0x86; > buf[3] = (params->frequency < 150000000 ? 0x01: > params->frequency < 445000000 ? 0x02 : 0x04); > I comitted the latter to CVS. Thanks, Johannes