cBrandon Community

General Category => Linux Fixes => Topic started by: branx86 on September 28, 2015, 09:56:49 AM

Title: Lirc Guide
Post by: branx86 on September 28, 2015, 09:56:49 AM
You only need lirc and lirc-x

1. If your using Ubuntu or Debian you can just type apt-get install lirc in a terminal window.

    * Once installed Type service lirc stop to stop the service
    * Then service lirc start to start the service ask me why we have to do this I'll never know but has to be done.

2. Then record some buttons from the remote by typing irrecord –d /dev/lirc0 boxeeir or whatever name you want your remote to be.

    * Once done recording the remote stop the service with service lirc stop

3. Now check to see if you are getting the correct remote commands. Start the lirc server By typing this in a terminal windows. lircd –d /dev/lirc0 /etc/boxeeir

4. Now at the promt type irw

    * Press the buttons on your remote you just learned and see if they match. Press ctrl+c to quit irw.

5. If irw gave the right output, stop lirc with killall lircd

6. In the terminal window at the /etc/ prompt type cat boxeeir > lircd.conf

7. Now start the lirc server type /etc/init.d/lircd start

8. Now edit the Lircmap.xml the file is located in /opt/boxee/system

    * In the Lircmap.xml change the <remote device="boxeeir">
    * Match Lircmap.xml with lircd.conf buttons

9. Start Boxee and check remote.

(http://s8.postimg.org/p1896clep/Lirc_schematics.jpg) (http://postimg.org/image/p1896clep/)
Title: Re: Lirc Guide
Post by: Daphne on November 06, 2015, 02:40:19 AM
 ;D ;D ;D Hi, nice to be here