Originally Posted by
number6
I have tried to obtain the info [e.g. a PDF manual on the tuner] on how to change the output sound frequency of the RF antenna to 5.5MHz from software so thats its all 100% PAL B/G compatible, but no one has one of those that I've seen.
This can be done via the ALPS tuner I2C interface. I have provided a small function that will perform the setting, or you can do it from the command line using: "iicsetnosub 0xca 0x8a481df4" which will set it to UHF22 (5.5MHz).
This is only a mono output... so unless you have a TV that is not capable of handling the 6.0MHz carrier, then I would not bother - as the system will startup on this carrier and only switch when the module is loaded, or the above command is performed.
You will still need to use the RCA or SCART outputs to get stereo/surround.
Code:
void SetRFOutputSystem(int ch) {
/* Need to set bit 19, and clear bit 20. This will set select
* 5.5MHz for the RF output sound carrier (PAL B/G). The default
* sound carrier is 6.0MHz for the UK (PAL I). This is only not
* a NICAM output, so if your TV is happy with a 6.0MHz carrier
* then you may as well leave it alone.
*
* The problem is that we do not seem to be able to read the
* existing value, so we must set the output channel at the
* same time. If we could read the existing value then we
* could just use the following to set the sound carrier:
* rfo &= 0xFFE7FFFF;
* rfo |= 0x00180000;
*
* If you are using the RF output feature (rather than the
* SCART plugs) then to ensure the best signal quality for
* both the TiVo output and existing TV channels you should
* (as a rule of thumb) avoid any channel that is (+/-) 1,
* 5 or 9 away from any other channel.
*/
if (ch >= 20 && ch <= 69) {
unsigned rfo;
rfo = 0x8a480004;
rfo |= (303+(ch*8)) << 4; // Ch22 = 0x8a481df4
I2CWriteNoSub(0xCA, (u8 *)&rfo, 4);
printk("ukchan: Tuner output set to Channel %d (5.5MHz)\n", ch);
}
}
Bookmarks