I'm running KnoppMyth R5A16 with ivtv 3.6y compiled to support my
second tuner (pvr-150). With ivtv 2.0 i have the pvr-350 only and
tv-out worked just fine. I put in the 2nd card last weekend and after
being frustrated with the X Server, I stuck a CRT on the box and got
both tuners working fine last night. However, when I try to get the
tv-out working, it fails with the following errors in the X log:
(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) 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.
(--) 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.
Now, I have an nForce AGP video card
with tv-out at PCI:3:0:0
The PVR-150 is at PCI:1:7:0
and the PVR-350 is at
PCI:1:8:0
my X device definition is
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
### change fb1 to whatever number you got in the previous section
# Option "fbdev" "/dev/fb1"
Option "ivtv" "/dev/fb1"
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
# BusID "1:0x0a:0"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
### change fb1 to whatever number you got in the previous section
# Option "fbdev" "/dev/fb1"
Option "ivtv" "/dev/fb1"
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
# BusID "1:0x0a:0"
BusID "PCI:1:8:0"
# BusID "01:08:00"
EndSection
# BusID "01:08:00"
EndSection
i had been using fbdev with ivtv 2.0 in the single tuner
configuration. What setting am I missing to tell it to use the PVR-350
instead of attempting to use the 150?
the ivtv-osd entries from dmesg are:
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
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
ivtv section from dmesg follows:
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)
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: 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 = 2176, itv = 0xf920d620
ivtv: ivtv_enc_vbi_thread: pid = 2177, itv = 0xf920d620
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) 0x48, (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: 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)
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: 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 = 2176, itv = 0xf920d620
ivtv: ivtv_enc_vbi_thread: pid = 2177, itv = 0xf920d620
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) 0x48, (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: 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 = 2284, itv = 0xf9230a1c
ivtv: ivtv_enc_vbi_thread: pid = 2285, itv = 0xf9230a1c
ivtv: ivtv_dec_thread: pid = 2286, itv = 0xf9230a1c
ivtv: ivtv_dec_vbi_thread: pid = 2287, itv = 0xf9230a1c
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 ====================
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 = 2284, itv = 0xf9230a1c
ivtv: ivtv_enc_vbi_thread: pid = 2285, itv = 0xf9230a1c
ivtv: ivtv_dec_thread: pid = 2286, itv = 0xf9230a1c
ivtv: ivtv_dec_vbi_thread: pid = 2287, itv = 0xf9230a1c
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 ====================
