0

CommandIR II Installation? See the Installation Overview on CommandIR.com
Home arrow Software & Distro Setup arrow Configure LIRC for your Remotes and Devices
Configure LIRC for your Remotes and Devices PDF Print E-mail

LIRC uses a single configuration file for all your IR codes - codes for your remote(s) and your A/V device(s) - because LIRC with CommandIR can both detect those remotes and transmit the same codes to control devices. 

Configure your IR Codes - lircd.conf

Find appropriote lircd.conf files for your remote(s) and devices here:

If you are unable to find an lircd.conf for one of your remotes or devices, first check the search engines, but ultimately you may have to use LIRC's irrecord command to record your codes and create your own lircd.conf files.

Contatenate all your lircd.conf files for each remote and device into a single configuration file and overwrite your default lircd.conf:

  • For example: "cat lircd.hauppauge lircd.projector > /etc/lircd.conf" or
  • [mythtv@mythtv:~/irconfigs/] ls -l
    -rwxrwxrwx 1 mythtv mythtv 199 Dec 5 2005 lircd-hauppauge.conf
    -rwxrwxrwx 1 mythtv mythtv 359 Dec 5 2005 lircd-kids-remote.conf
    -rwxrwxrwx 1 mythtv mythtv 435 Dec 5 2005 lircd-directv.conf
    [mythtv@mythtv:~/irconfigs/] cat lircd*.conf > lircd.conf
    [mythtv@mythtv:~/irconfigs/] ls -l
    -rwxrwxrwx 1 mythtv mythtv 199 Dec 5 2005 lircd-hauppauge.conf
    -rwxrwxrwx 1 mythtv mythtv 359 Dec 5 2005 lircd-kids-remote.conf
    -rwxrwxrwx 1 mythtv mythtv 435 Dec 5 2005 lircd-directv.conf
    -rwxrwxrwx 1 mythtv mythtv 993 Dec 8 2006 lircd.conf

Test LIRC

Assuming you have passed the basic Sanity Checkss, it's time to test your LIRC configuration:

  1. Restart LIRC
    1. Usually /etc/init.d/lirc restart
  2. To test your remote(s):
    1. Run 'irw"
    2. Press buttons on your remote while aimed at CommandIR
    3. You will see the buttons being detected on your screen
  3. To test control of your device(s)
    1. Take note of the name's of your devices in your lircd.conf files (the "name" parameter)
    2. Take note of a few of the buttons/commands in your lircd.conf files (between "begin codes" and "end codes")
    3. Run "irsend send_once name codename", for example "irsend send_once nec-projector power-on"
    4. CommandIR indicators will blink to show transmission and your devices will respond to the correct codes
 
< Prev   Next >
Free Joomla Templates