Added lirc.
[irreco.git] / lirc-0.8.4a / doc / html / pronto2lirc.html
blob1c4cba6acc45f4035bd8dd1ea82ae2319f420cec
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 <HTML>
4 <HEAD>
5 <TITLE>LIRC - Linux Infrared Remote Control</TITLE>
6 <LINK REL=stylesheet TYPE="text/css" HREF="../lirc.css">
7 <LINK REL="shortcut icon" HREF="../favicon.ico">
8 <META NAME="description" CONTENT="LIRC - Linux Infra-red Remote Control">
9 <META NAME="keywords" CONTENT="linux, kernel module, remote control, animax, multimedia">
10 </HEAD>
12 <BODY BACKGROUND="../images/marb18.jpg"
13 BGCOLOR="#FFFFFF" TEXT="#000000" ALINK="#8080FF">
14 <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
15 <TR>
16 <TD CLASS="menu" WIDTH="100%" HEIGHT="150">
17 <IMG SRC="../images/diode.gif" ALT=""
18 WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20"
19 VSPACE="0" ALIGN="LEFT">
20 <IMG SRC="../images/lirc.gif" ALT=""
21 WIDTH="300" HEIGHT="150" BORDER="0" HSPACE="20"
22 VSPACE="0" ALIGN="RIGHT">
23 </TD>
24 </TR>
25 <TR>
26 <TD WIDTH="100%">&#160;<BR>
27 <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
28 <TR>
29 <TD WIDTH="15%">&#160;<BR></TD>
30 <TD WIDTH="70%" ALIGN="LEFT" VALIGN="TOP">&#160;<BR>
32 <!-- Text ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
35 <hr>
36 <h1 align="center">Converting CCF files and Pronto codes to lircd.conf using pronto2lirc</h1>
37 <!-- Usage +++++++++++++++++++++++++++++++++++++++++++ -->
39 <hr>
41 <p>
42 <em>pronto2lirc</em> is a command line program which converts Pronto hex codes
43 directly from a text file or from a CCF file (via CCFTools).
44 It outputs a complete lircd.conf which contains all the codes extracted.
45 </p>
46 <p>To use the program you must have python installed and give it an input file with codes:
47 <pre>&gt; printo2lirc inputfile</pre>
48 If <em>inputfile</em> is not given a generic usage information for <em>printo2lirc</em> will be shown.
49 </p>
52 <hr width="70%">
53 <br>
54 <h1 align="center">Prerequisites for usage</h1>
55 <ol>
56 <li>Installed python. See <a href="http://www.python.org">www.python.org
57 </a> for details.</li>
58 <li>Optional: If you want to use CCF files as source for codes, you need to have
59 <a href="http://ccftools.free.fr/">CCFTools </a>installed. Please note
60 that CCFTools is only available for Windows.</li>
61 </ol>
63 <hr width="70%">
64 <br>
65 <h1 align="center">Converting Pronto codes directly</h1>
66 <ol>
67 <li>Create a text file containing all the sequences you wish to be included in <em>lircd.conf</em>.
68 Each sequence should be on a single line. The name of the sequence is separated
69 from the codes with a colon :<br>A sample pronto code file looks like this:
70 <pre>DVDON:0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 .... 0016 0e7d
71 DVDOFF:0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 .... 0014 0e7d</pre>
72 Please note that for the reason of limited width of this documentation
73 the codes have been cut short. In reality the codes are usually
74 very long.<br><p><b>Warning:</b> Do not split a single code sequences between different rows!
75 <p></li>
76 <li>Run <em>pronto2lirc</em> as described above giving the text file as input.</li>
77 </ol>
78 <hr width="70%">
80 <h1 align="center">Converting CCF files</h1>
81 <ol>
82 <li>Run <em>CCFDecompiler</em> (from CCFTools)</li>
83 <li>Select desired CCF as input file.</li>
84 <li>Make sure that <em>XML Format</em> radiobutton is selected.</li>
85 <li>Press Decompile.</li>
86 <li>Run the <em>pronto2lirc</em> as described above giving the XML file
87 created in step 4 as input.</li>
88 </ol>
89 <hr width="70%">
90 <h1>Limitations</h1>
91 <ol>
92 <li><em>pronto2lirc</em> currently supports recorded pronto codes i.e.
93 the ones that start with <em>0000</em>.</li>
94 <li><em>pronto2lirc</em> picks up only RAWCODES which are listed under DEVICE hierarchy.</li>
95 </ol>
97 <hr width="70%">
99 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
101 <BR><BR>
102 <CENTER>[<A HREF="http://www.lirc.org/">LIRC homepage</A>]<BR>
103 <I>The LIRC Manual, last update: 12-Oct-2008</I></CENTER>
104 <BR><BR>
105 </TD>
106 <TD WIDTH="15%">&#160;<BR></TD>
107 </TR>
108 </TABLE>
109 </TD>
110 </TR>
111 <TR>
112 <TD CLASS="menu" WIDTH="100%">&#160;<BR>
113 </TD>
114 </TR>
115 </TABLE>
116 </BODY>
117 </HTML>