<!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>Linux input layer driver</H1></CENTER> <P> Usually you don't have to create a config file yourself if you use this driver as this <A HREF="http://linux.bytesex.org/v4l2/faq.html#lircd">generic config file</A> should already contain all existing keys. </P> <P> This driver uses <em>/dev/input/event0</em> as its input device per default. You should provide the correct device as --device parameter on the lircd and irrecord command line. </P> <P> Sometimes the input device mapping changes between system reboots. In that case you are also able to specify the correct input device by its name or physical location by preceding the desired value with <em>name=</em> or <em>phys=</em>. Shell wild-cards can be used for the given value but must be protected from the shell with proper quoting. </P> <P> For example you can use: </P> <PRE> --device=name='Budget-CI dvb ir *' --device=phys='pci*/ir0' </PRE> <P> With the following script you can list all names associated with all existing Linux input devices. </P> <PRE> for i in /sys/class/input/input* ; do echo -n "$(basename "$i"): "; cat "$i/name"; done </PRE> <P> This information also can be found in <em>/proc/bus/input/devices</em>. </P> <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> <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>