X-Out on a PVR-350

Install the ivtv driver as described here http://www.willmer.com/kb/2005/02/installing-ivtv-driver-for-pvr-350-card/

Then, following the instructions in utils/README.X11,

install -c -m 0444 ivtvdev_drv_o /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o

Then, set your default kernel to use a frame buffer.

Add
vga=791

to your kernel line

Add this to the line starting # kopt… in /boot/grub/menu.lst

vga=791

Identify the PCD ID of the PVR-350 card.

lspci

and look for the line relating to the PVR card. Mine says this…


0000:02:06.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)

The first column gives you the bus, slot, function. You’ll need this for the xorg.conf.

Then add this to /etc/X11/xorg.conf

# add this as the first ServerLayout if you want it load automatically
Section "ServerLayout"
Identifier "TV"
Screen 0 "TV"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Device"
Identifier "Hauppauge PVR350"
Driver "ivtvdev"
Option "fbdev" "/dev/fb1"
BusID "0:02:06" # this is the PCI ID you got earlier.
EndSection

Section "Monitor"
Identifier "PAL Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x576"
DotClock 42.6
HTimings 720 760 832 944
VTimings 576 577 580 602
Flags "-HSync" "-VSync"
EndMode
EndSection

Section "Screen"
Identifier "TV"
Device "Hauppauge PVR350"
Monitor "PAL Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
EndSubsection
EndSection

You can see the entire xorg.conf file here.

Reboot and see if it works…

Not working? You may need to rebuild the kernel to get it going

Follow the instructions at http://www.ubuntulinux.org/wiki/KernelHowto