PDA

View Full Version : Homade Boxee Remote (Unbuntu 9.04)



branx86
August 12th, 2009, 07:37 PM
You only need lirc and lirc-x
http://www.lirc.org/receivers.html To build a IR receiver
The quotes are commands to be typed in a terminal window without the " "

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. While as root and in /etc.

* 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 window. "lircd –d /dev/lirc0 /etc/boxeeir" while in the /etc as root.

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. :)

derrick1985
August 13th, 2009, 03:18 PM
This didn't work for me.


rockwelltv@rockwelltv:~$ irrecord -d /dev/lirc0 boxeeir

irrecord - application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
rockwelltv@rockwelltv:~$


Not sure what to do. This is on a mythbuntu installation.

branx86
August 13th, 2009, 09:26 PM
looks like lircd running do a "service lircd stop" or "killall lircd" then do a "service lirc start" , I forgot to mention you need to be root and in /etc.:)