On Sat, 1 Feb 2003 01:46 pm, Gunther Mayer wrote: > > With this patch radio works perfectly here (PAL card tested, NTSC card > should work too). > > Note1: > There is currrently a race condition left. > When you don't get these two lines: > kernel: bttv tuner received pinnacle id 2 > kernel: bttv tda9887 received pinnacle id 2 > report this fact (and workaround by "rmmod bttv; insmod bttv"). > > Note2: > Patch is against http://bytesex.org/snapshot/ > Hopefully Gerd will make 104 soon. > > Regards, Gunther Gunther, you are a genius! I get radio now, Brilliant! Only one small problem left now, it seems to be mono only. The signal is strong, and it's stereo in windows. It just won't get out of mono in linux. dmesg output seems to suggest that it is stereo, but radio and gnomeradio both report it is mono, and I can tell you from listening to it - it's mono. Any ideas? I've enclosed some dmesg information, in case it's useful in seeing why stereo isn't being set Here is the driver being loaded: bttv: driver version 0.7.104 loaded bttv: using 4 buffers with 2080k (8320k total) for capture bttv: Host bridge is Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller bttv: Bt8xx card found (0). AMD756: dev 109e:036e, router pirq : 2 get irq : 11 PCI: Found IRQ 11 for device 00:09.0 PCI: Sharing IRQ 11 with 00:09.1 bttv0: Bt878 (rev 17) at 00:09.0, irq: 11, latency: 64, mmio: 0xeddfe000 bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012 bttv0: using: BT878(Pinnacle PCTV Studio/Ra) [card=39,insmod option] i2c-core.o: adapter bt848 #0 registered as adapter 0. bttv0: i2c: checking for MSP34xx @ 0x80... found bttv0: pinnacle/mt: id=2 info="PAL+SECAM / stereo" radio=yes i2c-core.o: driver i2c tda9887 driver registered. tda9887: probing bt848 #0 i2c adapter [id=0x10005] tda9887: chip found @ 0x86 i2c-core.o: client [tda9887] registered to adapter [bt848 #0](pos. 0). bttv tda9887 received pinnacle id 2 bttv0: using tuner=33 bttv0: i2c: checking for MSP34xx @ 0x80... found i2c-core.o: driver i2c msp3400 driver registered. msp34xx: setvolume: mute=on 65535:65535 v=0x00 b=0x00 msp34xx: init: chip=MSP3410G-B11 +nicam +simple +radio msp3410: daemon started i2c-core.o: client [MSP3410G-B11] registered to adapter [bt848 #0](pos. 1). bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... not found tvaudio: TV audio decoder + audio/video mux driver tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951) i2c-core.o: driver generic i2c audio driver registered. 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 MT2032 hexdump: 1b 43 20 0f 1f 18 f4 0c c3 4e ec c4 07 32 2e 00 ff 4d 54 04 04 mt2032: xogc = 0x07 mt2032: xok = 0x00 mt2032: xogc = 0x06 mt2032: xogc = 0x06 mt2032: xok = 0x00 mt2032: xogc = 0x05 mt2032: xogc = 0x05 mt2032: xok = 0x00 mt2032: xogc = 0x04 mt2032: xogc = 0x04 mt2032: xok = 0x00 mt2032: xogc = 0x03 i2c-core.o: client [MT2032 universal] registered to adapter [bt848 #0](pos. 2). MT2032: Companycode=4d54 Part=04 Revision=04 MT2032 hexdump: 1b 43 ff 0f 1f 18 e4 8c c3 4e ec c4 07 32 38 22 ff 4d 54 04 04 mt2032: xogc = 0x07 mt2032: xok = 0x00 mt2032: xogc = 0x06 mt2032: xogc = 0x06 mt2032: xok = 0x00 mt2032: xogc = 0x05 mt2032: xogc = 0x05 mt2032: xok = 0x00 mt2032: xogc = 0x04 mt2032: xogc = 0x04 mt2032: xok = 0x00 mt2032: xogc = 0x03 msp3410: setting mode: autodetect start (0x0001) msp34xx: AUDC_SET_INPUT(2) msp34xx: scart switch: in1 => 0 msp3400: extern setstereo: stereo msp3400: setstereo final source/matrix = 0x220 bttv0: PLL: 28636363 => 35468950 .<7>msp3410: thread: no carrier scan msp34xx: setvolume: mute=on 65535:65535 v=0x00 b=0x00 . ok msp34xx: AUDC_SET_INPUT(4) bttv0: registered device video0 bttv0: registered device vbi0 bttv0: registered device radio0 And here is running 'radio -f 105.7' msp34xx: VIDIOCSFREQ msp34xx: setvolume: mute=on 0:0 v=0x00 b=0x00 tuner: tv freq set to 400.00 mt2032_set_if_freq rfin=131564544 if1=1090000000 if2=38900000 from=32900000 to=39900000 mt2032: rfin=131564544 lo1=233 lo1n=29 lo1a=1 sel=4, lo1freq=1223250000 mt2032: rfin=131564544 lo2=200 lo2n=25 lo2a=0 num=2005 lo2freq=1052784000 spurcheck f1=1223250 f2=1052785 from=32900 to=39900 spurtest n1=1 n2=-2 ftest=-882320 spurtest n1=1 n2=-3 ftest=-1935105 spurtest n1=1 n2=-4 ftest=-2987890 spurtest n1=1 n2=-5 ftest=-4040675 spurtest n1=2 n2=-3 ftest=-711855 spurtest n1=2 n2=-4 ftest=-1764640 spurtest n1=2 n2=-5 ftest=-2817425 spurtest n1=3 n2=-4 ftest=-541390 spurtest n1=3 n2=-5 ftest=-1594175 spurtest n1=4 n2=-5 ftest=-370925 mt2032 Reg.E=0x38 mt2032: pll wait 1ms for lock (0x38) mt2032 Reg.E=0x3a mt2032: pll wait 1ms for lock (0x3a) mt2032 Reg.E=0x3e mt2032 Reg.F=0x00 msp34xx: AUDC_SET_RADIO msp34xx: switching to radio mode msp34xx: setvolume: mute=on 0:0 v=0x00 b=0x00 msp34xx: AUDC_SET_INPUT(4) msp34xx: VIDIOCSFREQ msp34xx: setvolume: mute=on 0:0 v=0x00 b=0x00 tuner: radio freq set to 105.68 mt2032_set_if_freq rfin=105687500 if1=1085000000 if2=33300000 from=33300000 to=33300000 mt2032: rfin=105687500 lo1=227 lo1n=28 lo1a=3 sel=4, lo1freq=1191750000 mt2032: rfin=105687500 lo2=200 lo2n=25 lo2a=0 num=1988 lo2freq=1052761000 spurcheck f1=1191750 f2=1052762 from=33300 to=33300 spurtest n1=1 n2=-2 ftest=-913774 spurtest n1=1 n2=-3 ftest=-1966536 spurtest n1=1 n2=-4 ftest=-3019298 spurtest n1=1 n2=-5 ftest=-4072060 spurtest n1=2 n2=-3 ftest=-774786 spurtest n1=2 n2=-4 ftest=-1827548 spurtest n1=2 n2=-5 ftest=-2880310 spurtest n1=3 n2=-4 ftest=-635798 spurtest n1=3 n2=-5 ftest=-1688560 spurtest n1=4 n2=-5 ftest=-496810 mt2032 Reg.E=0x2e mt2032 Reg.F=0x00 msp34xx: VIDIOCGAUDIO msp34xx: AUDC_SET_INPUT(1) msp34xx: scart switch: in2 => 0 msp3400: FM-Radio setstereo: stereo msp3400: setstereo final source/matrix = 0x20 msp34xx: VIDIOCSAUDIO msp34xx: setvolume: mute=off 65535:65535 v=0x73 b=0x00 msp34xx: setbass: 32768 0x00 msp34xx: settreble: 32768 0x00 msp34xx: VIDIOCGAUDIO msp34xx: AUDC_SET_INPUT(1) msp34xx: VIDIOCSAUDIO msp34xx: setvolume: mute=off 65535:65535 v=0x73 b=0x00 msp34xx: setbass: 32768 0x00 msp34xx: settreble: 32768 0x00 msp34xx: VIDIOCSFREQ msp34xx: setvolume: mute=off 0:0 v=0x00 b=0x00 tuner: radio freq set to 105.68 mt2032_set_if_freq rfin=105687500 if1=1085000000 if2=33300000 from=33300000 to=33300000 mt2032: rfin=105687500 lo1=227 lo1n=28 lo1a=3 sel=4, lo1freq=1191750000 mt2032: rfin=105687500 lo2=200 lo2n=25 lo2a=0 num=1988 lo2freq=1052761000 spurcheck f1=1191750 f2=1052762 from=33300 to=33300 spurtest n1=1 n2=-2 ftest=-913774 spurtest n1=1 n2=-3 ftest=-1966536 spurtest n1=1 n2=-4 ftest=-3019298 spurtest n1=1 n2=-5 ftest=-4072060 spurtest n1=2 n2=-3 ftest=-774786 spurtest n1=2 n2=-4 ftest=-1827548 spurtest n1=2 n2=-5 ftest=-2880310 spurtest n1=3 n2=-4 ftest=-635798 spurtest n1=3 n2=-5 ftest=-1688560 spurtest n1=4 n2=-5 ftest=-496810 mt2032 Reg.E=0x2e mt2032 Reg.F=0x00 msp3410: setting mode: 10.7 FM-Stereo Radio (0x0040) msp3410: current mode: 10.7 FM-Stereo Radio (0x0040) msp3400: setmode: 2 msp34xx: VIDIOCGAUDIO msp34xx: scart switch: in2 => 0 msp34xx: setbass: 32768 0x00 msp34xx: settreble: 32768 0x00 msp34xx: setvolume: mute=off 65535:65535 v=0x73 b=0x00 msp34xx: VIDIOCGAUDIO msp34xx: VIDIOCGAUDIO msp34xx: VIDIOCGAUDIO msp34xx: VIDIOCGAUDIO msp34xx: VIDIOCGAUDIO msp34xx: VIDIOCGAUDIO msp34xx: VIDIOCGAUDIO