XV on PVR-350
This How-To outlines how to get the xv extension working on the TV-Out of the Hauppauge PVR-350 in linux. This how-to focuses on Gentoo (RedHat notes added at the end), but the information should be useful for other distributions as well. This also assumes that you have tvout working on the Hauppauge PVR-350, or at least some parts of MythTV already working.
- Upgrade to the newest release of Ivtv, at this time, ivtv-0.3.8.
ACCEPT_KEYWORDS=~x86 emerge ivtv
- Upgrade/Install x.org. I used version 6.8.2-r5, but any new-ish release should be ok
- Download the XDriver from here: http://dl.ivtvdriver.org/xdriver/
- Unzip the archive into the source directory for X, in the
xc/config/cf/xorg.cfand look for
#define XF86[[Card Drivers]]. Add "ivtv" somewhere in that list.
- Run a
make installin that directory to install the ivtv driver.
- Edit your
XF86Configfile to contain the following. Replace with your own fbdev and BusID as appropriate (see below):
Section "Device" Identifier "Hauppauge PVR 350 iTVC15 Framebuffer" Driver "ivtvdev" Option "fbdev" "/dev/fb2" BusID "PCI:0:10:0" [[End Section]]
- Get your appropriate BusID from lspci (available from the pcitools package):
lspci |grep video
- Get the appropriate fb device from /proc/fb:
In order to facilitate, I created a patch and custom ebuild to download/install xdriver and patch the xorg.cf file.
This How-To written by Jeff Simpson
Compiling the X driver on a RedHat Compatible System
I also needed the x driver to get xine to play nice with the PVR-350. These steps worked to compile it on a CentOS 4.2 (RedHat Enterprise) x86_64 System:
- Download and extract xdriver source. Here I'll use the home directory (~).
- Install xorg-x11 source RPM, for me
rpmbuild -bc xorg-x11.spec-- This took a good half hour on my 2.8Ghz P4-521. This patches and compiles but does not install the source. I wonder if '
rpmbuild -bp' would be enough for this to work?
cp ivtvdev_drv.o /usr/X11R6/lib64/modules/drivers. On an i386 system the destination for the copy should be
/etc/X11/xorg.conf(see above edits to XF86Config).
- Restart X
The xdriver source compiled without any patches or fixes. Check
/var/log/Xorg.0.log after restarting X to see that the driver is loading. My log file stated that the driver is compiled for 220.127.116.112 while I clearly have 6.8.2 installed. Odd, but it still works.
--Kbocek 21:51, 27 March 2006 (UTC)
Compiling the X driver on Gentoo with Modular xorg (6.9/7.0)
Since Modular Xorg has drivers in separate packages, porting the xdriver to one of these packages was just a matter of hijacking the fbdev package and changing which files it compiled.
1. Put the tar.bz2 file in /usr/portage/distfiles
cp xf86-video-ivtvdev-0.10.6.tar.bz2 /usr/portage/distfiles
2. Put the .ebuild in your portage overlay under x11-drivers/xf86-video-ivtv
mkdir -p /usr/local/portage/x11-drivers/xf86-video-ivtvdev/
cp xf86-video-ivtvdev-0.10.6.ebuild /usr/local/portage/x11-drivers/xf86-video-ivtvdev/
3. Build the digest for the ebuild
ebuild xf86-video-ivtvdev-0.10.6.ebuild digest
4. Add the package to package.keywords
echo "x11-drivers/xf86-video-ivtvdev ~x86" >> /etc/portage/package.keywords
4. Emerge the package