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 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

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.



Discussion

Dean, Monday 27 of July, 2009 [14:49:18]

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.

Enter your comment (wiki syntax is allowed):
CBBNC
configuring+lirc+for+foxtel.txt · Last modified: Monday 01 of December, 2008 [03:31:38] by 124.168.71.99
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2007-2008 ozmyth.com