Hi all. I recently got a PVR150MCE NTSC card to complement my PVR350 which has been running great for a while now. I am having an extremely hard time getting them to play together, however. I'm running Gentoo, 2.6.11-gentoo-r4 kernel, and currently trying to get 0.3.2z working. My ivtv module configuration is:
alias char-major-81 videodev alias char-major-81-0 ivtv alias char-major-81-1 ivtv options saa7127 i2c_enable=1,-1 options cx25840 i2c_enable=-1,1 no_black_magic=1 audiofmt=1 debug=1 #options wm8775 mixer=2 # Turn on bus mastering pre-install ivtv setpci -s 01:0d 4.w=116;setpci -s 01:0e 4.w=116 The 350 is detected first, and then the 150, so those module options look right. However, when modprobing ivtv, it seems that only the first number for the i2c_enable parameter is honored for saa7127 and cx25840. The 350 initializes properly, but the 150 does not. The cx25840 doesn't seem to do anything, like loading the firmware or anything. Here is the output of my dmesg after modprobing ivtv: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.2 (z) loading ivtv: Linux version: 2.6.11-gentoo-r4 PENTIUMIII gcc-3.4 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:01:0d.0[A] -> GSI 17 (level, low) -> IRQ 17 ivtv: XXX PCI device: 0x7124 vendor: 0x8086 tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 7206080 tveeprom: tuner = Philips FM1236 (idx = 23, type = 2) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio_processor = MSP3440 (type = 11) ivtv: i2c attach [client=tveeprom[50],ok] ivtv: Tuner Type 2, Tuner formats 0x00001000, Radio: yes, Model 0x00a93493, Revision 0x00000001 ivtv: NTSC 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 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) 0x48, (1F) 0xc0 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=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: Apr 16 2005 13:59:17 ivtv: i2c attach [client=MSP3448W-A2,ok] ivtv: Encoder revision: 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 1024 16384 byte buffers 0 kbytes total ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create DMA stream 1 ivtv: Allocate DMA stream 1 ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create stream 2 using 40 52224 byte buffers 0 kbytes total ivtv: Allocate stream 2 using 40 52224 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 64 ivtv: Create stream 4 ivtv: Allocate stream 4 ivtv: Registered v4l2 device, streamtype 5 minor 16 ivtv: Create DMA stream 5 using 16 65536 byte buffers 0 kbytes total ivtv: Allocate DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total ivtv: Registered v4l2 device, streamtype 6 minor 228 ivtv: Create stream 6 using 1024 2048 byte buffers 0 kbytes total ivtv: Allocate stream 6 using 1024 2048 byte buffers 262144 kbytes total ivtv: Registered v4l2 device, streamtype 7 minor 232 ivtv: Create stream 7 ivtv: Allocate stream 7 ivtv: Registered v4l2 device, streamtype 8 minor 48 ivtv: Create DMA stream 8 using 24 86400 byte buffers 0 kbytes total ivtv: Allocate DMA stream 8 using 24 86400 byte buffers 2097152 kbytes total ivtv: Create DMA stream 9 using 32 65536 byte buffers 0 kbytes total ivtv: Setting Tuner 2 tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by ivtv i2c driver #0 saa7115: decoder set input (4) saa7115: now setting Composite input ivtv: Setting audio matrix to input 3, output 1 ivtv: Switching standard to NTSC. ivtv: ivtv_enc_thread: pid = 18747, itv = 0xd8ae34a0 ivtv: ivtv_dec_thread: pid = 18748, itv = 0xd8ae34a0 saa7115: decoder set norm NTSC saa7115: set audio: 0x01 saa7127: Setting Encoder Video Standard saa7127: Set NTSC Video Mode saa7127: Selecting NTSC 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:01:0e.0[A] -> GSI 16 (level, low) -> IRQ 16 ivtv: XXX PCI device: 0x7124 vendor: 0x8086 tveeprom: Hauppauge: model = 26552, rev = B268, serial# = 7864566 tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio_processor = MSP3410D (type = 5) 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 47, Tuner formats 0x00001000, Radio: yes, Model 0x00892598, Revision 0x00000001 ivtv: NTSC tuner detected ivtv: Radio detected 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: 0x02040011 ivtv: Configuring WinTV PVR 150 card with 5 streams ivtv: Registered v4l2 device, streamtype 0 minor 1 ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total ivtv: Registered v4l2 device, streamtype 1 minor 33 ivtv: Create DMA stream 1 ivtv: Allocate DMA stream 1 ivtv: Registered v4l2 device, streamtype 2 minor 225 ivtv: Create stream 2 using 40 52224 byte buffers 0 kbytes total ivtv: Allocate stream 2 using 40 52224 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 25 ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 4 minor 65 ivtv: Create stream 4 ivtv: Allocate stream 4 ivtv: Setting Tuner 47 tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #1 ivtv: Switching standard to NTSC. ivtv: Initialized WinTV PVR 150, card #1 ivtv: ==================== END INIT IVTV ==================== It seems saa7127 is not being disabled for the 150 card. If I comment that line out, or switch the 1 and -1, the 350 tv-out does not do anything, and does not display anything (usually I see a short screen of green, and then it goes to black during initialization). I've tried basically every combination of the module parameters, but it just seems to do the same thing. Whatever the first number is for i2c_enable, it does for both cards. Seems I can only get one or the other working. I've tried swapping the cards so that the 150 gets detected first. In this case, if the module settings are set such that the cx25840 is enabled, then it will nicely load the audio firmware, initialize the card properly and everything, but then when it gets to the 350, the tv flickers for a few seconds, and looking at dmesg shows that the cx25840 loaded the firmware AGAIN for the 350, and tried doing stuff to it, even though I had -1 as the second i2c_enable number for cx25840. The ONLY working configuration with both cards I have had is with 0.3.2h, with the 150 detected first. But, with this setup sometimes the audio sounds messed up on the 150, and so I've been wanting to play with these newer drivers, but can't at this stage. Any ideas? ~Lou ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
