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

📄 rc.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>RC</H1><HR><A NAME="lbAB">&nbsp;</A><H2>NAME</H2>rc - basic LIRC program to send infra-red commands<A NAME="lbAC">&nbsp;</A><H2>SYNOPSIS</H2><B>rc</B><I>DIRECTIVE REMOTE CODE </I>[<I>CODE</I>...]<A NAME="lbAD">&nbsp;</A><H2>DESCRIPTION</H2>Asks the <B>lircd</B> daemon to send one or more CIR(Consumer Infra-Red) commands. This is intended for remote controlof electronic devices such as TV boxes, HiFi sets, etc.<P><I>DIRECTIVE</I> can be:<PRE><DL COMPACT><DT><DD><B>SEND_ONCE</B>    - send <I>CODE</I> [<I>CODE</I> ...] once<B>SEND_START</B>   - start repeating <I>CODE</I><B>SEND_STOP</B>    - stop repeating <I>CODE</I><B>LIST</B>         - list configured remote items</DL></PRE><P><DL COMPACT><DT><I>REMOTE</I> is the name of a remote, as described in the <B>lircd</B><DD>configuration file.<P><DT><I>CODE</I> is the name of a remote control key of <I>REMOTE</I>, as it<DD>appears in the <B>lircd</B> configuration file.<P></DL><P>For the <B>LIST</B> <I>DIRECTIVE</I>, <I>REMOTE</I> and/or <I>CODE</I>can be empty:<P><PRE><DL COMPACT><DT><DD><B>LIST</B>   &quot;&quot;    &quot;&quot;   - list all configured remote names<B>LIST</B> <I>REMOTE</I>  &quot;&quot;   - list all codes of <I>REMOTE</I><B>LIST</B> <I>REMOTE</I> <I>CODE</I>  - list only <I>CODE</I> of <I>REMOTE</I></DL></PRE><DL COMPACT><DT><B>-h</B> <B>--help</B><DD>display usage summary<DT><B>-v</B> <B>--version</B><DD>display version</DL><A NAME="lbAE">&nbsp;</A><H2>EXAMPLES</H2><PRE><DL COMPACT><DT><DD>rc LIST DenonTuner &quot;&quot;rc SEND_ONCE  DenonTuner PROG-SCAN rc SEND_ONCE  OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UPrc SEND_START OnkyoAmpli VOL-DOWN ; sleep 3rc SEND_STOP  OnkyoAmpli VOL-DOWN</DL></PRE><A NAME="lbAF">&nbsp;</A><H2>FILES</H2><DL COMPACT><DT><B>/etc/lircd.conf</B><DD>Default <B>lircd</B> configuration file.  It should contain all theremotes, their infra-red codes and the corresponding timing and waveform details.<P></DL><A NAME="lbAG">&nbsp;</A><H2>DIAGNOSTICS</H2>If <B>lircd</B> is not running (or /dev/lircd lacks write permissions)<B>rc</B> aborts with the following diagnostics:<PRE>&quot;rc: could not connect to socket&quot;&quot;rc: Connection refused&quot; (or &quot;Permission denied&quot;).</PRE><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 + -