Hi, This is an attempt to merge two separate threads sumarizing the problems I have with a PVR-350 (tuner=38) and PVR-250 (tuner 55) combo.
The two options I have managed: 1) I put the cards in order 350 - 150 (my original setup since the 350 was the first card I bought). In this scenario, I get every aspect of the 350 card to work perfectly, I can tune the 150 card, but cet an I/O error when I try to get data from the device: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.4 (v) loading ivtv: Linux version: 2.6.11-gentoo-r6 SMP preempt K7 4KSTACKS gcc-3.3 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 350 card ivtv: Found an iTVC15 based chip ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 16 (level, low) -> IRQ 16 ivtv: VIA PCI device: 0x3205 vendor: 0x1106 tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671326 tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38) tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio_processor = CS5331 (type = 9) ivtv: i2c attach [client=tveeprom[50],ok] ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557, Revision 0x00000001 ivtv: PAL tuner detected ivtv: SECAM tuner detected ivtv: Radio detected tuner: Ignoring new-style parameters in presence of obsolete ones tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach [client=(tuner unset),ok] saa7115: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0) saa7115: starting probe for adapter ISA main adapter (0x0) saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) saa7115: detecting saa7115 client on address 0x42 saa7115: writing init values ivtv: i2c attach [client=saa7115[50],ok] saa7115: status: (1E) 0xa4, (1F) 0x90 saa7127: Ignoring new-style parameters in presence of obsolete ones saa7127: video encoder driver version V 0.3 loaded saa7127: detecting saa7127 client on address 0x88 saa7127: Selecting NTSC video Standard saa7127: Selecting S-Video+Composite saa7127: Turn WSS off saa7127: Widescreen Mode 4:3 Full Format saa7127: Selecting Normal Encoder Input saa7127: Enable Video Output ivtv: i2c attach [client=saa7127[50],ok] msp34xx: ivtv version msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: May 18 2005 15:23:05 ivtv: i2c attach [client=MSP3418W-B3,ok] ivtv: Encoder revision: 0x02050032 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Decoder revision: 0x02020023 ivtv: Configuring WinTV PVR 350 card with 10 streams ivtv: Registered v4l2 device, streamtype 0 minor 0 ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create DMA stream 1 using 20 103680 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create DMA stream 2 using 32 65536 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 64 ivtv: Create stream 4 ivtv: Registered v4l2 device, streamtype 5 minor 16 ivtv: Create DMA stream 5 using 16 65536 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 6 minor 228 ivtv: Create DMA stream 6 using 1024 2048 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 7 minor 232 ivtv: Create stream 7 ivtv: Registered v4l2 device, streamtype 8 minor 48 ivtv: Create DMA stream 8 using 20 103680 byte buffers 0 kbytes total ivtv: Create DMA stream 9 using 32 65536 byte buffers 0 kbytes total ivtv: Setting Tuner 38 tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0 saa7115: decoder set input (4) saa7115: now setting Composite input ivtv: ivtv_enc_thread: pid = 29330, itv = 0xceb1f2e0 ivtv: ivtv_enc_vbi_thread: pid = 29331, itv = 0xceb1f2e0 ivtv: ivtv_dec_thread: pid = 29332, itv = 0xceb1f2e0 ivtv: ivtv_dec_vbi_thread: pid = 29333, itv = 0xceb1f2e0 ivtv: Setting audio matrix to input 3, output 1 ivtv: Switching standard to PAL. saa7115: decoder set norm PAL saa7115: set audio: 0x01 saa7127: Setting Encoder Video Standard saa7127: Set PAL Video Mode saa7127: Selecting PAL video Standard ivtv: Initialized WinTV PVR 350, card #0 ivtv: Autodetected WinTV PVR 150 card ivtv: Found an iTVC16 based chip ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18 ivtv: VIA PCI device: 0x3205 vendor: 0x1106 tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 7839719 tveeprom: tuner = LG PAL (TAPE Series) (idx = 97, type = 55) tveeprom: tuner fmt = PAL(B/G) PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07) tveeprom: audio_processor = MSP3400C (type = 4) ivtv: i2c attach [client=tveeprom[50],ok] tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1 ivtv: i2c attach [client=(tuner unset),ok] saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005) saa7127: detecting saa7127 client on address 0x88 saa7127: Selecting NTSC video Standard saa7127: Selecting S-Video+Composite saa7127: Turn WSS off saa7127: Widescreen Mode 4:3 Full Format saa7127: Selecting Normal Encoder Input saa7127: Enable Video Output ivtv: i2c attach [client=saa7127[50],ok] ivtv: Tuner Type 55, Tuner formats 0x00000e07, Radio: yes, Model 0x008d1657, Revision 0x00000000 ivtv: PAL tuner detected ivtv: Radio detected cx25840: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0) cx25840: starting probe for adapter ISA main adapter (0x0) cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005) cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005) ivtv: i2c attach [client=wm8775[50],ok] ivtv: Encoder revision: 0x02050032 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Configuring WinTV PVR 150 card with 5 streams ivtv: Registered v4l2 device, streamtype 0 minor 1 ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 33 ivtv: Create DMA stream 1 using 20 103680 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 2 minor 225 ivtv: Create DMA stream 2 using 32 65536 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 25 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 65 ivtv: Create stream 4 ivtv: Setting Tuner 55 tuner: type set to 55 (LG PAL (TAPE series)) by ivtv i2c driver #1 ivtv: Switching standard to PAL. ivtv: Initialized WinTV PVR 150, card #1 ivtv: ==================== END INIT IVTV ==================== However, my test script fails: mythtv root # cat ./test_ivtv #!/bin/bash ptune.pl -f pal-europe -c E5 -d /dev/video0 ptune.pl -f pal-europe -c E5 -d /dev/video1 dd if=/dev/video0 of=/root/out0.mpg count=8000 dd if=/dev/video1 of=/root/out1.mpg count=8000 mythtv root # ./test_ivtv Ch.E5: 175250 2804 Ch.E5: 175250 2804 7999+1 records in 7999+1 records out dd: reading `/dev/video1': Input/output error 0+0 records in 0+0 records out mythtv root # cat /etc/modules.d/ivtv alias char-major-81 videodev alias char-major-81-0 ivtv alias char-major-81-1 ivtv alias char-major-61 lirc_i2c options saa7127 i2c_enable=1,-1 options wm8775 debug=0 options tuner pal=B debug=0 options ivtv ivtv_std=2 tda9887=0 ivtv_debug=1 options tda9887 pal=B debug=0 It has been pointed out to me that the cx25840 module does not load the firmware in this setup. However, nothing I do has managed to make it do so.. 2) I can put the cards in order 150 - 350. In this scenario, I get pefect tuning and data extraction, but cannot get any kind of TV out on the 350 card: mythtv root # cat /etc/modules.d/ivtv alias char-major-81 videodev alias char-major-81-0 ivtv alias char-major-81-1 ivtv options saa7127 i2c_enable=1,-1 options ivtv ivtv_debug=1 ivtv_std=2 tda9887=0 cardtype=6,2 options cx25840 i2c_enable=-1,1 no_black_magic=1 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.4 (v) loading ivtv: Linux version: 2.6.11-gentoo-r6 SMP preempt K7 4KSTACKS gcc-3.3 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 150 card ivtv: Found an iTVC16 based chip ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 16 (level, low) -> IRQ 16 ivtv: VIA PCI device: 0x3205 vendor: 0x1106 saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 7839719 tveeprom: tuner = LG PAL (TAPE Series) (idx = 97, type = 55) tveeprom: tuner fmt = PAL(B/G) PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07) tveeprom: audio_processor = MSP3400C (type = 4) ivtv: i2c attach [client=tveeprom[50],ok] ivtv: Tuner Type 55, Tuner formats 0x00000e07, Radio: yes, Model 0x008d1657, Revision 0x00000000 ivtv: PAL tuner detected ivtv: Radio detected tuner: Ignoring new-style parameters in presence of obsolete ones tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach [client=(tuner unset),ok] cx25840: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0) cx25840: starting probe for adapter ISA main adapter (0x0) cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005) cx25840: detecting client on address 0x88 cx25840: writing init values cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded. cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6 cx25840: Status: cx258423 (DEVICE_ID) ivtv: i2c attach [client=cx25840[50],ok] ivtv: i2c attach [client=wm8775[50],ok] ivtv: Encoder revision: 0x02050032 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Configuring WinTV PVR 150 card with 5 streams ivtv: Registered v4l2 device, streamtype 0 minor 0 ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create DMA stream 1 using 20 103680 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create DMA stream 2 using 32 65536 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 64 ivtv: Create stream 4 ivtv: ivtv_enc_thread: pid = 15960, itv = 0xce9f02e0 ivtv: Setting Tuner 55 tuner: type set to 55 (LG PAL (TAPE series)) by ivtv i2c driver #0 cx25840: decoder set input (6) cx25840: Tuner Input ivtv: ivtv_enc_vbi_thread: pid = 15961, itv = 0xce9f02e0 ivtv: Switching standard to PAL. cx25840: decoder set norm PAL ivtv: Initialized WinTV PVR 150, card #0 ivtv: Autodetected WinTV PVR 350 card ivtv: Found an iTVC15 based chip ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18 ivtv: VIA PCI device: 0x3205 vendor: 0x1106 tda9885/6/7: chip found @ 0x86 ivtv: i2c attach [client=tda9887,ok] saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005) saa7115: detecting saa7115 client on address 0x42 saa7115: writing init values ivtv: i2c attach [client=saa7115[50],ok] saa7115: status: (1E) 0x80, (1F) 0x90 tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7671326 tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38) tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio_processor = CS5331 (type = 9) ivtv: i2c attach [client=tveeprom[50],ok] tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1 ivtv: i2c attach [client=(tuner unset),ok] cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005) cx25840: detecting client on address 0x88 cx25840: writing init values cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 14264 loaded. cx25840: FW image md5 digest: 3a4803384f749d644ee1f1ca9dcb12fa cx25840: FW image sha1 digest: 2b5e6292b7391c980b93d156cf6b34178ce770f6 cx25840: Status: cx25 0 (DEVICE_ID) ivtv: i2c attach [client=cx25840[50],ok] ivtv: Tuner Type 38, Tuner formats 0x00400e17, Radio: yes, Model 0x00ad2557, Revision 0x00000001 ivtv: PAL tuner detected ivtv: SECAM tuner detected ivtv: Radio detected saa7127: Ignoring new-style parameters in presence of obsolete ones saa7127: video encoder driver version V 0.3 loaded msp34xx: ivtv version msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: May 18 2005 15:23:05 ivtv: i2c attach [client=MSP3418W-B3,ok] ivtv: Encoder revision: 0x02050032 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Decoder revision: 0x02020023 ivtv: Configuring WinTV PVR 350 card with 10 streams ivtv: Registered v4l2 device, streamtype 0 minor 1 ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 33 ivtv: Create DMA stream 1 using 20 103680 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 2 minor 225 ivtv: Create DMA stream 2 using 32 65536 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 25 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 65 ivtv: Create stream 4 ivtv: Registered v4l2 device, streamtype 5 minor 17 ivtv: Create DMA stream 5 using 16 65536 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 6 minor 229 ivtv: Create DMA stream 6 using 1024 2048 byte buffers 0 kbytes total ivtv: Registered v4l2 device, streamtype 7 minor 233 ivtv: Create stream 7 ivtv: Registered v4l2 device, streamtype 8 minor 49 ivtv: Create DMA stream 8 using 20 103680 byte buffers 0 kbytes total ivtv: Create DMA stream 9 using 32 65536 byte buffers 0 kbytes total ivtv: Setting Tuner 38 tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #1 saa7115: decoder set input (4) saa7115: now setting Composite input ivtv: ivtv_enc_thread: pid = 16151, itv = 0xcea135fc ivtv: ivtv_enc_vbi_thread: pid = 16152, itv = 0xcea135fc ivtv: ivtv_dec_thread: pid = 16153, itv = 0xcea135fc ivtv: ivtv_dec_vbi_thread: pid = 16154, itv = 0xcea135fc ivtv: Setting audio matrix to input 3, output 1 ivtv: Switching standard to PAL. saa7115: decoder set norm PAL saa7115: set audio: 0x01 cx25840: invalid ioctl 40046502 ivtv: Initialized WinTV PVR 350, card #1 ivtv: ==================== END INIT IVTV ==================== In this setup, the cx25840 module load the firmware. With some captured input, I may do > cat out1.mpd > /dev/video17 But, nothing happends on the TV. I get an error message when using video16. I can install the framebuffer using > modprobe ivtv-fb ivtv_fb_card_id=1 But nothing happends. When I try to start X on the framebuffer, I get: (EE) IVTVDEV(0): FBIOBLANK: Invalid argument At the end of the log and not even a flicker on the TV screen. ----------------- Obviously, I do not care which order the cards are in, only that I may tune AND see the screen output at the same time. Can someone, please, help me find what stupid wthing I have missed in this? /Fredrik -- My Gentoo + PVR-350 + IVTV + MythTV blog is on http://gentoomythtv.blogspot.com/ ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
