Re: [PATCH] qt1010: Fix tuner frequency selection for 546 to 578 MHz range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 21 Dec 2011 12:36:11 Jyrki Kuoppala wrote:
[..]

> One possibility to try would be to test if the setting of reg 34 indeed
> should be linearly derived from frequency, however not 0xd0, 0xd2, 0xd4
> etc. as in my original patch but instead try 0xd0, 0xd1, 0xd2, 0xd3 etc:
> 
>      if      (freq < 450000000) rd[15].val = 0xd0; /* 450 MHz */
>      else if (freq < 466000000) rd[15].val = 0xd1; /* 466 MHz */
>      else if (freq < 482000000) rd[15].val = 0xd2; /* 482 MHz */
>      else if (freq < 498000000) rd[15].val = 0xd3; /* 498 MHz */
>      else if (freq < 514000000) rd[15].val = 0xd4; /* 514 MHz */
>      else if (freq < 530000000) rd[15].val = 0xd5; /* 530 MHz */
>      else if (freq < 546000000) rd[15].val = 0xd6; /* 546 MHz */
>      else if (freq < 562000000) rd[15].val = 0xd7; /* 562 MHz */
>      else if (freq < 578000000) rd[15].val = 0xd8; /* 578 MHz */
> 
> Carlos, can you try this, if this makes all channels work for you?

With the patch and either set of frequency changes (above or from the 
other thread applied), it kills channel 21 (474MHz) and channel 39 (618.2MHz) 
for me. Only channel 24 (498MHz), channel 27 (522MHz), channel 66 (834MHz) and 
channel 31 (554MHz - the original channel I couldn't tune to) work.

-Carlos
--
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux