One more data point:
Pinnacle PCTV rave in the UK, video works with the patch, but sound is
off. I can get
(bad quality) sound at +17, additionally when I tune to our analog cable
decoder I also get sound (OK) on +1.
I have tried altering the settings in the last value in char
buf_pal_i[] in tda9887.c, but
0x4a is closest.
rincewind(ROOT):~thorsten/tmp/bttv-0.7.97/tools>./tuner
/dev/i2c-0 / 0xc0 / 210.25 MHz ... ok
rincewind(ROOT):~thorsten/tmp/bttv-0.7.97/tools>./detect
0x86: TDA9885/TDA9886/TDA9887 tv and sound demodulator (error: Device or
resource busy)
0xa0: eeprom (bt878, Hauppauge-848)
0xa2: ???
0xa4: ???
0xa6: ???
0xc0: tuner (error: Device or resource busy)
rincewind(ROOT):~thorsten/tmp/bttv-0.7.97/tools>./eeprom
0000 f0 00 00 00 3f ff ff ff ff ff ff ff ff ff ff ff ................
0010 f0 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ................
0020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0030 45 6d 70 54 79 56 ff ff ff ff ff ff ff ff ff ff EmpTyV..........
0040 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0050 30 30 30 33 ff ff ff ff ff ff ff ff ff ff ff ff 0003............
0060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0070 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0080 30 30 30 30 ff ff ff ff ff ff ff ff ff ff ff ff 0000............
0090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00a0 32 30 33 35 36 30 36 31 30 30 32 32 34 30 31 35 2035606100224015
00b0 36 32 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 62..............
00c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00f0 ff ff ff ff ff ff ff ff ff ff ff ff 00 12 11 bd ................
kernel log from insmod and starting xawtv:
Sep 10 20:11:34 rincewind kernel: bttv: driver version 0.7.97 loaded
Sep 10 20:11:34 rincewind kernel: bttv: using 4 buffers with 2080k
(8320k total) for capture
Sep 10 20:11:34 rincewind kernel: bttv: Host bridge is VIA Technologies,
Inc. VT8367 [KT266]
Sep 10 20:11:34 rincewind kernel: bttv: Bt8xx card found (0).
Sep 10 20:11:34 rincewind kernel: PCI: Found IRQ 11 for device 00:0d.0
Sep 10 20:11:34 rincewind kernel: PCI: Sharing IRQ 11 with 00:09.1
Sep 10 20:11:34 rincewind kernel: PCI: Sharing IRQ 11 with 00:0d.1
Sep 10 20:11:34 rincewind kernel: PCI: Sharing IRQ 11 with 01:00.0
Sep 10 20:11:34 rincewind kernel: bttv0: Bt878 (rev 17) at 00:0d.0, irq:
11, latency: 32, mmio: 0xdd000000
Sep 10 20:11:34 rincewind kernel: bttv0: detected: Pinnacle PCTV
[card=39], PCI subsystem ID is 11bd:0012
Sep 10 20:11:34 rincewind kernel: bttv0: using: BT878(Pinnacle PCTV
Studio/Ra) [card=39,autodetected]
Sep 10 20:11:34 rincewind kernel: i2c-algo-bit.o: Adapter: bt848 #0 scl:
1 sda: 1 -- testing...
Sep 10 20:11:34 rincewind kernel: i2c-algo-bit.o:1 scl: 1 sda: 0
Sep 10 20:11:34 rincewind kernel: i2c-algo-bit.o:2 scl: 1 sda: 1
Sep 10 20:11:34 rincewind kernel: i2c-algo-bit.o:3 scl: 0 sda: 1
Sep 10 20:11:34 rincewind kernel: i2c-algo-bit.o:4 scl: 1 sda: 1
Sep 10 20:11:34 rincewind kernel: i2c-algo-bit.o: bt848 #0 passed test.
Sep 10 20:11:34 rincewind kernel: tda9887: probing bt848 #0 i2c adapter
[id=0x10005]
Sep 10 20:11:34 rincewind kernel: tda9887: chip found @ 0x86
Sep 10 20:11:34 rincewind kernel: bttv0: i2c attach [client=tda9887,ok]
Sep 10 20:11:34 rincewind kernel: i2c-core.o: client [tda9887]
registered to adapter [bt848 #0](pos. 0).
Sep 10 20:11:34 rincewind kernel: i2c-dev.o: Registered 'bt848 #0' as
minor 0
Sep 10 20:11:34 rincewind kernel: i2c-core.o: adapter bt848 #0
registered as adapter 0.
Sep 10 20:11:34 rincewind kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Sep 10 20:11:34 rincewind kernel: bttv0: miro: gpio=fcffff id=31 tuner=4
radio=no stereo=no
Sep 10 20:11:34 rincewind kernel: bttv0: i2c: checking for
TDA9885,TDA9886,TDA9887 @ 0x86... found
Sep 10 20:11:34 rincewind kernel: bttv: tuner corrected to 33.
Sep 10 20:11:34 rincewind kernel: bttv0: using tuner=33
Sep 10 20:11:34 rincewind kernel: bttv0: i2c: checking for MSP34xx @
0x80... not found
Sep 10 20:11:34 rincewind kernel: bttv0: i2c: checking for TDA9875 @
0xb0... not found
Sep 10 20:11:34 rincewind kernel: bttv0: i2c: checking for TDA7432 @
0x8a... not found
Sep 10 20:11:34 rincewind kernel: i2c-core.o: driver i2c TV tuner driver
registered.
Sep 10 20:11:34 rincewind kernel: tuner: probing bt848 #0 i2c adapter
[id=0x10005]
Sep 10 20:11:34 rincewind kernel: tuner: chip found @ 0xc0
Sep 10 20:11:34 rincewind kernel: tuner: type set to 33 (MT2032 universal)
Sep 10 20:11:34 rincewind kernel: MT2032: Companycode=4d54 Part=04
Revision=04
Sep 10 20:11:34 rincewind kernel: MT2032 hexdump:
Sep 10 20:11:34 rincewind kernel: 2a 12 20 0f 1f 18 e4 0c c3 4e ec fc
00 32 2e 01
Sep 10 20:11:34 rincewind kernel: ff 4d 54 04 04
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x07
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x06
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x06
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x05
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x05
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x04
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x04
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x03
Sep 10 20:11:34 rincewind kernel: bttv0: i2c attach [client=MT2032
universal,ok]
Sep 10 20:11:34 rincewind kernel: i2c-core.o: client [MT2032 universal]
registered to adapter [bt848 #0](pos. 1).
Sep 10 20:11:34 rincewind kernel: MT2032: Companycode=4d54 Part=04
Revision=04
Sep 10 20:11:34 rincewind kernel: MT2032 hexdump:
Sep 10 20:11:34 rincewind kernel: 2a 12 ff 0f 1f 18 e4 8c c3 4e ec fc
00 32 28 22
Sep 10 20:11:34 rincewind kernel: ff 4d 54 04 04
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x07
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x06
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x06
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x05
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x05
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x04
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x04
Sep 10 20:11:34 rincewind kernel: mt2032: xok = 0x00
Sep 10 20:11:34 rincewind kernel: mt2032: xogc = 0x03
Sep 10 20:11:34 rincewind kernel: bttv0: registered device video0
Sep 10 20:11:34 rincewind kernel: bttv0: registered device vbi0
Sep 10 20:11:44 rincewind kernel: bttv0: PLL: 28636363 => 35468950 ... ok
Sep 10 20:11:44 rincewind kernel: tda9887_configure
Sep 10 20:11:44 rincewind kernel: tda9885/6/7: PAL mode i
Sep 10 20:11:44 rincewind kernel: tda9887: 0x00 0x96 0x70 0x4a
Sep 10 20:11:44 rincewind kernel: tuner: tv freq set to 671.25
Sep 10 20:11:44 rincewind kernel: mt2032_set_if_freq rfin=671250000
if1=1090000000 if2=38900000 from=32900000 to=39900000
Sep 10 20:11:44 rincewind kernel: mt2032: rfin=671250000 lo1=335 lo1n=41
lo1a=7 sel=1, lo1freq=1758750000
Sep 10 20:11:44 rincewind kernel: mt2032: rfin=671250000 lo2=199 lo2n=24
lo2a=7 num=2772 lo2freq=1048600000
Sep 10 20:11:44 rincewind kernel: spurcheck f1=1758750 f2=1048600
from=32900 to=39900
Sep 10 20:11:44 rincewind kernel: spurtest n1=1 n2=-2 ftest=-338450
Sep 10 20:11:44 rincewind kernel: spurtest n1=1 n2=-3 ftest=-1387050
Sep 10 20:11:44 rincewind kernel: spurtest n1=1 n2=-4 ftest=-2435650
Sep 10 20:11:44 rincewind kernel: spurtest n1=1 n2=-5 ftest=-3484250
Sep 10 20:11:44 rincewind kernel: spurtest n1=2 n2=-3 ftest=371700
Sep 10 20:11:44 rincewind kernel: spurtest n1=2 n2=-4 ftest=-676900
Sep 10 20:11:44 rincewind kernel: spurtest n1=2 n2=-5 ftest=-1725500
Sep 10 20:11:44 rincewind kernel: spurtest n1=3 n2=-4 ftest=1081850
Sep 10 20:11:44 rincewind kernel: spurtest n1=3 n2=-5 ftest=33250
Sep 10 20:11:44 rincewind kernel: mt2032 spurcheck triggered: 3
Sep 10 20:11:44 rincewind kernel: spurtest n1=4 n2=-5 ftest=1792000
Sep 10 20:11:44 rincewind kernel: spurtest n1=4 n2=-6 ftest=743400
Sep 10 20:11:44 rincewind kernel: mt2032 Reg.E=0x2e
Sep 10 20:11:44 rincewind kernel: mt2032 Reg.F=0x00
Gunther Mayer wrote:
Vlad Bosinceanu wrote:
Inserting msp3400 didn't help.
Summary:
Vlad PAL, no MSP: sound OK on finetune +12
Wesley, NTSC no MSP: sound OK on finetune ca. +10
Gunther PAL-BG, msp3410g: sound fine
You both don't have a MSP chip, your sound is decoded by tda9886/9885.
(I hven't yet verified if my sound really comes from my msp3410).
So you might want to play with tda988x bits, like OP1, QSS mode and
sound 2nd IF and so on.
_______________________________________________
Video4linux-list mailing list
Video4linux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/video4linux-list
--
-----------------------------------------------------------------------
Thorsten Schnier
School of Computer Science
University of Birminghan
T.Schnier@xxxxxxxxxxxxx
thorsten@xxxxxxxxxxx