<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>LIRC - Linux Infrared Remote Control</TITLE> <LINK REL=stylesheet TYPE="text/css" HREF="../lirc.css"> <LINK REL="shortcut icon" HREF="../favicon.ico"> <META NAME="description" CONTENT="LIRC - Linux Infra-red Remote Control"> <META NAME="keywords" CONTENT="linux, kernel module, remote control, animax, multimedia"> </HEAD> <BODY BACKGROUND="../images/marb18.jpg" BGCOLOR="#FFFFFF" TEXT="#000000" ALINK="#8080FF"> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"> <TR> <TD CLASS="menu" WIDTH="100%" HEIGHT="150"> <IMG SRC="../images/diode.gif" ALT="" WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20" VSPACE="0" ALIGN="LEFT"> <IMG SRC="../images/lirc.gif" ALT="" WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20" VSPACE="0" ALIGN="RIGHT"> </TD> </TR> <TR> <TD WIDTH="100%"> <BR> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"> <TR> <TD WIDTH="15%"> <BR></TD> <TD WIDTH="70%" ALIGN="LEFT" VALIGN="TOP"> <BR> <!-- Text ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <A NAME="overview"></A><HR> <CENTER><H1>iMON 2.4G DT/LT</H1></CENTER> <P> The asccociation process of the iMON 2.4G DT/LT remote. </P> <P> Due to the design (could probably have been better), an application needs to have an open connection to the lirc-daemon*, to allow the association process to start. </P> <P> To associate the remote you need 2 terminals. <DL> <DT>1 To:</DT><DD>Find the "sys" entry and start the association process</DD> <DT>2 To:</DT><DD>Start a process that has a connection open to the lirc-daemon</DD> </DL> The example is shown for bash but sould be quite easy to adapt for (t)csh <PRE> Term #1 | Term #2 --------------------------------------------+---------------------------------------- # file=`find /sys -name associate_remote` | |# irw # echo > $file | --------------------------------------------+---------------------------------------- </PRE> Then you hold down a button on the remote. And soon the "irw" process should start to spit out keycodes. Just stop <EM>(Ctrl-C)</EM> the "irw" process, and you should be good to go. <DIV WIDHT="25%"><HR WIDTH="25%" ALIGN="LEFT"></DIV> *) This is because the USB device connection is only initialized when the lirc-daemon gets a connection to an application, and when it is closed, the USB device connection gets closed too. So only in this period it is possible to send packages to the usb-device. <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <BR><BR> <CENTER>[<A HREF="http://www.lirc.org/">LIRC homepage</A>]<BR> <I>The LIRC Manual, last update: 17-Jan-2007</I></CENTER> <BR><BR> </TD> <TD WIDTH="15%"> <BR></TD> </TR> </TABLE> </TD> </TR> <TR> <TD CLASS="menu" WIDTH="100%"> <BR> </TD> </TR> </TABLE> </BODY> </HTML>