LinHES Forums http://forums.linhes.org/ |
|
PVR350 tuner setting goes to the BTTV card http://forums.linhes.org/viewtopic.php?f=2&t=2584 |
Page 1 of 1 |
Author: | cdfr [ Mon Oct 04, 2004 8:19 pm ] |
Post subject: | PVR350 tuner setting goes to the BTTV card |
Hi, I have successfully installed Knoppmyth with a PVR-350. I also did a previous installation with a bt878 card which was autodetected fine. My problem is to use the combination of the two. I got the PVR-350 fine but I can't set the tuner right for the bttv Here is the output of the dmesg Code: Linux video capture interface: v1.00 i2c-core.o: i2c core module version 2.6.1 (20010830) i2c-algo-bit.o: i2c bit algorithm module i2c-core.o: driver i2c TV tuner driver registered. [saa7127.c: INFO]: SAA7127 video encoder driver loaded i2c-core.o: driver saa7127 registered. i2c-core.o: driver saa7115 registered. i2c-core.o: driver i2c msp3400 driver registered. ivtv: version 0.1.9 (release) loading ivtv: SGarray_size = 340, DSGarray_size = 16 ivtv: Found an iTVC15 based chip PCI: Found IRQ 5 for device 01:07.0 PCI: Sharing IRQ 5 with 00:1f.3 PCI: Sharing IRQ 5 with 00:1f.5 tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 i2c-core.o: client [(tuner unset)] registered to adapter [ivtv i2c driver #0](pos. 0). tuner: type set to 44 (Philips 4 in 1 (ATI TV Wonder Pro/Conexant)) by insmod option tuner: The type=<n> insmod option will go away soon. tuner: Please use the tuner=<n> option provided by tuner: tv aard core driver (bttv, saa7134, ...) instead. saa7127: Configuring encoder...<7>i2c-core.o: client [saa7127[0]] registered to adapter [ivtv i2c driver #0](pos. 1). saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005) saa7114.c: detecting saa7114 client on address 0x42 saa7115.c: writing init values status: (1E) 0x89, (1F) 0xb1 i2c-core.o: client [saa7115[0]] registered to adapter [ivtv i2c driver #0](pos. 2). msp34xx: init: chip=MSP3448W-A2, has NICAM support msp3410: daemon started i2c-core.o: client [MSP3448W-A2] registered to adapter [ivtv i2c driver #0](pos. 3). i2c-core.o: adapter ivtv i2c driver #0 registered as adapter 0. ivtv: Encoder revision: 0x02040011 ivtv: Decoder revision: 0x02020023 ivtv: Registered v4l2 device, minor 0 ivtv: Registered v4l2 device, minor 32 ivtv: Registered v4l2 device, minor 224 ivtv: Registered v4l2 device, minor 16 ivtv: loaded saa7115[0]: decoder set norm NTSC saa7115[0] set audio: 0x02 ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0) ivtv-fb: screen coords: [0 0] -> [720 480] ivtv-fb: original global alpha = 208 ivtv-fb: new global alpha = 208 ivtv-fb: current OSD state = 35 ivtv-fb: warning: cannot reserve video memory at 0xf9510000 ivtv-fb: framebuffer at 0xf9510000, mapped to 0xd2bb6000, size 2818k ivtv-fb: mode is 720x480x32, linelength=2880 fb1: iTVC15 TV out frame buffer device lirc_dev: IR Remote Control driver registered, at major 61 bttv: driver version 0.9.15 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). PCI: Found IRQ 5 for device 01:09.0 PCI: Sharing IRQ 5 with 01:06.0 PCI: Sharing IRQ 5 with 01:09.1 bttv0: Bt878 (rev 2) at 01:09.0, irq: 5, latency: 132, mmio: 0xf6000000 bttv0: detected: STB TV PCI FM, Gateway P/N 6000704 [card=40], PCI subsystem ID is 10b4:2636 bttv0: using: STB TV PCI FM, Gateway P/N 6000704 (bt878), 3Dfx VoodooTV 100 [card=40,autodetected] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init] tuner: chip found at addr 0xc6 i2c-bus bt878 #0 [sw] i2c-core.o: client [(tuner unset)] registered to adapter [bt878 #0 [sw]](pos. 0). tuner: type set to 44 (Philips 4 in 1 (ATI TV Wonder Pro/Conexant)) by insmod option tuner: The type=<n> insmod option will go away soon. tuner: Please use the tuner=<n> option provided by tuner: tv aard core driver (bttv, saa7134, ...) instead. saa7114.c: starting probe for adapter bt878 #0 [sw] (0x10005) i2c-core.o: adapter bt878 #0 [sw] registered as adapter 1. bttv0: using tuner=2 tuner: type already set to 44, ignoring request for 2 bttv0: i2c: checking for TDA9875 @ 0xb0... not found bttv0: i2c: checking for TDA7432 @ 0x8a... found i2c-core.o: driver i2c tda7432 driver registered. tda7432: init tuner: type already set to 44, ignoring request for 2 i2c-core.o: client [tda7432] registered to adapter [bt878 #0 [sw]](pos. 1). tvaudio: TV audio decoder + audio/video mux driver tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z i2c-core.o: driver generic i2c audio driver registered. tvaudio: found tea6420 @ 0x98 tuner: type already set to 44, ignoring request for 2 i2c-core.o: client [tea6420] registered to adapter [bt878 #0 [sw]](pos. 2). tvaudio: found tda9850 @ 0xb6 tuner: type already set to 44, ignoring request for 2 i2c-core.o: client [tda9850] registered to adapter [bt878 #0 [sw]](pos. 3). bttv0: registered device video1 bttv0: registered device vbi1 bttv0: registered device radio0 bttv0: PLL: 28636363 => 35468950 .. ok bttv0: using tuner=2 tuner: type already set to 44, ignoring request for 2 As you can see it looks that the setting for the ivtv tuner goes to the bttv card. And here my cards configurations: ivtv Code: alias char-major-81 videodev alias char-major-61 lirc_i2c options ivtv debug=1 options tuner type=44 options msp3400 once=1 simple=1 options saa7127 enable_output=1 output_select=1 add below ivtv msp3400 saa7115 saa7127 tuner add above ivtv lirc_dev lirc_i2c ivtv-fb post-install ivtv /usr/local/bin/ivtvctl -d /dev/video0 -u 0x3000 post-install ivtv /usr/local/bin/ivtvctl -d /dev/video16 -u 0x3000 post-install ivtv /usr/local/bin/ivtvctl -d /dev/video32 -u 0x3000 post-install ivtv /usr/local/bin/ivtvctl -d /dev/video224 -u 0x3000 bttv1 Code: alias char-major-81-1 bttv debug=2
#post-install bttv insmod tuner type=2 #alias char-major-89 i2c-dev #options i2c-core i2c_debug=1 #options i2c-algo-bit bit_test=1 #alias char-major-81 videodev #alias char-major-81-1 bttv debug=2 #options bttv card=40 pll=1 tuner=2 I tried to put the tuner option and other options (commented in this example) but it did not help out. Am I doing anything wrong ? |
Author: | Xsecrets [ Mon Oct 04, 2004 8:52 pm ] |
Post subject: | |
try options tuner type=44,2 |
Author: | spectro [ Tue Oct 05, 2004 9:30 am ] |
Post subject: | |
you may have a PVR-350 with a new tuner still not supported in an official kernel release. Try this: modprobe tveeprom dmesg|grep idx You should get something like: tvee: tuner=LG NTSC (TAPE series) (idx=68, type=47) (yours would probably read tuner=unknown" If you have idx=68 then you have the same tuner I've got. You have to patch the kernel sources and recompile modules. I have a couple of diff files to patch the kernel source that comes with R4V5. Email if you want them. My gmail account is spectro @ gmail.com |
Author: | cdfr [ Tue Oct 05, 2004 3:53 pm ] |
Post subject: | |
Xsecrets wrote: try options tuner type=44,2
Now that I changed the ivtv file as you said both tuners are set to 2 which make the bttv card work now but also get my pvr 350 stuck on a channel. Here is the output of the modprobe: tvee: tuner=<unknown> (idx=68, type=-1) Is there a way to force the tuner to 44 for the pvr350 and to 2 for the bttv card without going the recompile route ? Thank you for helping. |
Author: | spectro [ Tue Oct 05, 2004 4:11 pm ] |
Post subject: | |
cdfr wrote: Xsecrets wrote: try options tuner type=44,2 Now that I changed the ivtv file as you said both tuners are set to 2 which make the bttv card work now but also get my pvr 350 stuck on a channel. Here is the output of the modprobe: tvee: tuner=<unknown> (idx=68, type=-1) Is there a way to force the tuner to 44 for the pvr350 and to 2 for the bttv card without going the recompile route ? Thank you for helping. For idx=68 use tuner=47, not 44. You need to patch video4linux in the kernel to support this new tuner. You can also use tuner=39 without recompiling, but you wont be able to see channels > 61 |
Author: | cdfr [ Tue Oct 05, 2004 4:37 pm ] |
Post subject: | |
spectro wrote: cdfr wrote: Xsecrets wrote: try options tuner type=44,2 Now that I changed the ivtv file as you said both tuners are set to 2 which make the bttv card work now but also get my pvr 350 stuck on a channel. Here is the output of the modprobe: tvee: tuner=<unknown> (idx=68, type=-1) Is there a way to force the tuner to 44 for the pvr350 and to 2 for the bttv card without going the recompile route ? Thank you for helping. For idx=68 use tuner=47, not 44. You need to patch video4linux in the kernel to support this new tuner. You can also use tuner=39 without recompiling, but you wont be able to see channels > 61 I get all the channels on the PVR350 with tuner=44. BTW tuner=39 does not get any channel on the PVR350 for me. My problem is that both tuners are set to the same number whatever I tried so far. Will recompiling help in this respect ? |
Author: | cdfr [ Wed Oct 06, 2004 6:54 pm ] |
Post subject: | |
I finally got it working without updating the ivtv driver ![]() Do not use the: options tuner type=XX This will set the same tuner type to all the tuners Also if you read your dmesg output you can see that it is obsolete. Instead use: Code: options ivtv tuner=xx for the ivtv file and Code: options bttv tuner=yy
for the bttv1 file I recorded 2 shows at the same time to do a test. Unfortunately the show recorded on the bttv is to slow when played on the pvr350 output (using the PVR350 X driver) and I don't have the sound as it is played with the onboard sound card and not the PVR350 ![]() I guess I will have to tweak the resolution as my set top box (Activy 300) is already using the 2 pci slots for the tv cards and is already maxed out (1400 Mhz celeron and 256 MB RAM). |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |