Difference between revisions of "LIRC on Debian Etch"

From MythTV Official Wiki
Jump to: navigation, search
(changed wording prior to lirc install steps)
Line 2: Line 2:
 
http://www.mythtv.org/wiki/index.php/Installing_MythTV_on_Debian_Etch
 
http://www.mythtv.org/wiki/index.php/Installing_MythTV_on_Debian_Etch
  
Download lirc from http://www.lirc.org then follow the instructions in the INSTALL file.  As of 0.8.1, the steps are to run the following commands in the extracted directory (these steps include installing the required 'dialog' package):
+
Download lirc from http://www.lirc.org then follow the instructions in the INSTALL file.  As of 0.8.1, the steps are to run the following commands in the extracted directory (I have added the command to install the required 'dialog' package):
  
 
   apt-get install dialog
 
   apt-get install dialog

Revision as of 14:08, 10 April 2007

First, you can read about installing MythTV on Debian Etch here: http://www.mythtv.org/wiki/index.php/Installing_MythTV_on_Debian_Etch

Download lirc from http://www.lirc.org then follow the instructions in the INSTALL file. As of 0.8.1, the steps are to run the following commands in the extracted directory (I have added the command to install the required 'dialog' package):

 apt-get install dialog
 ./setup.sh
 make
 make install

You will then need to load the module:

 depmod -a
 modprobe lirc_i2c

You will then need to make a device file usable by the mythtv user:

chmod 666 /dev/lircd

You will then need to start lircd (the first command checks to make sure the device files are there, and the second command may require you to add '-d /dev/lirc?' substituting the ? with a number, which will probably be 0)

ls /dev/lirc*
lircd

To test your work, run (include the '-d /dev/lirc?' if you needed to include this in running lircd):

 mode2

Now press a few buttons on your remote while aiming it at the receiver. You should see some text spit out on your screen. If you don't, then something isn't working.

You will then need to get a lircrc file, and a lircd.conf file which will reside in /home/mythtv/.lircrc, /home/mythtv/.mythtv/lircrc, /etc/lircd.conf, and possibly (I forget) /etc/lircrc. Until I can come back and add more, this link may help you: http://lircconfig.commandir.com/