====== Configuring Lirc for Foxtel ====== ===== Author ===== Bill Giannikos (bill2 at giannikos.com.au) ===== Introduction ===== 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. ===== Guide ===== 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 none'' ''modprobe lirc-serial'' Now download the 'lircd.conf' from {{:lircd.conf|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 [[http://www.ozmyth.com/files/changefoxtel|changefoxtel]] and [[http://www.ozmyth.com/files/changechannel0|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 ===== Conclusion ===== Your IR Blaster should now be able to change channels, you can now follow the [[Setting up Foxtel Channels in MythTV]] guide. ===== Notes and Tips ===== USB to Serial Converters do not work, you need to use the onboard serial ports or a PCI add-in card.