Yes I agree a fully unified palmod would be great.
Just bear in mind that there has been a lot of tweaking with sound detection for Australian conditions as per post #18 of this thread. Before this there was a real headache of the TiVo losing complete sound when it stayed on the same channel and began to record.
I have the source for this version, included in this post, which was tweaked by Keith Wilkinson (the author of palmod in Australia) who does not frequent these forums but is on the OzTiVo email list.
This extract is what Keith had to say to me in the email that accompanied the updated source about what the important bits are relevant to squashing the sound bug I refer to in post#18 of this thread:
// do sound standard and stereo detection for MSP3410D
if (mspType == MSP3410D && channel >= 0 && a3 == 0x10000) {
if (detect) {
do {
udelay(50000); // wait a bit
I2CReadMsp(MSP_CHIP, READ_DEMOD, 0, AUTODETECT, &standard); // get detection result
} while (standard > 0x7ff); // still active?
if (standard == 0) { // was a standard found?
iicw4(MSP_CHIP, WRITE_DSP, IDENTIFICATION_MODE | 0x003f); // no, reset ident-filter
iicw4(MSP_CHIP, WRITE_DEMOD, STANDARD_SELECT | BG_DUAL_FM); // set sound standard to B/G Dual FM
iicw4(MSP_CHIP, WRITE_DEMOD, AUTO_FM | 0x0800); // select AM/FM sound
iicw4(MSP_CHIP, WRITE_DSP, I2S_SOURCE_MODE | 0x0020); // select I2S source & AM/FM stereo
udelay(100000);
printk("PALMOD: No TV sound standard was detected, default to B/G Dual FM\n");
}
else if (standard <= 0x07ff) // if a standard was found
printk("PALMOD: Sound standard %s was detected\n", soundStandard[standard]);
CheckStereoSource(); // check for stereo source
detect = 0;
}
else if (d_bypass) {
iicw4(MSP_CHIP, WRITE_DSP, IDENTIFICATION_MODE | 0x003f); // reset ident-filter
iicw4(MSP_CHIP, WRITE_DEMOD, STANDARD_SELECT | BG_DUAL_FM); // set sound standard to B/G Dual FM
iicw4(MSP_CHIP, WRITE_DEMOD, AUTO_FM | 0x0800); // select AM/FM sound
CheckStereoSource(); // check for stereo source
write_log = 0;
}
}
For the vast majority of TiVo users there is no change to how palmod operates. For the few people who are experiencing loss of sound on recordings, this does seem to fix the problem.
Apparently the last six lines of code are the vital ones regarding the bugfix.
Bookmarks