Install Serial IR Remote Driver (ActiSys IR200L)
Step One: Remove the lirc that is there:
apt-get remove lirc
updatedb
locate lirc_i2c|grep `uname -r` (Remove whatever it finds)
locate lirc_dev|grep `uname -r` (Remove whatever it finds)
locate irw|grep "/usr" (Remove whatever it finds)
locate irxevent|grep "/usr" (Remove whatever it finds)
locate lircd|grep "/usr" (Remove whatever it finds)
locate lircmd|grep "/usr" (Remove whatever it finds)
Step Two: Install lirc and compile ActiSys device driver:
cd /usr/src
wget
http://prdownloads.sourceforge.net/lirc ... .2.tar.bz2
tar jxf lirc-0.8.2.tar.bz2
cd lirc-0.8.2
./setup.sh
(1) Driver configuration:
......(6)(IrDA Hardware)
......(5)(ActiSys Act200L SIR driver)
......(1)(COM1 (0x3f8,4))
(3) Save and Run configure.
make
make install
Step Three: Configure lirc and Knoppmyth
cd /etc/init.d
vi bootmisc.sh
Add the following to the bottom of the file:
setserial /dev/ttyS0 uart none
/etc/init.d/lirc start
Exit and save file (<esc>:x)
cd /etc/modutils
vi aliases
Add the following line anywhere in the file. (I put it in between Char60 and Char62)
alias char-major-61 lirc_sir
Exit and save file (<esc>:x)
update-modules # Don’t forget to do this command
cd /usr/sbin
ln –s /usr/local/sbin/lircd
ln –s /usr/local/sbin/lircmd
cd /etc/lirc
vi hardware.conf
Find the following lines and change them to:
DEVICE=”/dev/.static/dev/lirc”
MODULES=”lirc_dev lirc_sir”
Exit and save file (<esc>:x)
shutdown –r now #Reboot
Step Four: Verify driver and configuration.
When it comes back, Do the following to see if everything loaded correctly.
Check to make sure the correct kernel modules got loaded. There should be no other “lirc” modules listed.
lsmod |grep ir
lirc_sir 19392 0
lirc_dev 16722 lirc_sir
Verify the ActiSys receiver driver was compiled:
modinfo lirc_sir
filename: /lib/modules/2.6.18-chw-13/misc/lirc_sir.ko
description: LIRC driver for Actisys Act200L
author: Karl Bongers
license: GPL
vermagic: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1
depends:
parm: debug:Enable debugging messages (bool)
parm: threshold:space detection threshold (3) (int)
parm: irq:Interrupt (4 or 3) (int)
parm: io:I/O address base (0x3f8 or 0x2f8) (int)
See if the LIRC Daemon is running on the correct device:
ps –ef |grep lirc
root 2836 lircd --driver=default --device=/dev/.static/dev/lirc
See if the LIRC Daemon is running and is ready:
tail /var/log/lircd
Jan 24 15:50:16 mythtv_HDTV lircd: lircd(act200l) ready
Jan 24 15:50:29 mythtv_HDTV lircd: accepted new client on /dev/lircd
Step Five: Test Remote and, if necessary, create lircd.conf file.
irw
Now press some buttons and you should see them displayed on the screen. If so, press <ctl>C to exit. You are done.
If you don’t see any response, your /etc/lirc/lircd.conf file may not be correct. If you are using a different remote than the Hauppauge A415, you can create your own config file for any remote you want by using the irrecord program.
cd /root (or any temporary directory will do)
ln -s /dev/.static/dev/lircd /dev/lirc
/etc/init.d/lirc stop
irrecord lircd.conf (or any temporary file name if you are just testing).
The program is self explanatory. After you complete the process, you need to copy the file you just created to /etc/lirc/lircd.conf. Next you need to go back to the first step (after re-booting) and run the irw command again. You should now see your buttons as you press them. If not, you need to go back and verify each and every step of the process. Make sure the serial port is enabled in BIOS and make sure the dongle is securely plugged in. Make sure your remote has fresh batteries. Make sure you back up the new lircd.conf file you just created so you don’t lose it. (VERY IMPORTANT) You need to make sure the button names in the lircd.conf file match the names in the /home/mythtv/.mythtv/lircrc file.