I finally got mythtv 0.20.2 and my PVR-350 working nicely together
after I had to reluctantly upgrade to deal with using Schedules Direct
for programming data. I started with Mythdora 4.0, switched to FC 6,
and finally went back to Mythdora 4.0. I had trouble with stuttering
video output originally w/mythdora and then I had ivtv/mythtv
incompatibilities with FC6 using a recent 2.6.22 kernel. I was helped
out by a lot of great posts along the way so I thought I'd share the
general process that worked for me (as much as I can remember,
anyway). Here goes...
(1.) Installed Mythdora 4.0 from DVD. Made sure to install
ivtv_xdriver and video4linux during the intall (although I later
removed video4linux).
(2.) Created file: /etc/modprobe.d/ivtv:
options ivtv-fb osd_compat=1
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
I think I created this file to force ivtv-fb to load at boot.
(3.) Edit file (to get X on PVR-350 tv-out): /etc/X11/xorg.conf (make
sure to edit for proper fb device and PCI bus ID ):
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
# ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
# ModulePath "/usr/X11R6/lib/modules/extensions"
# ModulePath "/usr/X11R6/lib/modules"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
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 "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
### change fb1 to whatever your card grabbed
Option "fbdev" "/dev/fb0"
Option "ivtv" "/dev/fb0"
### change the BusID to whatever is reported by lspci,
### converted from hex to decimal
BusID "PCI:1:4:0" # lspci says 00:08.0
### More examples
#BusID "PCI:0:10:0" # lspci says 00: 0a.0
#BusID "PCI:1:14:0" # lspci says 01:0e.0
#BusID "PCI:0:5:1" # lspci says 00:05.1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
(4.) At this point, everything worked except PVR-350 video/audio
output was jumpy. Myth version is 0.20.0 (or whatever version mythdora
comes with). Now I updated mythtv to the latest RPM version:
(close mythfrontend first)
# /sbin/service mythbackend stop
# yum install mythtv-suite
# mythtv-setup
# /sbin/service mythbackend start
# mythfilldatabase
(5.) Now we need to re-compile the saa7127 kernel module to remedy the
jumpy output problems. Download the kernel source for kernel 2.6.20.1
from kernel.org. Create saa7127.ko using the following steps (slightly
modified from http://www.gossamer-threads.com/lists/ivtv/users/35059):
# yum install ncurses-devel gnupg
# yum remove video4linux-kmdl-$KVER
# yum remove vdeo4linux
(download and unpack the kernel and cd to the top directory of what
you just unpacked)
# make menuconfig (go through the menus and set saa7217 to be created
as a module)
# make drivers/media/video/ && make M=drivers/media/video (this will
take a while)
# cp drivers/media/video/saa7127.ko
/lib/modules/2.6.20-1.2944.fc6/updates/drivers/media/video/saa7127.ko
6. reboot and cross your fingers.
Ann
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users