[mythtv-users] multiple tuners - configuring capture cards

Jim Reith reith at racores.com
Sun Jul 10 22:31:25 EDT 2005


Ok, I'm really getting frustrated here. I've been through just about
every multiple tuner card topic I can find. I'm sure the answer is in
here somewhere. Can someone else please have a look. Even if I start
X on my CRT, I'm still having tuner issues in that I get a burst of
Live TV and then it stopps and eventually goes back to MythTV

I'm running with ivtv-0.3.6y to support the PVR-150

lspci -v shows PVR-150 is 1:7:0, PVR-350 is 1:8:0, my AGP video card
is 3:0:0. I'm trying to use PVR-350 for tv out (had it working before
I put the PVR-150 in and updated to the unstable drivers)

0000:01:07.0 Multimedia video controller: Internext Compression Inc
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
         Subsystem: Hauppauge computer works Inc.: Unknown device 8003
         Flags: bus master, medium devsel, latency 64, IRQ 5
         Memory at d8000000 (32-bit, prefetchable) [size=64M]
         Capabilities: [44] Power Management version 2

0000:01:08.0 Multimedia video controller: Internext Compression Inc
iTVC15 MPEG-2 Encoder (rev 01)
         Subsystem: Hauppauge computer works Inc. WinTV PVR-350
         Flags: bus master, medium devsel, latency 64, IRQ 11
         Memory at dc000000 (32-bit, prefetchable) [size=64M]
         Capabilities: [44] Power Management version 2

0000:03:00.0 VGA compatible controller: nVidia Corporation NV11
[GeForce2 MX/MX 400] (rev b2) (prog-if 00 [VGA])
         Subsystem: Micro-Star International Co., Ltd.: Unknown device 8523
         Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
         Memory at e4000000 (32-bit, non-prefetchable) [size=16M]
         Memory at d0000000 (32-bit, prefetchable) [size=128M]
         Capabilities: [60] Power Management version 2
         Capabilities: [44] AGP version 2.0

My PVR-350 is loading

root at mythtvbox:~# dmesg | grep ivtv-osd
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 1)
ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and
has 1704960 bytes.
ivtv-osd: screen coords: [0 0] -> [720 480]
ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xdd510000, mapped to 0xfb210000, size 1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb1: iTVC15 TV out frame buffer device


My XF86Config-4 has the following definition in it

Section "Device"
         Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
         Driver      "ivtvdev"
         Option      "ivtv" "/dev/fb1"
         BusID "PCI:1:8:0"

and still the XServer fails with

(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.

Fatal server error:
no screens found

Here's 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: 0x02050032
ivtv: Encoder Firmware may be buggy, use version 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: 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: ivtv_enc_thread: pid = 2198, itv = 0xf91f7620
ivtv: ivtv_enc_vbi_thread: pid = 2199, itv = 0xf91f7620
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) 0xc0
cx25840: starting probe for adapter ivtv i2c driver #1 (0x10005)
cx25840: detecting cx25840 client on address 0x88
cx25840: client id: cx25840_i2c_id 1, skipped
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: 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 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 = 0xf921aa1c
ivtv: ivtv_enc_vbi_thread: pid = 2293, itv = 0xf921aa1c
ivtv: ivtv_dec_thread: pid = 2294, itv = 0xf921aa1c
ivtv: ivtv_dec_vbi_thread: pid = 2295, itv = 0xf921aa1c
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  ====================




More information about the mythtv-users mailing list