Building and Installing RedRat3 LIRC Support - Version 0.4 ========================================================== June 2008 --------- This is compiling against kernel 2.6.24-16-generic (Kubuntu 8.04 LTS) Full instructions on how to build from CVS on a (reasonably) freshly built (i.e. no previous development) kubuntu 8.04 machine are below. Install prerequisites/dependencies: sudo apt-get install cvs sudo apt-get install build-essential sudo apt-get install dialog sudo apt-get install automake sudo apt-get install libtool sudo apt-get install help2man sudo apt-get install libx11-dev Obtain the latest source from LIRC CVS (Press the Enter key when asked for the CVS password): cd ~ mkdir lirc cd lirc cvs -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc login cvs -z8 -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc co lirc (note - they have now already included a directory in the CVS source for lirc_redrat3) Copy in required files (available from http://sourceforge.net/tracker/index.php?func=detail&aid=1933037&group_id=5444&atid=305444 or download from the RedRat website - lirc-rr3-0.4.tar.gz: configure.ac -> ~/lirc/lirc setup.data -> ~/lirc/lirc Makefile.am -> ~/lirc/lirc/drivers/lirc_redrat3 lirc_redrat3.mod.c -> ~/lirc/lirc/drivers/lirc_redrat3 lirc_redrat3.c -> ~/lirc/lirc/drivers/lirc_redrat3 Prepare the source to build the right driver: cd ~/lirc/lirc ./autogen.sh ./setup.sh Select: 1) Driver Configuration->8) USB Devices-> t) RedRat3 IR Sender/Receiver 4) Save configuration and Exit Build the software: make sudo make install Load the new kernel module: sudo modprobe lirc_redrat3 Check it is recognised: dmesg Test lircd - in one terminal window start the lircd daemon (like a windows service): sudo lircd -n And in another test it can recognise a remote control: xmode2 (You should see an oscillosope style representation of the IR Codes)