|
| Table of Contents
|
Bill Giannikos (bill2 at giannikos.com.au)
This guide will help you in configuring Lirc for Foxtel Digital (and Optus Digital, Sky Digital, etc.). It assumes you already have a standard version of Lirc installed and have a serial IR blaster ready to use.
A serial IR blaster is required. You may like to read the Building a IR Blaster guide for instructions on how to build one.
You should have a module called lirc_serial. You will need to ensure this module is loaded on startup of your system. This varies depending on your Linux distribution. Under Fedora, I put these lines in /etc/rc.modules:
setserial /dev/ttyS0 uart nonemodprobe lirc-serial
Now download the 'lircd.conf' from here. This contains all the IR codes required to control the Foxtel STU. This is not my work and unfortunately I can no longer find where I got the file from. Thanks goes out to the original author anyway. Copy this file into your /etc folder.
Also attached are two scripts I wrote which controls the changing of the Foxtel STU. Download the changefoxtel and changechannel0 files. I have written these so it attempts to change the channel twice in case the first attempt to change the channel fails. Copy the 'changefoxtel' and 'changechannel0' files to /usr/local/bin
Your IR Blaster should now be able to change channels, you can now follow the Setting up Foxtel Channels in MythTV guide.
USB to Serial Converters do not work, you need to use the onboard serial ports or a PCI add-in card.
Discussion
If you are using the channelchange0 script in Ubuntu you need to change the first line from #/bin/sh to #/bin/bash for the aritmetic functions to work.