1) Our autodetect on tda988x/mt2032 needs more work. You fixed this temporary, fine. 2) For sound try: insmod tda9887 miro_id=1 # 2,3...6 Which value(s) work? Probably the right value is stored in the eeprom, so send "bttv-0.7.98/tools/eeprom", "bttv-0.7.98/tools/detect" and which EPCOS chip is on your card? Regards, Gunther Alex Belits wrote: > > I have Pinnacle PCTV with tda987? and MT2032. So far: > > Using bttv 0.7.98, I can easily make video work by specifying "type=33" to > the tuner module. tda9877 module does not get loaded, driver says: > > -- 8< --- > bttv: miro: oops, tda9885/6/7 found > bttv0: using tuner=16 > -- >8 --- > > when it's too late. I have NTSC, and it works well -- EXCEPT sound, that > seems to be located somewhere else. To fix the tuner handling (at least > for this card -- I don't know if there actually is a card that uses > "Temic PAL_DK (4016 FY5)" by patching bttv-cards.c: > > --- 8< --- > --- bttv-0.7.98/driver/bttv-cards.c Fri Sep 13 05:41:17 2002 > +++ bttv-0.7.98-modified/driver/bttv-cards.c Sat Sep 28 01:45:15 2002 > @@ -1495,7 +1495,7 @@ > } > > int miro_tunermap[] = { 0,6,2,3, 4,5,6,0, 3,0,4,5, 5,2,16,1, > - 14,2,17,1, 4,1,4,3, 1,2,16,1, 4,33,4,4 }; > + 14,2,17,1, 4,1,4,3, 1,2,/*16*/33,1, 4,33,4,4 }; > int miro_fmtuner[] = { 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,1, > 1,1,1,1, 1,1,1,0, 0,0,0,0, 0,1,0,0 }; > > --- >8 --- > > This causes tda9887.o to be loaded, with no effect on the sound -- despite > it trying to work: > > -- 8< --- > bttv: driver version 0.7.98 loaded > bttv: using 4 buffers with 2080k (8320k total) for capture > bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133] > bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] > bttv: Bt8xx card found (0). > PCI: Found IRQ 12 for device 00:0b.0 > PCI: Sharing IRQ 12 with 00:07.2 > PCI: Sharing IRQ 12 with 00:07.3 > PCI: Sharing IRQ 12 with 00:0b.1 > bttv0: Bt878 (rev 17) at 00:0b.0, irq: 12, latency: 32, mmio: 0xdf101000 > bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012 > bttv0: using: BT878(Pinnacle PCTV Studio/Ra) [card=39,autodetected] > i2c-dev.o: Registered 'bt848 #0' as minor 0 > i2c-core.o: adapter bt848 #0 registered as adapter 0. > bttv0: i2c: checking for MSP34xx @ 0x80... not found > bttv0: miro: gpio=ffefff id=27 tuner=33 radio=no stereo=no > i2c-core.o: driver i2c tda9887 driver registered. > tda9887: probing bt848 #0 i2c adapter [id=0x10005] > tda9887: chip found @ 0x86 > bttv0: i2c attach [client=tda9887,ok] > i2c-core.o: client [tda9887] registered to adapter [bt848 #0](pos. 0). > bttv0: using tuner=33 > bttv0: i2c: checking for MSP34xx @ 0x80... not found > bttv0: i2c: checking for TDA9875 @ 0xb0... not found > bttv0: i2c: checking for TDA7432 @ 0x8a... not found > i2c-core.o: driver i2c TV tuner driver registered. > tuner: probing bt848 #0 i2c adapter [id=0x10005] > tuner: chip found @ 0xc0 > tuner: type set to 33 (MT2032 universal) > MT2032: Companycode=4d54 Part=04 Revision=04 > bttv0: i2c attach [client=MT2032 universal,ok] > i2c-core.o: client [MT2032 universal] registered to adapter [bt848 > #0](pos. 1). > MT2032: Companycode=4d54 Part=04 Revision=04 > bttv0: PLL: 28636363 => 35468950 ... ok > bttv0: registered device video0 > bttv0: registered device vbi0 > tda9887_configure > tda9885/6/7: PAL-b mode > tda9885/6/7: 0x96 0x70 0x49 > tda9887_configure > tda9885/6/7: NTSC mode > tda9885/6/7: 0x96 0x70 0x44 > bttv0: PLL: switching off > --- >8 --- > > Apparently it gets the right value (byte 3 has 00 as low bits responsible > for sound frequency) but either does not work, or can't be reached. > > Here my progress ends so far. > > -- > Alex > > _______________________________________________ > Video4linux-list mailing list > Video4linux-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/video4linux-list