Jarod Wilson wrote:

On Monday 25 April 2005 05:37, Larry Symms wrote:


I'm having nothing but trouble getting this combo to work.  I've tried
this with 0.2.0 rc3i and 0.3.2u.  The 150 is located at PCI:1:9:0 and
the 350 is located at PCI:1:8:0.  Ivtv seems to be detecting the 150
fine, without errors but video1 is giving me nothing, not even static,
while video0 (the 350) works fine.  Here's my modules.conf snippet (note
that ivtv is autodecting both tuners as type 47):

alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options ivtv ivtv_debug=1 ivtv_std=1 tuner=47,47
options cx25840 no_black_magic=1

I'm sure the problem is in the options ivtv line. Any suggestions?



You need some i2c_enable statements in there. I have a 350 in the same box as a 500, works just fine. Try this:


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=1 tuner=47,47
options cx25840 i2c_enable=-1,1 no_black_magic=1

The saa7127 driver for the 350's output is hijacking the i2c bus on the 150, the -1 to i2c_enable tells it to not enable for a given card.

I tried this exactly like you said. Same problem. Doing *dd if=/dev/video0 of=/dev/video16* works great. Doing *dd if=/dev/video1 of=/dev/video16* gives me:
dd: reading `/dev/video1': Input/output error


Here's my /var/log/messages snippet:


May 6 10:33:01 mythtv kernel: ivtv: ==================== START INIT IVTV ====================
May 6 10:33:01 mythtv kernel: ivtv: version 0.3.3 (y) loading
May 6 10:33:01 mythtv kernel: ivtv: Linux version: 2.6.9-chw-4 SMP preempt 586 gcc-3.3
May 6 10:33:01 mythtv kernel: ivtv: In case of problems please include the debug info
May 6 10:33:01 mythtv kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
May 6 10:33:01 mythtv kernel: ivtv: mailing the ivtv-devel mailinglist.
May 6 10:33:01 mythtv kernel: ivtv: Autodetected WinTV PVR 350 card
May 6 10:33:01 mythtv kernel: ivtv: Found an iTVC15 based chip
May 6 10:33:01 mythtv kernel: ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 18 (level, high) -> IRQ 18
May 6 10:33:01 mythtv kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)
May 6 10:33:01 mythtv kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
May 6 10:33:01 mythtv kernel: tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 7378609
May 6 10:33:01 mythtv kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
May 6 10:33:01 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
May 6 10:33:01 mythtv kernel: tveeprom: audio_processor = MSP3440 (type = 11)
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=tveeprom[50],ok]
May 6 10:33:01 mythtv kernel: ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad1598, Revision 0x00000001
May 6 10:33:01 mythtv kernel: ivtv: Radio detected
May 6 10:33:01 mythtv kernel: tuner: Ignoring new-style parameters in presence of obsolete ones
May 6 10:33:01 mythtv kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=(tuner unset),ok]
May 6 10:33:01 mythtv kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
May 6 10:33:01 mythtv kernel: saa7115: detecting saa7115 client on address 0x42
May 6 10:33:01 mythtv kernel: saa7115: writing init values
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=saa7115[50],ok]
May 6 10:33:01 mythtv kernel: saa7115: status: (1E) 0x40, (1F) 0xc0
May 6 10:33:01 mythtv kernel: saa7127: Ignoring new-style parameters in presence of obsolete ones
May 6 10:33:01 mythtv kernel: saa7127: video encoder driver version V 0.3 loaded
May 6 10:33:01 mythtv kernel: saa7127: detecting saa7127 client on address 0x88
May 6 10:33:01 mythtv kernel: saa7127: Selecting NTSC video Standard
May 6 10:33:01 mythtv kernel: saa7127: Selecting S-Video+Composite
May 6 10:33:01 mythtv kernel: saa7127: Turn WSS off
May 6 10:33:01 mythtv kernel: saa7127: Widescreen Mode 4:3 Full Format
May 6 10:33:01 mythtv kernel: saa7127: Selecting Normal Encoder Input
May 6 10:33:01 mythtv kernel: saa7127: Enable Video Output
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=saa7127[50],ok]
May 6 10:33:01 mythtv kernel: msp34xx: ivtv version
May 6 10:33:01 mythtv kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode
May 6 10:33:01 mythtv kernel: msp34xx: $Id$ compiled on: May 5 2005 23:37:27
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
May 6 10:33:01 mythtv kernel: ivtv: Encoder revision: 0x02040011
May 6 10:33:01 mythtv kernel: ivtv: Decoder revision: 0x02020023
May 6 10:33:01 mythtv kernel: ivtv: Configuring WinTV PVR 350 card with 10 streams
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 1
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 1
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 2 using 160 52224 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 2 using 160 52224 byte buffers 8388608 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64
May 6 10:33:01 mythtv kernel: ivtv: Create stream 4
May 6 10:33:01 mythtv kernel: ivtv: Allocate stream 4
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 5 minor 16
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 5 using 16 65536 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 6 minor 228
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 6 using 4096 2048 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 6 using 4096 2048 byte buffers 262144 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 7 minor 232
May 6 10:33:01 mythtv kernel: ivtv: Create stream 7
May 6 10:33:01 mythtv kernel: ivtv: Allocate stream 7
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 8 minor 48
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 8 using 24 86400 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 8 using 24 86400 byte buffers 2097152 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 9 using 32 65536 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Setting Tuner 47
May 6 10:33:01 mythtv kernel: ivtv: ivtv_enc_thread: pid = 1311, itv = 0xe0e61ea0
May 6 10:33:01 mythtv kernel: ivtv: ivtv_dec_thread: pid = 1312, itv = 0xe0e61ea0
May 6 10:33:01 mythtv kernel: tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
May 6 10:33:01 mythtv kernel: saa7115: decoder set input (4)
May 6 10:33:01 mythtv kernel: saa7115: now setting Composite input
May 6 10:33:01 mythtv kernel: ivtv: Setting audio matrix to input 3, output 1
May 6 10:33:01 mythtv kernel: ivtv: Switching standard to NTSC.
May 6 10:33:01 mythtv kernel: saa7115: decoder set norm NTSC
May 6 10:33:01 mythtv kernel: saa7115: set audio: 0x01
May 6 10:33:01 mythtv kernel: saa7127: Setting Encoder Video Standard
May 6 10:33:01 mythtv kernel: saa7127: Set NTSC Video Mode
May 6 10:33:01 mythtv kernel: saa7127: Selecting NTSC video Standard
May 6 10:33:01 mythtv kernel: ivtv: Initialized WinTV PVR 350, card #0
May 6 10:33:01 mythtv kernel: ivtv: Autodetected WinTV PVR 150 card
May 6 10:33:01 mythtv kernel: ivtv: Found an iTVC16 based chip
May 6 10:33:01 mythtv kernel: ACPI: PCI interrupt 0000:01:09.0[A] -> GSI 17 (level, high) -> IRQ 17
May 6 10:33:01 mythtv kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)
May 6 10:33:01 mythtv kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
May 6 10:33:01 mythtv kernel: tveeprom: Hauppauge: model = 26552, rev = B268, serial# = 7864903
May 6 10:33:01 mythtv kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
May 6 10:33:01 mythtv kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
May 6 10:33:01 mythtv kernel: tveeprom: audio_processor = MSP3410D (type = 5)
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=tveeprom[50],ok]
May 6 10:33:01 mythtv kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=(tuner unset),ok]
May 6 10:33:01 mythtv kernel: saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
May 6 10:33:01 mythtv kernel: saa7127: detecting saa7127 client on address 0x88
May 6 10:33:01 mythtv kernel: saa7127: saa7127 client id: saa7127_i2c_id 1, skipped
May 6 10:33:01 mythtv kernel: ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00892598, Revision 0x00000001
May 6 10:33:01 mythtv kernel: ivtv: Radio detected
May 6 10:33:01 mythtv kernel: ivtv: i2c attach [client=wm8775[50],ok]
May 6 10:33:01 mythtv kernel: ivtv: Encoder revision: 0x02040011
May 6 10:33:01 mythtv kernel: ivtv: Configuring WinTV PVR 150 card with 5 streams
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 0 minor 1
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 0 using 1024 16384 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers 16777216 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 1 minor 33
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 1
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 1
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 2 minor 225
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 2 using 242 34632 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 2 using 242 34632 byte buffers 8388608 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 3 minor 25
May 6 10:33:01 mythtv kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Allocate DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
May 6 10:33:01 mythtv kernel: ivtv: Registered v4l2 device, streamtype 4 minor 65
May 6 10:33:01 mythtv kernel: ivtv: Create stream 4
May 6 10:33:01 mythtv kernel: ivtv: Allocate stream 4
May 6 10:33:01 mythtv kernel: ivtv: Setting Tuner 47
May 6 10:33:01 mythtv kernel: tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #1
May 6 10:33:01 mythtv kernel: ivtv: i2c client addr: 0x44 not found!
May 6 10:33:01 mythtv kernel: ivtv: ivtv_enc_thread: pid = 1368, itv = 0xe0e75e00
May 6 10:33:01 mythtv kernel: ivtv: Switching standard to NTSC.
May 6 10:33:01 mythtv kernel: ivtv: i2c client addr: 0x44 not found!
May 6 10:33:01 mythtv kernel: ivtv: Initialized WinTV PVR 150, card #1
May 6 10:33:01 mythtv kernel: ivtv: ==================== END INIT IVTV ====================
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to