⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lircd.html

📁 很少见的linux下的红外口的工具
💻 HTML
字号:
<!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">    <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%">&#160;<BR>	  <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">	    <TR>	      <TD WIDTH="15%">&#160;<BR></TD>	      <TD WIDTH="70%" ALIGN="LEFT" VALIGN="TOP">&#160;<BR><!-- Text ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><H1>LIRCD</H1><HR><A NAME="lbAB">&nbsp;</A><H2>NAME</H2>LIRC daemon - decodes infrared signals and provides them on a Unixdomain socket.<A NAME="lbAC">&nbsp;</A><H2>SYNOPSIS</H2><B>lircd</B><I>0.6.6 </I>[<I>options</I>] [<I>config-file</I>]<A NAME="lbAD">&nbsp;</A><H2>DESCRIPTION</H2>The main task of lircd is to decode the infrared signals and provide anuniform interface for client applications. Clients can connect to lircdthrough a Unix domain socket which is located in /dev/lircd. Using thissocket they will get the infrared codes received by lircd and they cansend commands to lircd.<DL COMPACT><DT><B>-h</B> <B>--help</B><DD>display this message<DT><B>-v</B> <B>--version</B><DD>display version<DT><B>-n</B> <B>--nodaemon</B><DD>don't fork to background<DT><B>-p</B> <B>--permission</B>=<I>mode</I><DD>file permissions for /dev/lircd<DT><B>-H</B> <B>--driver</B>=<I>driver</I><DD>use given driver<DT><B>-d</B> <B>--device</B>=<I>device</I><DD>read from given device<DT><B>-l</B> <B>--listen</B>[=<I>port</I>]<DD>listen for network connections on port<DT><B>-c</B> <B>--connect</B>=<I>host[</I>:port]<DD>connect to remote lircd server</DL><A NAME="lbAE">&nbsp;</A><H2>OPTIONS</H2>The --permission option gives the file permission of /dev/lircd if ithas to be created in octal representation. Read the documentation forchmod for further details. If no --permission option is given when thesocket is initially created the default is to give all users read andwrite permissions (0666 in octal representation). If /dev/lircd alreadyexists this option has no effect.<P>With the --device option you can select the character device which lircdshould read from. The default currently is /dev/lirc but it probablywill change in future.<P>With the --listen option you can let lircd listen for networkconnections on the given port. The default port is 8765. No securitychecks are currently implemented.<P>The --connect option allows you to connect to other lircd servers thatprovide a network socket at the given host and port number. The numberof such connections is currently limited to 100.<A NAME="lbAF">&nbsp;</A><H2>FILES</H2><P>The config file for lircd is located in /etc/lircd.conf. lircdhas its own log file in /var/log/lircd (beginning with LIRC version0.6.1 you can configure lircd to use syslogd for log messages; then itdepends on your system configuration where log messages will show up).You can make lircd reread its config file and reopen its log file bysending the HUP signal to the program. That way you can rotate old logfiles.<A NAME="lbAG">&nbsp;</A><H2>DAEMONS</H2>lircd and lircmd are daemons. You should start them in some init scriptdepending on your system. There are some example scripts for differentdistributions in the contrib directory. lircmd has to be started afterlircd as it connects to the socket lircd provides.<P>If you start lircd or lircmd from your shell prompt you will usually getback immediately to the prompt. Often people think that the program hasdied. But this is not an error. lircd and lircmd are daemons. Daemonsalways run in background.<A NAME="lbAH">&nbsp;</A><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->		<BR><BR>		<CENTER>[<A HREF="http://www.lirc.org/">LIRC homepage</A>]<BR>		  <I>The LIRC Manual, last update: 12-Sep-2002</I></CENTER>		<BR><BR>	      </TD>	      <TD WIDTH="15%">&#160;<BR></TD>	    </TR>	  </TABLE>	</TD>      </TR>      <TR>	<TD CLASS="menu" WIDTH="100%">&#160;<BR>	</TD>      </TR>    </TABLE>  </BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -