1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
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">
12 <BODY BACKGROUND=
"../images/marb18.jpg"
13 BGCOLOR=
"#FFFFFF" TEXT=
"#000000" ALINK=
"#8080FF">
14 <TABLE WIDTH=
"100%" BORDER=
"0" CELLSPACING=
"0" CELLPADDING=
"0">
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">
26 <TD WIDTH=
"100%"> <BR>
27 <TABLE WIDTH=
"100%" BORDER=
"0" CELLSPACING=
"0" CELLPADDING=
"0">
29 <TD WIDTH=
"15%"> <BR></TD>
30 <TD WIDTH=
"70%" ALIGN=
"LEFT" VALIGN=
"TOP"> <BR>
32 <!-- Text ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
36 <h1 align=
"center">Converting CCF files and Pronto codes to lircd.conf using pronto2lirc
</h1>
37 <!-- Usage +++++++++++++++++++++++++++++++++++++++++++ -->
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.
46 <p>To use the program you must have python installed and give it an input file with codes:
47 <pre>> printo2lirc inputfile
</pre>
48 If
<em>inputfile
</em> is not given a generic usage information for
<em>printo2lirc
</em> will be shown.
54 <h1 align=
"center">Prerequisites for usage
</h1>
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>
65 <h1 align=
"center">Converting Pronto codes directly
</h1>
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!
76 <li>Run
<em>pronto2lirc
</em> as described above giving the text file as input.
</li>
80 <h1 align=
"center">Converting CCF files
</h1>
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>
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>
99 <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
102 <CENTER>[
<A HREF=
"http://www.lirc.org/">LIRC homepage
</A>]
<BR>
103 <I>The LIRC Manual, last update:
12-Oct-
2008</I></CENTER>
106 <TD WIDTH=
"15%"> <BR></TD>
112 <TD CLASS=
"menu" WIDTH=
"100%"> <BR>