Hi, I can't get X working on my PVR-350 (rev 990) TV-OUT and would really
appreciate some help.
I am using Mandrake 10.1 with a 2.6.8.1-12 kernel on a dual-Xeon system. I am
running ivtv-0.3.2a with the tuner patch and the latest driver from the
Hauppauge web site.
What works: I can watch using 'mplayer /dev/video', change channels using
ptune, and watch video on my tv using 'dd if=/dev/video of=/dev/video16
bs=64k' (after clearing the screen with 'ivtvfbctl /dev/fb1 -alpha 0'). So
I'm most of the way to a fully working MythTV....
But when I try to run X through the TVOUT, it hangs and I have to force a
shutdown (this is true for 0.2 versions as well). I've also tried upgrading
to ivtv-0.3.2b (and the new tuner.ko), but then all I can get from /dev/video
is static, although the version 08 ivtvdev driver does fix the hung system
problem; now trying to boot with X on the PVR350-TVOUT just fails with the
error: "(EE) ivtvHWProvbe failed to do IVTVFB_IOCTL_GET_STATE for device
(null)"
So the optimal configuration for me right now seems to be ivtv-0.3.2a with the
ivtvdev_drv from 0.3.2b-- I can do everything but run X on TVOUT, and at
least trying that doesn't hang the system anymore.
Below are parts of my XF86Config, Xorg.0.log, and dmesg, for
this configuration.
Thanks for any help!
Noah
ps-- I am using the binary ivtvdev_drv_o. I'd try compiling this from the
source, but haven't figured out how yet-- do I need to recompile the whole X
server?
XF86Config:
-------------------------------------------------------
Section "ServerLayout"
Identifier "layout0"
Screen "ScreenTV"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
AllowMouseOpenFail
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
Option "ivtvdev" "/dev/fb1"
BusID "4:7:0" # lspci output: "04:07.0 Multimedia video controller:
Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01) ..."
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Screen"
Identifier "ScreenTV"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection
-------------------------------------------------------
Xorg.0.log:
-------------------------------------------------------
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.19-44mdkenterprise i686 [ELF]
Current Operating System: Linux bonfire 2.6.8.1-12mdkcustom #1 SMP Tue Jan 4
01:15:28 PST 2005 i686
Build Date: 21 October 2004
<cut>
(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="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) v4l driver for Video4Linux
(II) IVTVDEV: driver for framebuffer: PVR-350
(II) Primary Device is: PCI 01:00:0
(--) Chipset PVR-350 found
(EE) 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
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
-------------------------------------------------------
dmesg:
-------------------------------------------------------
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.2 (a) loading
ivtv: Linux version: 2.6.8.1-12mdkcustom SMP PENTIUM4 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
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x2531 vendor: 0x8086
tveeprom: Ignoring new-style parameters in presence of obsolete ones
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 2867065
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[0],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad2598,
Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: Ignoring new-style parameters in presence of obsolete ones
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[0],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[0],ok]
msp3400: Ignoring new-style parameters in presence of obsolete ones
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler
(G) no-thread mode
msp34xx: $Id$ compiled on: Jan 4 2005 09:30:10
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann rqt 128 rq 6 len
100 ret -32
usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann rqt 128 rq 6 len
100 ret -32
ivtv: i2c attach [client=MSP3448W-A2,ok]
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: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8 using 6 103680 byte buffers 622080 kbytes total
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Create DMA stream 9 using 32 65536 byte buffers 2097152 kbytes total
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: ivtv_enc_thread: pid = 1371, itv = 0xf8c6b6a0
ivtv: ivtv_dec_thread: pid = 1372, itv = 0xf8c6b6a0
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
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: ==================== END INIT IVTV ====================
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
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 0xfa02d000, size 1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb1: iTVC15 TV out frame buffer device
<cut>
saa7115: decoder set picture bright=128 contrast=63 saturation=64 hue=0
saa7115: decoder set picture bright=128 contrast=63 saturation=63 hue=0
saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
saa7115: decoder disable output
saa7115: decoder enable output
saa7115: decoder disable output
saa7115: decoder enable output
saa7115: decoder disable output
saa7115: decoder enable output
saa7115: decoder disable output
saa7115: decoder enable output
-------------------------------------------------------
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Ivtv-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-users