Tuesday, December 13, 2005

Fedora Core 4, lirc and PVR150

This posting is based on info found in this blog post. If something is unclear here or you have some problems you may find the answers there. You'll need to download the lirc-0.7.2 source code and 2 patches. These are derived from the patch and info in that other post plus some minor fixing up I did to suit Fedora's gcc.

Get started with tar -jxvf lirc-0.7.2.tar.bz2 cd lirc-0.7.2 patch -p1 < ../pvr150-shrunk.patch patch -p1 < ../pvr150-fc4.patch ./configure and select the PVR150 tv card. On the main main select the Save and Run option and let configure do it's work and then run make. At this point you can either do make install which will give you a new set of lirc binaries etc which will be missing various patches applied to the Fedora version or you can just do

cp drivers/lirc_pvr150/lirc_pvr150.ko drivers/lirc_dev/lirc_dev.ko /lib/modules/2.6.whatever/misc

I added the following to /etc/modprobe.conf

alias char-major-61 lirc_pvr150 options lirc_pvr150 disable_tx=1

I disabled the transmitter because I don't want to use it. If you want to use it, you'll need to get the firmware from somewhere.

Finally do

rmmod ivtv # only necessary if it's loaded modprobe ivtv modprobe lirc_pvr150

and hopefully everything will be smiles and happiness. You can test it out by running mode2 as root and sending some signals to the receiver. You should see some codes being printed out.

No comments: