[mythtv-users] multiple tuners - configuring capture cards

Jim Reith reith at racores.com
Sun Jul 10 17:16:15 EDT 2005


>I'm pretty sure the pvr-150 is detected first so that would be video0
>and the existing pvr-350 (higher in the PCI chain)  would get bumped
>to video1? Like I said, the tv-out on the 350 is still working
>
>Here's the ivtv section from dmesg. I see some unrecognized commands
>(no_black_magic for instance) so I mustn't be totally configured
>properly

Ok, I removed the "no_black_magic" line from ivtv options and it
loads cx25840 ok but that broke my pvr-350 output somehow. The X
server log seems to think it should start on the PVR-150 device

(II) LoadModule: "ivtvdev"
(II) Loading /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o
(II) Module ivtv: vendor="The XFree86 Project"
         compiled for 4.3.0, module version = 0.8.0
         ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
         compiled for 4.3.0.1, module version = 1.0.0
         Module class: XFree86 XInput Driver
         ABI class: XFree86 XInput driver, version 0.4
(II) v4l driver for Video4Linux
(II) IVTVDEV: driver for framebuffer: PVR-350
(II) Primary Device is: PCI 03:00:0
(WW) ivtvdev: No matching Device section for instance (BusID PCI:1:7:0) found
(--) Chipset PVR-350 found
(EE) (null)(0): ivtvHWProvbe failed to do IVTVFB_IOCTL_GET_STATE for
device (null)
(EE) Screen 0 deleted because of no matching config section.
(II) UnloadModule: "ivtvdev"
(EE) Device(s) detected, but none match those in the config file.

my ivtv file:

root at mythtvbox:/etc/mythtv/modules# cat 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 cx25840 i2c_enable=1
options msp3400 once=1 simple=1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400;
/sbin/modprobe saa7115;  /sbin/modprobe --ignore-install ivtv;
/sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe
-r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner &&
/sbin/modprobe -r ivtv-fb && /sbin/modprobe -r lirc_i2c

and the ivtv section from dmesg:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (y) loading
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 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 Link [LNK4] enabled at IRQ 5
ACPI: PCI interrupt 0000:01:07.0[A] -> GSI 5 (level, low) -> IRQ 5
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8002732
tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = TDA9850 (type = 3)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: i2c attach [client=(tuner unset),ok]
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
ivtv: Tuner Type 50, Tuner formats 0x00001000, Radio: yes, Model
0x008d1659, Revision 0x00000000
ivtv: NTSC tuner detected
ivtv: Radio detected
cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25841-23 found. Initializing...
cx25840: requesting /lib/modules/HcwMakoA.ROM
cx25840: firmware loaded
ivtv: i2c attach [client=cx25840[50],ok]
ivtv: i2c attach [client=wm8775[50],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Registered v4l2 device for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 64
ivtv: Create encoder radio stream
ivtv: Setting Tuner 50
tuner 2-0061: type set to 50 (TCL 2002N)
cx25840: decoder set norm NTSC
cx25840: decoder set input (6)
cx25840: now setting Tuner input
cx25840: set audio input (0)
ivtv: ivtv_enc_thread: pid = 2197, itv = 0xf91f9620
ivtv: ivtv_enc_vbi_thread: pid = 2198, itv = 0xf91f9620
ivtv: Switching standard to NTSC.
cx25840: decoder set norm NTSC
ivtv: Initialized WinTV PVR 150, card #0
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 11 (level, low) -> IRQ 11
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 2947528
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: i2c attach [client=(tuner unset),ok]
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Jul 10 2005 12:26:39
ivtv: i2c attach [client=MSP3448W-A2,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) 0x00, (1F) 0x40
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: cx25840 not found
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00ad1598, Revision 0x00000001
ivtv: Radio detected
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: saa7127 client id: saa7127_i2c_id 0, skipped
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Registered v4l2 device for encoder MPEG minor 1
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 33
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 225
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 25
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 65
ivtv: Create encoder radio stream
ivtv: Registered v4l2 device for decoder MPEG minor 17
ivtv: Create DMA decoder MPEG stream: 0 x 65536 buffers (0KB total)
ivtv: Registered v4l2 device for decoder VBI minor 229
ivtv: Create DMA decoder VBI stream: 0 x 2048 buffers (0KB total)
ivtv: Registered v4l2 device for decoder VOUT minor 233
ivtv: Create decoder VOUT stream
ivtv: Registered v4l2 device for decoder YUV minor 49
ivtv: Create DMA decoder YUV stream: 0 x 43200 buffers (0KB total)
ivtv: Create DMA decoder OSD stream: 0 x 65536 buffers (0KB total)
ivtv: Setting Tuner 47
tuner 3-0061: type set to 47 (LG NTSC (TAPE series))
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
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 = 2292, itv = 0xf921ca1c
ivtv: ivtv_enc_vbi_thread: pid = 2293, itv = 0xf921ca1c
ivtv: ivtv_dec_thread: pid = 2294, itv = 0xf921ca1c
ivtv: ivtv_dec_vbi_thread: pid = 2295, itv = 0xf921ca1c
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: i2c client addr: 0x44 not found for command 0x40046502!
ivtv: Initialized WinTV PVR 350, card #1
ivtv: ====================  END INIT IVTV  ====================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050710/b6d223fe/attachment.htm


More information about the mythtv-users mailing list