Sean’s Obsessions

Sean Walberg’s blog

MythDora and Jumpy Livetv

After my previous post I ended up wiping my Myth box and installing Mythdora. Apparently there are some unresolved issues in F7’s kernel and the ivtv packaging.

Everything worked well except recording was funny. Watching livetv was jumpy… Every few seconds the audio and video would stutter. Watching a show on the MVP downstairs was interesting because it appeared that it was being played back at 110% speed, and people were talking like chipmonks.

This lead me to this link which suggested I get rid of the video4linux-kmdl modules and rebuild the saa7127 module from the kernel tree. That post referenced these instructions which were helpful, but not 100% complete.

First I googled for kernel-2.6.20-1.2962.fc6.src.rpm and found a site with the source RPM for the kernel I was running. I also needed to find the kernel-devel for this package (kernel-devel-2.6.20-1.2962.fc6.i686.rpm)

1
2
3
4
5
6
7
8
9
10
yum install rpm-build  m4 make gnupg gcc redhat-rpm-config ncurses-devel
cd /usr/src/redhat/SPECS
rpmbuild -bp --target=i686  kernel-2.6.spec
cd /usr/src/redhat/BUILD/kernel-2.6.20/linux-2.6.20.i686/
cd include
ln -s asm-i386/ asm
cd ..
make scripts
make oldconfig
make menuconfig

Then I followed the instructions in the second link to configure the kernel, and build the module

1
2
3
4
5
make drivers/media/video
make M=drivers/media/video
cp drivers/media/video/saa7127.ko /lib/modules/2.6.20-1.2962.fc6/kernel/drivers/media/video/
depmod
reboot

The instructions worked well, the only hard part was getting the kernel build environment set up. The make was complaining that it couldn’t find some header files (asm/types.h), and it was that symlink that was needed.

Comments

I’m trying something new here. Talk to me on Twitter with the button above, please.