File: pronto2lirc.html

package info (click to toggle)
lirc 0.9.0~pre1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,844 kB
  • sloc: ansic: 44,120; sh: 11,159; makefile: 430; python: 108; perl: 106
file content (117 lines) | stat: -rw-r--r-- 4,372 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!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%">&#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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->


    <hr>
    <h1 align="center">Converting CCF files and Pronto codes to lircd.conf using pronto2lirc</h1>
    <!-- Usage +++++++++++++++++++++++++++++++++++++++++++ -->
    
    <hr>
    
    <p>
      <em>pronto2lirc</em> is a command line program which converts Pronto hex codes
      directly from a text file or from a CCF file (via CCFTools).
      It outputs a complete lircd.conf which contains all the codes extracted.
    </p>	
    <p>To use the program you must have python installed and give it an input file with codes:
    <pre>&gt; pronto2lirc inputfile</pre>
    If <em>inputfile</em> is not given a generic usage information for <em>printo2lirc</em> will be shown.
  </p>

    
    <hr width="70%">
    <br>
    <h1 align="center">Prerequisites for usage</h1>
    <ol>
      <li>Installed python. See <a href="http://www.python.org">www.python.org
	</a> for details.</li>
      <li>Optional: If you want to use CCF files as source for codes, you need to have 
	<a href="http://ccftools.free.fr/">CCFTools </a>installed. Please note
	that CCFTools is only available for Windows.</li>
    </ol>
    
    <hr width="70%">
    <br>
    <h1 align="center">Converting Pronto codes directly</h1>
    <ol>
      <li>Create a text file containing all the sequences you wish to be included in <em>lircd.conf</em>.
	Each sequence should be on a single line. The name of the sequence is separated 
	from the codes with a colon :<br>A sample pronto code file looks like this:
	<pre>DVDON:0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 .... 0016  0e7d
DVDOFF:0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 .... 0014  0e7d</pre>
	Please note that for the reason of limited width of this documentation
	the codes have been cut short. In reality the codes are usually 
	very long.<br><p><b>Warning:</b> Do not split a single code sequences between different rows! 
	<p></li>
      <li>Run <em>pronto2lirc</em> as described above giving the text file as input.</li>
    </ol>
    <hr width="70%">
    
    <h1 align="center">Converting CCF files</h1>
    <ol>
      <li>Run <em>CCFDecompiler</em> (from CCFTools)</li>
      <li>Select desired CCF as input file.</li>
      <li>Make sure that <em>XML Format</em> radiobutton is selected.</li>
      <li>Press Decompile.</li>
      <li>Run the <em>pronto2lirc</em> as described above giving the XML file
	created in step 4 as input.</li>
    </ol>
    <hr width="70%">      
    <h1>Limitations</h1> 
    <ol>
      <li><em>pronto2lirc</em> currently supports recorded pronto codes i.e. 
	the ones that start with <em>0000</em>.</li>
      <li><em>pronto2lirc</em> picks up only RAWCODES which are listed under DEVICE hierarchy.</li>
    </ol>
    
    <hr width="70%">

<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

		<BR><BR>
		<CENTER>[<A HREF="http://www.lirc.org/">LIRC homepage</A>]<BR>
		  <I>The LIRC Manual, last update: 24-May-2009</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>