Upgrade to 2.6.22 seems to break everything in the ivtv suite. It all disappeared from the rpms, so we need to install from source.
* ivtv * ivtv-fb * ivtv-xdriver * ivtvfbctl (now gone)
In particular, some web posts indicate that support for the PVR-350 has been eliminated somehow. This doesn’t seem to be completely true - but maybe there’s a problem with the hardware decoding from MythTV. By doing the following, the PVR-350 can be made to display X in framebuffer mode, and do the output via the framebuffer too…
If the hardware-based decoding (which can be overlaid on the X display) can be made to work then the Use PVR-350 output in MythTV can be enabled. Which also means that doing MythTV should result in very low processor load.
ivtv and ivtv-fb on Fedora 7 : 2.6.22
We don’t need to build the ivtv stuff entirely from source : the ivtv driver has now been moved into the kernel. However, the ivtv-fb isn’t in the kernel… So we need to compile that part afresh (the rest of ivtv is in the v4l-dvb / v4l tree, shown below).
This is the only part that needs to be done if you’re upgrading between 2.6.22.xx versions.
To install the firmware (may not be necessary now)
For the v4l stuff - actually, may be better for ivtvfb
Do this only if the old FC6 v4l stuff is installed, since the control commands are expecting a different version of ivtv to be answering on the other end.
This includes the control suite necessary to change alpha and input/output channels on the card - so it’s important to have this in sync with the ivtv version.
Go to http://linuxtv.org/ and then pick up the most recent tar from the link at the top of the page : http://linuxtv.org/hg/v4l-dvb
ivtv-fb (?) : Installing Firmware
Fedora 7 : The location where hotplug expects firmware to be loaded into (for example, firmware for Cardbus cards) has changed from
/lib/firmware. Existing firmware files must be moved into the new directory.
Get the firmware from the main ivtv page :
Fedora 7 xdriver
Check whether it’s there already :
If there’s no
ivtvdev_drv.so we need to build it :
Setting up the modprobe configuration
/etc/modprobe.conf put :
Checking it all works
/bin/dmesg |grep Initialized
ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20060119 on minor 0
0 cx23415 TV out
ls -l /dev/fb*
lrwxrwxrwx 1 root root 3 2007-06-13 09:18 /dev/fb -> fb0
crw——- 1 yoshika root 29, 0 2007-06-13 09:18 /dev/fb0
/sbin/lspci | grep “Internext Compression”
01:05.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
v4l2-ctl -i 2
v4l2-ctl -o 2
cat /dev/video0 > /tmp/test_capture.mpg
OLD VERSION : ivtvfbctl –device=/dev/fb0 –globalalpha=on –localalpha=on -v 0
ivtvctl -K 1
Set the framebuffer to be entirely in front of MPEG decoder :
Set the framebuffer to be dimly in front of MPEG decoder :
Test whether the encode/decode cycle works :
This may come in handy later :