Thomas Sommer wrote:
bttv doesn't find a program on channel SE7, SE8 and SE9 (PAL).
I have a Hauppage WinTV PCI-FM with a Phillips tuner FM 1216 and a BT878
chip.
I using bttv 0.7.86 without patches on a kernel 2.4.9.
The card works fine under Windows.
What is the problem?
We have wrong take-over frequencies up to bttv-0.7.87.
These channels are:
{ "SE7", 147250 }, \
{ "SE8", 154250 }, \
{ "SE9", 161250 }, \
{ "SE10", 168250 }, \
The entries for tuner=1 are wrong (140.25/463.25), this
patch corrects these to 170/450 per datasheets FM1246(PAL_I)
and FM1216 (PAL_BG)!
Try appended patch and report.
-
Gunther
P.S. There are more errors in tuner.c, e.g. tuner=5 on SE10 with
takeover 168.25 would select MID BAND=VHF_H by this comparison:
if (freq < tun->thresh1)
config = tun->VHF_L;
else if (freq < tun->thresh2)
config = tun->VHF_H;
else
config = tun->UHF;
But datasheet mandates LOW BAND. Expect a fix later.
PATCH:
--- bttv-0.7.87/driver/tuner.c Tue Dec 4 11:15:26 2001
+++ bttv0787/driver/tuner.c Thu Dec 6 20:37:16 2001
@@ -138,7 +138,7 @@
{ "Temic PAL (4002 FH5)", TEMIC, PAL,
16*140.25,16*463.25,0x02,0x04,0x01,0x8e,623},
{ "Philips PAL_I", Philips, PAL_I,
- 16*140.25,16*463.25,0xa0,0x90,0x30,0x8e,623},
+ 16*170.00,16*450.00,0xa0,0x90,0x30,0x8e,623},
{ "Philips NTSC", Philips, NTSC,
16*157.25,16*451.25,0xA0,0x90,0x30,0x8e,732},
{ "Philips SECAM", Philips, SECAM,