Howto setup LIRC with homebrew infrared receiver

Posted: มิถุนายน 14, 2008 in ไม่มีหมวดหมู่
Install Some Software

Now we install a few packages that are needed later on. Run

apt-get install dialog setserial

Install LIRC

First download the software from the lirc website. I strongly recommend not to use any .deb or .rpm package as they tend to make everything more complicated.
Go to the Lirc page and download the most recent package. Untar it with the command:

tar xvfz lirc-0.8.3.tar.gz

and start the semi-graphical setup:

./setup

You should only select your serial port and leave all the other settings. Select the 3rd menu entry, "Save configuration and run configure", wait until it has finished, then give (as root):

make
make install

Once Lirc is compiled and installed, set the serial port, load the lirc kernel module, and start the lirc daemon (lircd):

setserial /dev/ttySx uart none
depmod -a
modprobe lirc_serial
lircd


Install xmode2 (LIRC-X)

apt-get install lirc-x
xmode2

If everything has gone well, we can test the actual receiving hardware.
Take a remote control and start the "xmode2" program (if you don’t use
X start the character application, "mode2"); press then some buttons on
the remote.

Reference:
http://lnx.manoweb.com/lirc/?partType=section&partName=lirc
http://ubuntuforums.org/showthread.php?t=163496

Advertisements

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s