I have a Hauppauge PVR350 card, which includes an IR receiver (connected via a 2.5mm socket on the card), but I also need to control an external cable box via an IR blaster (bought from irblaster.info), and have COM1 free.
Actually, since I have a Belkin MediaPilot keyboard (mostly) working, I won’t need to use the Hauppauge remote control, but I’ve included the set-up just in case.
Into /etc/modprobe.conf :
To get the devices loaded in the right order, we need to do the lircd setup manually. So, into /etc/rc.local append :
To get the IR commands correctly received and sent, you need to add the IR code definition files (one after another) into /etc/lircd.conf. Each of these files looks like :
Get the full details from http://lirc.sourceforge.net/remotes/.
To allow the received codes to trigger events within MythTV, you need a file that looks like this in ~/.myth/lircrc :
And finally, to change the channel on the cable box, you need to add a reference to a script like the following ‘change-channel-lirc.pl’ to the appropriate input channel via myth-setup :