0

CommandIR II Installation? See the Installation Overview on CommandIR.com
Home arrow LIRC Config Help arrow LIRC Config: Installing your downloaded lircconfig.tar.gz
LIRC Config: Installing your downloaded lircconfig.tar.gz PDF Print E-mail

Installing your Custom LIRC Configuration Files

LIRC Config creates a "lircconfig.tar.gz" archive file containing all your LIRC configuration files and control scripts.

Download lircconfig.tar.gz to your Media PC and untar in your ROOT ("/") directory - the "/lircconfig/" path will be created for you with your configuration files in a file structure similar to this:

/lircconfig/lircrc
/lircconfig/lircd.conf
/lircconfig/irsend2
/lircconfig/activity-29-lircrc
/lircconfig/activity-28-lircrc
/lircconfig/scripts/script-13.sh
/lircconfig/scripts/script-30.sh
/lircconfig/scripts/activity-startup-29.sh
/lircconfig/scripts/activity-finish-29.sh
/lircconfig/scripts/activity-startup-28.sh
/lircconfig/scripts/activity-finish-28.sh

This installation requires 'root' privileges although all scripts can run as a user, such as 'mythtv'.

Assigning lircd.conf & lircrc

We recommend linking your default lircd.conf file to /lircconfig/lircd.conf which makes future upgrades easy. Untaring new lircconfig.tar.gz configurations will then automatically update your full system configuration with no additional file copying required.

Rename or save your old lircd.conf file, in KnoppMyth located at /etc/lirc/lircd.conf and relink:

root@mythtv:/etc/lirc# ln -s /lircconfig/lircd.conf

Similarly, you can use your lircconfig generated lircrc by linking it:

root@mythtv:/home/mythtv/.mythtv# ln -s /lircconfig/lircrc

Launching "Default Software Mode" at Startup

If you've configured Macro's or Translators that should be enabled at boot time (like for Powering-On your TV/Projector), your Media PC must be configured to start that Activity.

On KnoppMyth, simply create a file in /etc/rc5.d, such as S60lircconfig:

#!/bin/bash
su mythtv -c /lircconfig/scripts/activity-startup-28.sh &

Where "28" should be the number of your Activity Script - the LIRC Config download page tells you which is which. Make sure the script is chmod +x executable.

Downloading a New LIRC Config

To install a new configuration, simply download the new lircconfig.tar.gz and untar in your ROOT directory again. This overwrites your previous /lircconfig/ links (as set up above) will be pointing to your latest configurations.

A quick reloading of programs or a reboot will load your new LIRC Config.

 
< Prev   Next >
Free Joomla Templates